root / tmp / org.txm.index.rcp / plugin.xml @ 3136
Historique | Voir | Annoter | Télécharger (14,31 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 |
tooltip="%command.tooltip"> |
106 |
<visibleWhen
|
107 |
checkEnabled="false"> |
108 |
<or>
|
109 |
<reference
|
110 |
definitionId="OneCorpusSelected"> |
111 |
</reference>
|
112 |
</or>
|
113 |
</visibleWhen>
|
114 |
</command>
|
115 |
</menuContribution>
|
116 |
<menuContribution
|
117 |
allPopups="false" |
118 |
locationURI="toolbar:org.txm.rcp.toolbartools?after=ComputeLexicalTableFromPartition"> |
119 |
<command
|
120 |
commandId="org.txm.index.rcp.handlers.ComputePartitionIndex" |
121 |
icon="icons/partitionindex.png" |
122 |
style="push"> |
123 |
<visibleWhen
|
124 |
checkEnabled="false"> |
125 |
<or>
|
126 |
<reference
|
127 |
definitionId="OnePartitionSelected"> |
128 |
</reference>
|
129 |
</or>
|
130 |
</visibleWhen>
|
131 |
</command>
|
132 |
</menuContribution>
|
133 |
<menuContribution
|
134 |
locationURI="popup:org.txm.index.rcp.editors.LexiconEditor"> |
135 |
<command
|
136 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
137 |
icon="icons/index.png" |
138 |
label="%command.name.2" |
139 |
style="push"> |
140 |
</command>
|
141 |
</menuContribution>
|
142 |
<menuContribution
|
143 |
locationURI="popup:org.txm.internalview.rcp.editors.InternalViewEditor"> |
144 |
<command
|
145 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
146 |
icon="icons/index.png" |
147 |
label="%command.name.2" |
148 |
style="push"> |
149 |
</command>
|
150 |
</menuContribution>
|
151 |
<menuContribution
|
152 |
locationURI="popup:ChartEditorContextMenuItemArea.ItemMenu"> |
153 |
<command
|
154 |
commandId="org.txm.index.rcp.handlers.ComputeIndex" |
155 |
icon="icons/index.png" |
156 |
label="%command.name.2" |
157 |
style="push"> |
158 |
<visibleWhen
|
159 |
checkEnabled="false"> |
160 |
<reference
|
161 |
definitionId="ProgressionEditorActive"> |
162 |
</reference>
|
163 |
</visibleWhen>
|
164 |
</command>
|
165 |
</menuContribution>
|
166 |
|
167 |
</extension>
|
168 |
<extension
|
169 |
point="org.eclipse.ui.editors"> |
170 |
<editor
|
171 |
class="org.txm.index.rcp.editors.IndexEditor" |
172 |
default="false" |
173 |
icon="icons/index.png" |
174 |
id="org.txm.index.rcp.editors.IndexEditor" |
175 |
name="%editor.name"> |
176 |
</editor>
|
177 |
<editor
|
178 |
class="org.txm.index.rcp.editors.LexiconEditor" |
179 |
default="false" |
180 |
icon="icons/lexicon.png" |
181 |
id="org.txm.index.rcp.editors.LexiconEditor" |
182 |
name="%editor.name.0"> |
183 |
</editor>
|
184 |
<editor
|
185 |
class="org.txm.index.rcp.editors.PartitionIndexEditor" |
186 |
default="false" |
187 |
icon="icons/partitionindex.png" |
188 |
id="org.txm.index.rcp.editors.PartitionIndexEditor" |
189 |
name="PartitionIndex"> |
190 |
</editor>
|
191 |
</extension>
|
192 |
<extension
|
193 |
point="org.eclipse.core.runtime.adapters"> |
194 |
<factory
|
195 |
adaptableType="org.txm.index.core.functions.Index" |
196 |
class="org.txm.index.rcp.adapters.IndexAdapterFactory"> |
197 |
<adapter
|
198 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
199 |
</adapter>
|
200 |
<adapter
|
201 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
202 |
</adapter>
|
203 |
</factory>
|
204 |
<factory
|
205 |
adaptableType="org.txm.index.core.functions.Lexicon" |
206 |
class="org.txm.index.rcp.adapters.LexiconAdapterFactory"> |
207 |
<adapter
|
208 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
209 |
</adapter>
|
210 |
<adapter
|
211 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
212 |
</adapter>
|
213 |
</factory>
|
214 |
<factory
|
215 |
adaptableType="org.txm.index.core.functions.PartitionIndex" |
216 |
class="org.txm.index.rcp.adapters.PartitionIndexAdapterFactory"> |
217 |
<adapter
|
218 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
219 |
</adapter>
|
220 |
<adapter
|
221 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
222 |
</adapter>
|
223 |
</factory>
|
224 |
</extension>
|
225 |
<extension
|
226 |
point="org.eclipse.ui.commands"> |
227 |
|
228 |
<command
|
229 |
categoryId="org.txm.rcp.category.txm" |
230 |
defaultHandler="org.txm.index.rcp.handlers.ComputeIndex" |
231 |
id="org.txm.index.rcp.handlers.ComputeIndex" |
232 |
name="%command.name" |
233 |
returnTypeId="org.txm.index.core.functions.Index"> |
234 |
</command>
|
235 |
<command
|
236 |
categoryId="org.txm.rcp.category.txm" |
237 |
defaultHandler="org.txm.index.rcp.handlers.ComputeLexicon" |
238 |
id="org.txm.index.rcp.handlers.ComputeLexicon" |
239 |
name="%command.name.0" |
240 |
returnTypeId="org.txm.index.core.functions.Lexicon"> |
241 |
</command>
|
242 |
|
243 |
<command
|
244 |
defaultHandler="org.txm.synopticedition.rcp.commands.link.IndexToLexicalTable" |
245 |
id="org.txm.synopticedition.rcp.commands.link.IndexToLexicalTable" |
246 |
name="%command.name.43"> |
247 |
</command>
|
248 |
<command
|
249 |
categoryId="org.txm.rcp.category.txm" |
250 |
defaultHandler="org.txm.index.rcp.handlers.ComputePartitionIndex" |
251 |
id="org.txm.index.rcp.handlers.ComputePartitionIndex" |
252 |
name="%command.name" |
253 |
returnTypeId="org.txm.index.core.functions.PartitionIndex"> |
254 |
</command>
|
255 |
|
256 |
|
257 |
</extension>
|
258 |
<extension
|
259 |
point="org.eclipse.core.expressions.definitions"> |
260 |
<definition
|
261 |
id="OneIndexSelected"> |
262 |
<with
|
263 |
variable="selection"> |
264 |
<iterate
|
265 |
ifEmpty="false" |
266 |
operator="and"> |
267 |
<instanceof
|
268 |
value="org.txm.index.core.functions.Index"> |
269 |
</instanceof>
|
270 |
</iterate>
|
271 |
</with>
|
272 |
</definition>
|
273 |
<definition
|
274 |
id="OneLexiconSelected"> |
275 |
<with
|
276 |
variable="selection"> |
277 |
<iterate
|
278 |
ifEmpty="false" |
279 |
operator="and"> |
280 |
<instanceof
|
281 |
value="org.txm.index.core.functions.Lexicon"> |
282 |
</instanceof>
|
283 |
</iterate>
|
284 |
</with>
|
285 |
</definition>
|
286 |
<definition
|
287 |
id="IndexEditorActive"> |
288 |
<with
|
289 |
variable="activePart"> |
290 |
<instanceof
|
291 |
value="org.txm.index.rcp.editors.IndexEditor"> |
292 |
</instanceof>
|
293 |
</with>
|
294 |
</definition>
|
295 |
<definition
|
296 |
id="LexiconEditorActive"> |
297 |
<with
|
298 |
variable="activePart"> |
299 |
<instanceof
|
300 |
value="org.txm.index.rcp.editors.LexiconEditor"> |
301 |
</instanceof>
|
302 |
</with>
|
303 |
</definition>
|
304 |
<definition
|
305 |
id="PartitionIndexEditorActive"> |
306 |
<with
|
307 |
variable="activePart"> |
308 |
<instanceof
|
309 |
value="org.txm.index.rcp.editors.PartitionIndexEditor"> |
310 |
</instanceof>
|
311 |
</with>
|
312 |
</definition>
|
313 |
<definition
|
314 |
id="OnePartitionIndexSelected"> |
315 |
<with
|
316 |
variable="selection"> |
317 |
<iterate
|
318 |
ifEmpty="false" |
319 |
operator="and"> |
320 |
<instanceof
|
321 |
value="org.txm.index.core.functions.PartitionIndex"> |
322 |
</instanceof>
|
323 |
</iterate>
|
324 |
</with>
|
325 |
</definition>
|
326 |
</extension>
|
327 |
<extension
|
328 |
point="org.txm.statengine.r.rcp.sendtor"> |
329 |
<sendtorcommand></sendtorcommand> |
330 |
</extension>
|
331 |
<extension
|
332 |
point="org.eclipse.ui.preferencePages"> |
333 |
<page
|
334 |
category="org.txm.rcp.preferences.UserPreferencePage" |
335 |
class="org.txm.index.rcp.preferences.IndexPreferencesPage" |
336 |
id="org.txm.index.rcp.preferences.IndexPreferencesPage" |
337 |
name="%page.name"> |
338 |
</page>
|
339 |
</extension>
|
340 |
<extension
|
341 |
point="org.eclipse.ui.handlers"> |
342 |
<handler
|
343 |
class="org.txm.index.rcp.handlers.SendIndexTo" |
344 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression"> |
345 |
<activeWhen>
|
346 |
<and>
|
347 |
<or>
|
348 |
<reference
|
349 |
definitionId="IndexEditorActive"> |
350 |
</reference>
|
351 |
<reference
|
352 |
definitionId="LexiconEditorActive"> |
353 |
</reference>
|
354 |
<reference
|
355 |
definitionId="PartitionIndexEditorActive"> |
356 |
</reference>
|
357 |
|
358 |
</or>
|
359 |
<reference
|
360 |
definitionId="SendSelectionContextNotActive"> |
361 |
</reference>
|
362 |
</and>
|
363 |
</activeWhen>
|
364 |
</handler>
|
365 |
<handler
|
366 |
class="org.txm.index.rcp.handlers.SendIndexTo" |
367 |
commandId="org.txm.concordance.rcp.handlers.ComputeConcordance"> |
368 |
<activeWhen>
|
369 |
<and>
|
370 |
<or>
|
371 |
<reference
|
372 |
definitionId="IndexEditorActive"> |
373 |
</reference>
|
374 |
<reference
|
375 |
definitionId="LexiconEditorActive"> |
376 |
</reference>
|
377 |
<reference
|
378 |
definitionId="PartitionIndexEditorActive"> |
379 |
</reference>
|
380 |
</or>
|
381 |
|
382 |
|
383 |
<reference
|
384 |
definitionId="SendSelectionContextNotActive"> |
385 |
</reference>
|
386 |
|
387 |
</and>
|
388 |
</activeWhen>
|
389 |
</handler>
|
390 |
<handler
|
391 |
class="org.txm.index.rcp.handlers.SendIndexTo" |
392 |
commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"> |
393 |
<activeWhen>
|
394 |
<and>
|
395 |
<or>
|
396 |
<reference
|
397 |
definitionId="IndexEditorActive"> |
398 |
</reference>
|
399 |
<reference
|
400 |
definitionId="LexiconEditorActive"> |
401 |
</reference>
|
402 |
<reference
|
403 |
definitionId="PartitionIndexEditorActive"> |
404 |
</reference>
|
405 |
</or>
|
406 |
<reference
|
407 |
definitionId="SendSelectionContextNotActive"> |
408 |
</reference>
|
409 |
</and>
|
410 |
</activeWhen>
|
411 |
</handler>
|
412 |
<handler
|
413 |
class="org.txm.index.rcp.handlers.SendIndexTo" |
414 |
commandId="org.txm.index.rcp.handlers.ComputeIndex"> |
415 |
<activeWhen>
|
416 |
<and>
|
417 |
<reference
|
418 |
definitionId="LexiconEditorActive"> |
419 |
</reference>
|
420 |
<reference
|
421 |
definitionId="SendSelectionContextNotActive"> |
422 |
</reference>
|
423 |
</and>
|
424 |
</activeWhen>
|
425 |
</handler>
|
426 |
</extension>
|
427 |
|
428 |
</plugin>
|