root / TXM / trunk / org.txm.searchengine.cqp.rcp / plugin.xml @ 3424
Historique | Voir | Annoter | Télécharger (16,63 ko)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension
|
5 |
point="org.eclipse.ui.commands"> |
6 |
<command
|
7 |
categoryId="org.eclipse.ui.category.navigate" |
8 |
defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio" |
9 |
id="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio" |
10 |
name="%command.name.63"> |
11 |
</command>
|
12 |
<command
|
13 |
defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus" |
14 |
id="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus" |
15 |
name="%command.name.52"> |
16 |
</command>
|
17 |
<command
|
18 |
defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.ComputePartition" |
19 |
id="org.txm.searchengine.cqp.rcp.handlers.base.ComputePartition" |
20 |
name="%command.name.2"> |
21 |
<commandParameter
|
22 |
id="CorpusParameter" |
23 |
name="%commandParameter.name.0" |
24 |
optional="true"> |
25 |
</commandParameter>
|
26 |
</command>
|
27 |
<command
|
28 |
defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.ComputeSubCorpus" |
29 |
id="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus" |
30 |
name="%command.name"> |
31 |
<commandParameter
|
32 |
id="CorpusParameter" |
33 |
name="%commandParameter.name.0" |
34 |
optional="true"> |
35 |
</commandParameter>
|
36 |
<commandParameter
|
37 |
id="edit" |
38 |
name="%commandParameter.name" |
39 |
optional="true"> |
40 |
</commandParameter>
|
41 |
</command>
|
42 |
<command
|
43 |
defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.Substraction" |
44 |
id="org.txm.searchengine.cqp.rcp.handlers.base.Substraction" |
45 |
name="%command.name.0"> |
46 |
</command>
|
47 |
<command
|
48 |
defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.Union" |
49 |
id="org.txm.searchengine.cqp.rcp.handlers.base.Union" |
50 |
name="%command.name.1"> |
51 |
</command>
|
52 |
<command
|
53 |
defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.Intersection" |
54 |
id="org.txm.searchengine.cqp.rcp.handlers.base.Intersection" |
55 |
name="%command.name.3"> |
56 |
</command>
|
57 |
</extension>
|
58 |
<extension
|
59 |
point="org.eclipse.ui.preferencePages"> |
60 |
<page
|
61 |
category="org.txm.searchengine.rcp.preferences.SearchEnginePreferencesPage" |
62 |
class="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage" |
63 |
id="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage" |
64 |
name="%page.name"> |
65 |
</page>
|
66 |
<page
|
67 |
category="org.txm.rcp.preferences.UserPreferencePage" |
68 |
class="org.txm.searchengine.cqp.rcp.preferences.SubcorpusPreferencePage" |
69 |
id="org.txm.searchengine.cqp.rcp.preferences.SubcorpusPreferencePage" |
70 |
name="%page.name.0"> |
71 |
</page>
|
72 |
</extension>
|
73 |
<extension
|
74 |
point="org.eclipse.ui.menus"> |
75 |
<menuContribution
|
76 |
locationURI="popup:org.txm.rcp.views.BasesView"> |
77 |
<command
|
78 |
commandId="org.txm.rcp.commands.workspace.AddProject" |
79 |
label="%command.label.36" |
80 |
style="push"> |
81 |
<visibleWhen
|
82 |
checkEnabled="false"> |
83 |
<reference
|
84 |
definitionId="OneProjectSelected"> |
85 |
</reference>
|
86 |
</visibleWhen>
|
87 |
</command>
|
88 |
<separator
|
89 |
name="org.txm.rcp.separator1"> |
90 |
</separator>
|
91 |
<command
|
92 |
commandId="org.txm.rcp.commands.base.DeleteObject" |
93 |
icon="icons/functions/delete.png" |
94 |
style="push" |
95 |
tooltip="%command.tooltip.33"> |
96 |
<visibleWhen
|
97 |
checkEnabled="false"> |
98 |
<or>
|
99 |
<reference
|
100 |
definitionId="OnePartitionSelected"> |
101 |
</reference>
|
102 |
<reference
|
103 |
definitionId="OneSubCorpusSelected"> |
104 |
</reference>
|
105 |
<reference
|
106 |
definitionId="OneBaseSelected"> |
107 |
</reference>
|
108 |
<reference
|
109 |
definitionId="OneIndexSelected"> |
110 |
</reference>
|
111 |
<reference
|
112 |
definitionId="OneLexiconSelected"> |
113 |
</reference>
|
114 |
<reference
|
115 |
definitionId="OneConcordanceSelected"> |
116 |
</reference>
|
117 |
<reference
|
118 |
definitionId="OneCASelected"> |
119 |
</reference>
|
120 |
<reference
|
121 |
definitionId="OneSpecificitiesResultSelected"> |
122 |
</reference>
|
123 |
<reference
|
124 |
definitionId="OneMainCorpusSelected"> |
125 |
</reference>
|
126 |
</or>
|
127 |
</visibleWhen>
|
128 |
</command>
|
129 |
<command
|
130 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio" |
131 |
icon="icons/functions/biblio.png" |
132 |
label="%command.label.148" |
133 |
style="push" |
134 |
tooltip="%command.tooltip.91"> |
135 |
<visibleWhen
|
136 |
checkEnabled="false"> |
137 |
<or>
|
138 |
<reference
|
139 |
definitionId="OneBaseSelected"> |
140 |
</reference>
|
141 |
<reference
|
142 |
definitionId="OneTextSelected"> |
143 |
</reference>
|
144 |
</or>
|
145 |
</visibleWhen>
|
146 |
</command>
|
147 |
</menuContribution>
|
148 |
<menuContribution
|
149 |
locationURI="popup:org.txm.rcp.corporaview.export"> |
150 |
<command
|
151 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus" |
152 |
icon="icons/functions/compress.png" |
153 |
label="%command.name.52" |
154 |
style="push"> |
155 |
<visibleWhen
|
156 |
checkEnabled="false"> |
157 |
<reference
|
158 |
definitionId="OneMainCorpusSelected"> |
159 |
</reference>
|
160 |
</visibleWhen>
|
161 |
</command>
|
162 |
</menuContribution>
|
163 |
<menuContribution
|
164 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.manage"> |
165 |
<command
|
166 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus" |
167 |
icon="icons/functions/subcorpus.png" |
168 |
style="push"> |
169 |
<visibleWhen
|
170 |
checkEnabled="false"> |
171 |
<reference
|
172 |
definitionId="OneCorpusSelected"> |
173 |
</reference>
|
174 |
</visibleWhen>
|
175 |
</command>
|
176 |
<command
|
177 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.ComputePartition" |
178 |
icon="icons/functions/partition.png" |
179 |
style="push"> |
180 |
<visibleWhen
|
181 |
checkEnabled="false"> |
182 |
<or>
|
183 |
<reference
|
184 |
definitionId="OneCorpusSelected"> |
185 |
</reference>
|
186 |
</or>
|
187 |
</visibleWhen>
|
188 |
</command>
|
189 |
<command
|
190 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Substraction" |
191 |
label="%command.label" |
192 |
style="push" |
193 |
tooltip="%command.tooltip"> |
194 |
<visibleWhen
|
195 |
checkEnabled="false"> |
196 |
<reference
|
197 |
definitionId="OneSubCorpusSelected"> |
198 |
</reference>
|
199 |
</visibleWhen>
|
200 |
</command>
|
201 |
<command
|
202 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Union" |
203 |
label="%command.label.0" |
204 |
style="push"> |
205 |
<visibleWhen
|
206 |
checkEnabled="false"> |
207 |
<reference
|
208 |
definitionId="OneSubCorpusSelected"> |
209 |
</reference>
|
210 |
</visibleWhen>
|
211 |
</command>
|
212 |
<command
|
213 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Intersection" |
214 |
label="%command.label.1" |
215 |
style="push"> |
216 |
<visibleWhen
|
217 |
checkEnabled="false"> |
218 |
<reference
|
219 |
definitionId="OneSubCorpusSelected"> |
220 |
</reference>
|
221 |
</visibleWhen>
|
222 |
</command>
|
223 |
</menuContribution>
|
224 |
<menuContribution
|
225 |
locationURI="menu:menu.file.export.corpus"> |
226 |
<command
|
227 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus" |
228 |
icon="icons/functions/compress.png" |
229 |
label="%command.name.52" |
230 |
style="push"> |
231 |
<visibleWhen
|
232 |
checkEnabled="false"> |
233 |
<reference
|
234 |
definitionId="OneMainCorpusSelected"> |
235 |
</reference>
|
236 |
</visibleWhen>
|
237 |
</command>
|
238 |
</menuContribution>
|
239 |
<menuContribution
|
240 |
locationURI="menu:menu.corpus?after=menu.corpus.build"> |
241 |
<command
|
242 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus" |
243 |
icon="icons/functions/subcorpus.png" |
244 |
style="push"> |
245 |
<visibleWhen
|
246 |
checkEnabled="false"> |
247 |
<reference
|
248 |
definitionId="OneCorpusSelected"> |
249 |
</reference>
|
250 |
</visibleWhen>
|
251 |
</command>
|
252 |
<command
|
253 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.ComputePartition" |
254 |
icon="icons/functions/partition.png" |
255 |
style="push"> |
256 |
<visibleWhen
|
257 |
checkEnabled="false"> |
258 |
<reference
|
259 |
definitionId="OneCorpusSelected"> |
260 |
</reference>
|
261 |
</visibleWhen>
|
262 |
</command>
|
263 |
<command
|
264 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Substraction" |
265 |
label="%command.label.2" |
266 |
style="push" |
267 |
tooltip="%command.tooltip.0"> |
268 |
<visibleWhen
|
269 |
checkEnabled="false"> |
270 |
<reference
|
271 |
definitionId="OneSubCorpusSelected"> |
272 |
</reference>
|
273 |
</visibleWhen>
|
274 |
</command>
|
275 |
<command
|
276 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Union" |
277 |
label="%command.label.3" |
278 |
style="push"> |
279 |
<visibleWhen
|
280 |
checkEnabled="false"> |
281 |
<reference
|
282 |
definitionId="OneSubCorpusSelected"> |
283 |
</reference>
|
284 |
</visibleWhen>
|
285 |
</command>
|
286 |
<command
|
287 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Intersection" |
288 |
label="%command.label.4" |
289 |
style="push"> |
290 |
<visibleWhen
|
291 |
checkEnabled="false"> |
292 |
<reference
|
293 |
definitionId="OneSubCorpusSelected"> |
294 |
</reference>
|
295 |
</visibleWhen>
|
296 |
</command>
|
297 |
</menuContribution>
|
298 |
<menuContribution
|
299 |
allPopups="true" |
300 |
locationURI="toolbar:org.txm.rcp.toolbarfile"> |
301 |
<command
|
302 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus" |
303 |
icon="icons/functions/compress.png" |
304 |
label="%command.name.52" |
305 |
style="push"> |
306 |
<visibleWhen
|
307 |
checkEnabled="false"> |
308 |
<reference
|
309 |
definitionId="OneMainCorpusSelected"> |
310 |
</reference>
|
311 |
</visibleWhen>
|
312 |
</command>
|
313 |
</menuContribution>
|
314 |
<menuContribution
|
315 |
locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.corpus"> |
316 |
<command
|
317 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus" |
318 |
icon="icons/functions/subcorpus.png" |
319 |
style="push"> |
320 |
<visibleWhen
|
321 |
checkEnabled="false"> |
322 |
<reference
|
323 |
definitionId="OneCorpusSelected"> |
324 |
</reference>
|
325 |
</visibleWhen>
|
326 |
</command>
|
327 |
<command
|
328 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.ComputePartition" |
329 |
icon="icons/functions/partition.png" |
330 |
style="push"> |
331 |
<visibleWhen
|
332 |
checkEnabled="false"> |
333 |
<reference
|
334 |
definitionId="OneCorpusSelected"> |
335 |
</reference>
|
336 |
</visibleWhen>
|
337 |
</command>
|
338 |
<command
|
339 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Substraction" |
340 |
label="%command.label.5" |
341 |
style="push" |
342 |
tooltip="%command.tooltip.1"> |
343 |
<visibleWhen
|
344 |
checkEnabled="false"> |
345 |
<reference
|
346 |
definitionId="OneSubCorpusSelected"> |
347 |
</reference>
|
348 |
</visibleWhen>
|
349 |
</command>
|
350 |
<command
|
351 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Union" |
352 |
label="%command.label.6" |
353 |
style="push"> |
354 |
<visibleWhen
|
355 |
checkEnabled="false"> |
356 |
<reference
|
357 |
definitionId="OneSubCorpusSelected"> |
358 |
</reference>
|
359 |
</visibleWhen>
|
360 |
</command>
|
361 |
<command
|
362 |
commandId="org.txm.searchengine.cqp.rcp.handlers.base.Intersection" |
363 |
label="%command.label.7" |
364 |
style="push"> |
365 |
<visibleWhen
|
366 |
checkEnabled="false"> |
367 |
<reference
|
368 |
definitionId="OneSubCorpusSelected"> |
369 |
</reference>
|
370 |
</visibleWhen>
|
371 |
</command>
|
372 |
</menuContribution>
|
373 |
</extension>
|
374 |
<extension
|
375 |
point="org.eclipse.core.runtime.adapters"> |
376 |
<factory
|
377 |
adaptableType="org.txm.searchengine.cqp.corpus.CQPCorpus" |
378 |
class="org.txm.searchengine.cqp.rcp.adapters.CorpusAdapterFactory"> |
379 |
<adapter
|
380 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
381 |
</adapter>
|
382 |
</factory>
|
383 |
</extension>
|
384 |
<extension
|
385 |
point="org.eclipse.core.expressions.definitions"> |
386 |
<definition
|
387 |
id="OneMainCorpusSelected"> |
388 |
<with
|
389 |
variable="corporaSelection"> |
390 |
<iterate
|
391 |
ifEmpty="false" |
392 |
operator="and"> |
393 |
<instanceof
|
394 |
value="org.txm.searchengine.cqp.corpus.MainCorpus"> |
395 |
</instanceof>
|
396 |
</iterate>
|
397 |
<count
|
398 |
value="1"> |
399 |
</count>
|
400 |
</with>
|
401 |
</definition>
|
402 |
<definition
|
403 |
id="OneSubCorpusSelected"> |
404 |
<with
|
405 |
variable="corporaSelection"> |
406 |
<iterate
|
407 |
operator="and"> |
408 |
<instanceof
|
409 |
value="org.txm.searchengine.cqp.corpus.Subcorpus"> |
410 |
</instanceof>
|
411 |
</iterate>
|
412 |
<count
|
413 |
value="1"> |
414 |
</count>
|
415 |
</with>
|
416 |
</definition>
|
417 |
<definition
|
418 |
id="OneCorpusSelected"> |
419 |
<with
|
420 |
variable="corporaSelection"> |
421 |
<iterate
|
422 |
ifEmpty="false" |
423 |
operator="and"> |
424 |
<instanceof
|
425 |
value="org.txm.searchengine.cqp.corpus.CQPCorpus"> |
426 |
</instanceof>
|
427 |
</iterate>
|
428 |
<count
|
429 |
value="1"> |
430 |
</count>
|
431 |
</with>
|
432 |
</definition>
|
433 |
</extension>
|
434 |
<extension
|
435 |
point="org.eclipse.ui.editors"> |
436 |
<editor
|
437 |
class="org.txm.searchengine.cqp.rcp.editor.SubcorpusEditor" |
438 |
default="false" |
439 |
icon="icons/functions/subcorpus.png" |
440 |
id="org.txm.searchengine.cqp.rcp.editor.SubcorpusEditor" |
441 |
name="%editor.name"> |
442 |
</editor>
|
443 |
<editor
|
444 |
class="org.txm.searchengine.cqp.rcp.editor.PartitionEditor" |
445 |
default="false" |
446 |
icon="icons/functions/partition.png" |
447 |
id="org.txm.searchengine.cqp.rcp.editor.PartitionEditor" |
448 |
name="%editor.name.0"> |
449 |
</editor>
|
450 |
</extension>
|
451 |
|
452 |
</plugin>
|