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