root / tmp / org.txm.tigersearch.rcp / plugin.xml @ 708
History | View | Annotate | Download (7.6 kB)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
|
5 |
<extension
|
6 |
point="org.eclipse.ui.commands"> |
7 |
<category
|
8 |
description="TIGERSearch commands" |
9 |
id="TIGERSearch4TXM.commands.category" |
10 |
name="TIGERSearch"> |
11 |
</category>
|
12 |
<command
|
13 |
categoryId="TIGERSearch4TXM.commands.category" |
14 |
defaultHandler="org.txm.tigersearch.commands.ComputeTIGERSearch" |
15 |
id="org.txm.tigersearch.commands.ComputeTIGERSearch" |
16 |
name="OpenTIGERSearch"> |
17 |
</command>
|
18 |
<command
|
19 |
categoryId="TIGERSearch4TXM.commands.category" |
20 |
defaultHandler="org.txm.tigersearch.commands.ComputeTSIndex" |
21 |
id="org.txm.tigersearch.commands.ComputeTSIndex" |
22 |
name="ComputeTSIndex"> |
23 |
</command>
|
24 |
<command
|
25 |
categoryId="TIGERSearch4TXM.commands.category" |
26 |
defaultHandler="org.txm.tigersearch.commands.ComputeRecette1" |
27 |
id="org.txm.tigersearch.commands.ComputeRecette1" |
28 |
name="ComputeRecette1"> |
29 |
</command>
|
30 |
<command
|
31 |
categoryId="TIGERSearch4TXM.commands.category" |
32 |
defaultHandler="org.txm.tigersearch.commands.ComputeRecette2" |
33 |
id="org.txm.tigersearch.commands.ComputeRecette2" |
34 |
name="ComputeRecette2"> |
35 |
</command>
|
36 |
</extension>
|
37 |
<extension
|
38 |
point="org.eclipse.ui.menus"> |
39 |
<menuContribution
|
40 |
locationURI="menu:menu.tools?after=menu.tools.separator.misc"> |
41 |
<command
|
42 |
commandId="org.txm.tigersearch.commands.ComputeTIGERSearch" |
43 |
icon="icons/functions/TS.png" |
44 |
label="TIGERSearch" |
45 |
style="push"> |
46 |
<visibleWhen
|
47 |
checkEnabled="false"> |
48 |
<or>
|
49 |
<reference
|
50 |
definitionId="OneCorpusSelected"> |
51 |
</reference>
|
52 |
</or>
|
53 |
</visibleWhen>
|
54 |
</command>
|
55 |
<command
|
56 |
commandId="org.txm.tigersearch.commands.ComputeTSIndex" |
57 |
icon="icons/functions/TSIndex.png" |
58 |
label="TS Index" |
59 |
style="push"> |
60 |
<visibleWhen
|
61 |
checkEnabled="false"> |
62 |
<or>
|
63 |
<reference
|
64 |
definitionId="OneCorpusSelected"> |
65 |
</reference>
|
66 |
<reference
|
67 |
definitionId="OnePartitionSelected"> |
68 |
</reference>
|
69 |
</or>
|
70 |
</visibleWhen>
|
71 |
</command>
|
72 |
</menuContribution>
|
73 |
<menuContribution
|
74 |
locationURI="menu:menu.help.plugins"> |
75 |
<command
|
76 |
commandId="org.txm.rcp.commands.OpenBrowser" |
77 |
label="TIGERSearch" |
78 |
style="push"> |
79 |
<parameter
|
80 |
name="org.txm.rcp.commands.commandParameter2" |
81 |
value="https://groupes.renater.fr/wiki/txm-users/public/extensions#tigersearch"> |
82 |
</parameter>
|
83 |
</command>
|
84 |
</menuContribution>
|
85 |
<menuContribution
|
86 |
locationURI="menu:menu.recettes"> |
87 |
<command
|
88 |
commandId="org.txm.tigersearch.commands.ComputeRecette1" |
89 |
icon="icons/functions/TSIndex.png" |
90 |
label="TS Index Recette 1" |
91 |
style="push"> |
92 |
<visibleWhen
|
93 |
checkEnabled="false"> |
94 |
<or>
|
95 |
<reference
|
96 |
definitionId="OneCorpusSelected"> |
97 |
</reference>
|
98 |
</or>
|
99 |
</visibleWhen>
|
100 |
</command>
|
101 |
<command
|
102 |
commandId="org.txm.tigersearch.commands.ComputeRecette2" |
103 |
icon="icons/functions/TSIndex.png" |
104 |
label="TS Index Recette 2" |
105 |
style="push"> |
106 |
<visibleWhen
|
107 |
checkEnabled="false"> |
108 |
<and>
|
109 |
<count
|
110 |
value="2"> |
111 |
</count>
|
112 |
<iterate>
|
113 |
<instanceof
|
114 |
value="org.txm.searchengine.cqp.corpus.Corpus"> |
115 |
</instanceof>
|
116 |
</iterate>
|
117 |
</and>
|
118 |
</visibleWhen>
|
119 |
</command>
|
120 |
</menuContribution>
|
121 |
<menuContribution
|
122 |
allPopups="false" |
123 |
locationURI="popup:org.txm.rcp.views.CorporaView"> |
124 |
<command
|
125 |
commandId="org.txm.tigersearch.commands.ComputeTIGERSearch" |
126 |
icon="icons/functions/TS.png" |
127 |
label="TIGERSearch" |
128 |
style="push"> |
129 |
<visibleWhen
|
130 |
checkEnabled="false"> |
131 |
<or>
|
132 |
<reference
|
133 |
definitionId="OneCorpusSelected"> |
134 |
</reference>
|
135 |
</or>
|
136 |
</visibleWhen>
|
137 |
</command>
|
138 |
<command
|
139 |
commandId="org.txm.tigersearch.commands.ComputeTSIndex" |
140 |
icon="icons/functions/TSIndex.png" |
141 |
label="TS Index" |
142 |
style="push"> |
143 |
<visibleWhen
|
144 |
checkEnabled="false"> |
145 |
<or>
|
146 |
<reference
|
147 |
definitionId="OneCorpusSelected"> |
148 |
</reference>
|
149 |
<reference
|
150 |
definitionId="OnePartitionSelected"> |
151 |
</reference>
|
152 |
</or>
|
153 |
</visibleWhen>
|
154 |
</command>
|
155 |
</menuContribution>
|
156 |
<menuContribution
|
157 |
allPopups="false" |
158 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
159 |
<command
|
160 |
commandId="org.txm.tigersearch.commands.ComputeTIGERSearch" |
161 |
icon="icons/functions/TS.png" |
162 |
label="TIGERSearch" |
163 |
style="push"> |
164 |
<visibleWhen
|
165 |
checkEnabled="false"> |
166 |
<or>
|
167 |
<reference
|
168 |
definitionId="OneCorpusSelected"> |
169 |
</reference>
|
170 |
</or>
|
171 |
</visibleWhen>
|
172 |
</command>
|
173 |
<command
|
174 |
commandId="org.txm.tigersearch.commands.ComputeTSIndex" |
175 |
icon="icons/functions/TSIndex.png" |
176 |
label="TS Index" |
177 |
style="push"> |
178 |
<visibleWhen
|
179 |
checkEnabled="false"> |
180 |
<or>
|
181 |
<reference
|
182 |
definitionId="OneCorpusSelected"> |
183 |
</reference>
|
184 |
<reference
|
185 |
definitionId="OnePartitionSelected"> |
186 |
</reference>
|
187 |
</or>
|
188 |
</visibleWhen>
|
189 |
</command>
|
190 |
</menuContribution>
|
191 |
<menuContribution
|
192 |
locationURI="menu:menu.file.import"> |
193 |
<command
|
194 |
commandId="org.txm.rcp.commands.ExecuteScriptImport" |
195 |
icon="icons/functions/TS.png" |
196 |
label="XML-TS" |
197 |
style="push"> |
198 |
<parameter
|
199 |
name="org.txm.rcp.commands.importscript" |
200 |
value="tigersearchLoader.groovy"> |
201 |
</parameter>
|
202 |
</command>
|
203 |
</menuContribution>
|
204 |
</extension>
|
205 |
<extension
|
206 |
point="org.eclipse.ui.editors"> |
207 |
<editor
|
208 |
class="org.txm.tigersearch.editors.TIGERSearchEditor" |
209 |
default="false" |
210 |
icon="icons/functions/TS.png" |
211 |
id="org.txm.tigersearch.editors.TIGERSearchEditor" |
212 |
name="TIGERSearch"> |
213 |
</editor>
|
214 |
<editor
|
215 |
class="org.txm.tigersearch.editors.TSIndexEditor" |
216 |
default="false" |
217 |
icon="icons/functions/TSIndex.png" |
218 |
id="org.txm.tigersearch.editors.TSIndexEditor" |
219 |
name="TSIndex"> |
220 |
</editor>
|
221 |
</extension>
|
222 |
|
223 |
</plugin>
|