root / TXM / trunk / org.txm.analec.rcp / plugin.xml @ 3497
Historique | Voir | Annoter | Télécharger (20,06 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 |
<menuContribution
|
7 |
locationURI="menu:org.eclipse.ui.main.menu?after=menu.tools"> |
8 |
<menu
|
9 |
id="menu.urs" |
10 |
label="%menu.label" |
11 |
mnemonic="%menu.mnemonic"> |
12 |
<command
|
13 |
commandId="org.txm.annotation.urs.commands.SaveCorpus" |
14 |
style="push"> |
15 |
<visibleWhen
|
16 |
checkEnabled="false"> |
17 |
<reference
|
18 |
definitionId="OneCorpusSelected"> |
19 |
</reference>
|
20 |
</visibleWhen>
|
21 |
</command>
|
22 |
<command
|
23 |
commandId="org.txm.annotation.urs.commands.RestoreAnnotations" |
24 |
style="push"> |
25 |
<visibleWhen
|
26 |
checkEnabled="false"> |
27 |
<reference
|
28 |
definitionId="OneCorpusSelected"> |
29 |
</reference>
|
30 |
</visibleWhen>
|
31 |
</command>
|
32 |
<menu
|
33 |
id="menu.urs.tools" |
34 |
label="%menu.label.1"> |
35 |
<menu
|
36 |
label="%menu.label.2"> |
37 |
<dynamic
|
38 |
class="org.txm.annotation.urs.commands.URSToolsMenuContribution" |
39 |
id="edit"> |
40 |
</dynamic>
|
41 |
</menu>
|
42 |
<menu
|
43 |
label="%menu.label.3"> |
44 |
<dynamic
|
45 |
class="org.txm.annotation.urs.commands.URSToolsMenuContribution" |
46 |
id="check"> |
47 |
</dynamic>
|
48 |
</menu>
|
49 |
<menu
|
50 |
label="%menu.label.4"> |
51 |
<dynamic
|
52 |
class="org.txm.annotation.urs.commands.URSToolsMenuContribution" |
53 |
id="exploit"> |
54 |
</dynamic>
|
55 |
</menu>
|
56 |
<menu
|
57 |
label="%menu.label.5"> |
58 |
<dynamic
|
59 |
class="org.txm.annotation.urs.commands.URSToolsMenuContribution" |
60 |
id="export"> |
61 |
</dynamic>
|
62 |
</menu>
|
63 |
<command
|
64 |
commandId="org.txm.annotation.urs.commands.OpenDemocratTools" |
65 |
style="push"> |
66 |
</command>
|
67 |
</menu>
|
68 |
<command
|
69 |
commandId="org.txm.annotation.urs.commands.EditAnnotationStructure" |
70 |
style="push"> |
71 |
<visibleWhen
|
72 |
checkEnabled="false"> |
73 |
<reference
|
74 |
definitionId="OneCorpusSelected"> |
75 |
</reference>
|
76 |
</visibleWhen>
|
77 |
</command>
|
78 |
<command
|
79 |
commandId="org.txm.annotation.urs.commands.EditVue" |
80 |
style="push"> |
81 |
<visibleWhen
|
82 |
checkEnabled="false"> |
83 |
<reference
|
84 |
definitionId="OneCorpusSelected"> |
85 |
</reference>
|
86 |
</visibleWhen>
|
87 |
</command>
|
88 |
<separator
|
89 |
name="URSRCP.separator1" |
90 |
visible="true"> |
91 |
</separator>
|
92 |
<command
|
93 |
commandId="org.txm.annotation.urs.commands.LoadStructureFromGlozz" |
94 |
style="push"> |
95 |
<visibleWhen
|
96 |
checkEnabled="false"> |
97 |
<reference
|
98 |
definitionId="OneCorpusSelected"> |
99 |
</reference>
|
100 |
</visibleWhen>
|
101 |
</command>
|
102 |
</menu>
|
103 |
</menuContribution>
|
104 |
<menuContribution
|
105 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.annotation"> |
106 |
<menu
|
107 |
id="corpora.menu.urs" |
108 |
label="%menu.label.0" |
109 |
mnemonic="%menu.mnemonic.0"> |
110 |
<command
|
111 |
commandId="org.txm.annotation.urs.commands.SaveCorpus" |
112 |
style="push"> |
113 |
<visibleWhen
|
114 |
checkEnabled="false"> |
115 |
<reference
|
116 |
definitionId="CorpusNeedtoSaveURSAnnotation"> |
117 |
</reference>
|
118 |
</visibleWhen>
|
119 |
</command>
|
120 |
<menu
|
121 |
id="menu.urs.tools" |
122 |
label="%menu.label.1"> |
123 |
<menu
|
124 |
label="%menu.label.2"> |
125 |
<dynamic
|
126 |
class="org.txm.annotation.urs.commands.URSToolsMenuContribution" |
127 |
id="edit"> |
128 |
</dynamic>
|
129 |
</menu>
|
130 |
<menu
|
131 |
label="%menu.label.3"> |
132 |
<dynamic
|
133 |
class="org.txm.annotation.urs.commands.URSToolsMenuContribution" |
134 |
id="check"> |
135 |
</dynamic>
|
136 |
</menu>
|
137 |
<menu
|
138 |
label="%menu.label.4"> |
139 |
<dynamic
|
140 |
class="org.txm.annotation.urs.commands.URSToolsMenuContribution" |
141 |
id="exploit"> |
142 |
</dynamic>
|
143 |
</menu>
|
144 |
<menu
|
145 |
label="%menu.label.5"> |
146 |
<dynamic
|
147 |
class="org.txm.annotation.urs.commands.URSToolsMenuContribution" |
148 |
id="export"> |
149 |
</dynamic>
|
150 |
</menu>
|
151 |
<command
|
152 |
commandId="org.txm.annotation.urs.commands.OpenDemocratTools" |
153 |
style="push"> |
154 |
</command>
|
155 |
</menu>
|
156 |
<command
|
157 |
commandId="org.txm.annotation.urs.commands.EditAnnotationStructure" |
158 |
style="push"> |
159 |
<visibleWhen
|
160 |
checkEnabled="false"> |
161 |
<reference
|
162 |
definitionId="OneCorpusSelected"> |
163 |
</reference>
|
164 |
</visibleWhen>
|
165 |
</command>
|
166 |
<command
|
167 |
commandId="org.txm.annotation.urs.commands.EditVue" |
168 |
style="push"> |
169 |
<visibleWhen
|
170 |
checkEnabled="false"> |
171 |
<reference
|
172 |
definitionId="OneCorpusSelected"> |
173 |
</reference>
|
174 |
</visibleWhen>
|
175 |
</command>
|
176 |
<separator
|
177 |
name="URSRCP.separator1" |
178 |
visible="true"> |
179 |
</separator>
|
180 |
<command
|
181 |
commandId="org.txm.annotation.urs.commands.LoadStructureFromGlozz" |
182 |
style="push"> |
183 |
<visibleWhen
|
184 |
checkEnabled="false"> |
185 |
<reference
|
186 |
definitionId="OneCorpusSelected"> |
187 |
</reference>
|
188 |
</visibleWhen>
|
189 |
</command>
|
190 |
<command
|
191 |
commandId="org.txm.annotation.urs.commands.ImportTEIAnnotations" |
192 |
style="push"> |
193 |
<visibleWhen
|
194 |
checkEnabled="false"> |
195 |
<reference
|
196 |
definitionId="OneCorpusSelected"> |
197 |
</reference>
|
198 |
</visibleWhen>
|
199 |
</command>
|
200 |
<menu
|
201 |
label="%menu.label.6"> |
202 |
<command
|
203 |
commandId="org.txm.annotation.urs.commands.ExportTEICorpus" |
204 |
label="%command.label.0" |
205 |
style="push"> |
206 |
</command>
|
207 |
<command
|
208 |
commandId="org.txm.annotation.urs.commands.ExportGlozzCorpus" |
209 |
label="%command.label.1" |
210 |
style="push"> |
211 |
</command>
|
212 |
</menu>
|
213 |
</menu>
|
214 |
</menuContribution>
|
215 |
<menuContribution
|
216 |
locationURI="menu:menu.file.export.annotations"> |
217 |
<command
|
218 |
commandId="org.txm.annotation.urs.commands.ExportTEICorpus" |
219 |
label="%command.label.0" |
220 |
style="push"> |
221 |
<visibleWhen
|
222 |
checkEnabled="false"> |
223 |
<reference
|
224 |
definitionId="OneMainCorpusSelected"> |
225 |
</reference>
|
226 |
</visibleWhen>
|
227 |
</command>
|
228 |
<command
|
229 |
commandId="org.txm.annotation.urs.commands.ExportGlozzCorpus" |
230 |
label="%command.label.1" |
231 |
style="push"> |
232 |
<visibleWhen
|
233 |
checkEnabled="false"> |
234 |
<reference
|
235 |
definitionId="OneMainCorpusSelected"> |
236 |
</reference>
|
237 |
</visibleWhen>
|
238 |
</command>
|
239 |
</menuContribution>
|
240 |
<menuContribution
|
241 |
locationURI="menu:menu.file.import?before=menu.file.import.separator.software"> |
242 |
<command
|
243 |
commandId="org.txm.annotation.urs.commands.ImportGlozzCorpus" |
244 |
style="push"> |
245 |
</command>
|
246 |
<command
|
247 |
commandId="org.txm.annotation.urs.commands.ImportTEICorpus" |
248 |
label="%command.label.2" |
249 |
style="push"> |
250 |
</command>
|
251 |
</menuContribution>
|
252 |
<menuContribution
|
253 |
locationURI="menu:menu.help.plugins"> |
254 |
<command
|
255 |
commandId="org.txm.rcp.commands.OpenBrowser" |
256 |
label="%command.label.3" |
257 |
style="push"> |
258 |
<parameter
|
259 |
name="org.txm.rcp.commands.commandParameter2" |
260 |
value="https://groupes.renater.fr/wiki/txm-users/public/extensions_beta#urs"> |
261 |
</parameter>
|
262 |
</command>
|
263 |
</menuContribution>
|
264 |
<menuContribution
|
265 |
allPopups="false" |
266 |
locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.annotation"> |
267 |
<command
|
268 |
commandId="org.txm.annotation.urs.commands.SaveCorpus" |
269 |
icon="platform:/plugin/org.txm.annotation.rcp/icons/functions/pencil_save.png" |
270 |
label="URS" |
271 |
mode="FORCE_TEXT" |
272 |
style="push" |
273 |
tooltip="URS"> |
274 |
<visibleWhen
|
275 |
checkEnabled="false"> |
276 |
<reference
|
277 |
definitionId="CorpusNeedtoSaveURSAnnotation"> |
278 |
</reference>
|
279 |
</visibleWhen>
|
280 |
</command>
|
281 |
</menuContribution>
|
282 |
<menuContribution
|
283 |
locationURI="menu:menu.file.import.annotations"> |
284 |
<command
|
285 |
commandId="org.txm.annotation.urs.commands.ImportTEIAnnotations" |
286 |
style="push"> |
287 |
<visibleWhen
|
288 |
checkEnabled="false"> |
289 |
<reference
|
290 |
definitionId="OneCorpusSelected"> |
291 |
</reference>
|
292 |
</visibleWhen>
|
293 |
</command>
|
294 |
</menuContribution>
|
295 |
</extension>
|
296 |
<extension
|
297 |
point="org.eclipse.ui.commands"> |
298 |
<command
|
299 |
categoryId="org.txm.rcp.category.txm" |
300 |
defaultHandler="org.txm.annotation.urs.commands.LoadStructure" |
301 |
id="org.txm.annotation.urs.commands.LoadStructure" |
302 |
name="%command.name"> |
303 |
</command>
|
304 |
<command
|
305 |
categoryId="org.txm.rcp.category.txm" |
306 |
defaultHandler="org.txm.annotation.urs.commands.EditStructure" |
307 |
id="org.txm.annotation.urs.commands.EditAnnotationStructure" |
308 |
name="%command.name.0"> |
309 |
</command>
|
310 |
<command
|
311 |
categoryId="org.txm.rcp.category.txm" |
312 |
defaultHandler="org.txm.annotation.urs.commands.SaveStructure" |
313 |
id="org.txm.annotation.urs.commands.SaveStructure" |
314 |
name="%command.name.1"> |
315 |
</command>
|
316 |
<command
|
317 |
categoryId="org.txm.rcp.category.txm" |
318 |
defaultHandler="org.txm.annotation.urs.commands.LoadStructureFromGlozz" |
319 |
id="org.txm.annotation.urs.commands.LoadStructureFromGlozz" |
320 |
name="%command.name.2"> |
321 |
</command>
|
322 |
<command
|
323 |
categoryId="org.txm.rcp.category.txm" |
324 |
defaultHandler="org.txm.annotation.urs.commands.LoadCorpus" |
325 |
id="org.txm.annotation.urs.commands.LoadCorpus" |
326 |
name="%command.name.3"> |
327 |
</command>
|
328 |
<command
|
329 |
categoryId="org.txm.rcp.category.txm" |
330 |
defaultHandler="org.txm.annotation.urs.commands.SaveCorpus" |
331 |
id="org.txm.annotation.urs.commands.SaveCorpus" |
332 |
name="%command.name.4"> |
333 |
</command>
|
334 |
<command
|
335 |
categoryId="org.txm.rcp.category.txm" |
336 |
defaultHandler="org.txm.annotation.urs.commands.RestoreAnnotations" |
337 |
id="org.txm.annotation.urs.commands.RestoreAnnotations" |
338 |
name="%command.name.17"> |
339 |
</command>
|
340 |
<command
|
341 |
categoryId="org.txm.rcp.category.txm" |
342 |
defaultHandler="org.txm.annotation.urs.commands.LoadVue" |
343 |
id="org.txm.annotation.urs.commands.LoadVue" |
344 |
name="%command.name.5"> |
345 |
</command>
|
346 |
<command
|
347 |
categoryId="org.txm.rcp.category.txm" |
348 |
defaultHandler="org.txm.annotation.urs.commands.SaveVue" |
349 |
id="org.txm.annotation.urs.commands.SaveVue" |
350 |
name="%command.name.6"> |
351 |
</command>
|
352 |
<command
|
353 |
categoryId="org.txm.rcp.category.txm" |
354 |
defaultHandler="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel" |
355 |
id="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel" |
356 |
name="%command.name.7"> |
357 |
</command>
|
358 |
<command
|
359 |
categoryId="org.txm.rcp.category.txm" |
360 |
defaultHandler="org.txm.annotation.urs.commands.ImportGlozzCorpus" |
361 |
id="org.txm.annotation.urs.commands.ImportGlozzCorpus" |
362 |
name="%command.name.8"> |
363 |
</command>
|
364 |
<command
|
365 |
categoryId="org.txm.rcp.category.txm" |
366 |
defaultHandler="org.txm.annotation.urs.commands.ImportGlozzAnnotations" |
367 |
id="org.txm.annotation.urs.commands.ImportGlozzAnnotations" |
368 |
name="%command.name.9"> |
369 |
</command>
|
370 |
<command
|
371 |
defaultHandler="org.txm.annotation.urs.commands.DoInstallStep" |
372 |
id="org.txm.annotation.urs.commands.DoInstallStep" |
373 |
name="%command.name.10"> |
374 |
</command>
|
375 |
<command
|
376 |
categoryId="org.txm.rcp.category.txm" |
377 |
defaultHandler="org.txm.annotation.urs.commands.ExportGlozzCorpus" |
378 |
id="org.txm.annotation.urs.commands.ExportGlozzCorpus" |
379 |
name="%command.name.12"> |
380 |
</command>
|
381 |
<command
|
382 |
categoryId="org.txm.rcp.category.txm" |
383 |
defaultHandler="org.txm.annotation.urs.commands.ExportTEICorpus" |
384 |
id="org.txm.annotation.urs.commands.ExportTEICorpus" |
385 |
name="%command.name.13"> |
386 |
</command>
|
387 |
<command
|
388 |
categoryId="org.txm.rcp.category.txm" |
389 |
defaultHandler="org.txm.annotation.urs.commands.ImportTEICorpus" |
390 |
id="org.txm.annotation.urs.commands.ImportTEICorpus" |
391 |
name="%command.name.14"> |
392 |
</command>
|
393 |
<command
|
394 |
categoryId="org.txm.rcp.category.txm" |
395 |
defaultHandler="org.txm.annotation.urs.commands.ImportTEIAnnotations" |
396 |
id="org.txm.annotation.urs.commands.ImportTEIAnnotations" |
397 |
name="%command.name.11"> |
398 |
</command>
|
399 |
<command
|
400 |
categoryId="org.txm.rcp.category.txm" |
401 |
defaultHandler="org.txm.annotation.urs.commands.EditVue" |
402 |
id="org.txm.annotation.urs.commands.EditVue" |
403 |
name="%command.name.16"> |
404 |
</command>
|
405 |
<command
|
406 |
categoryId="org.txm.rcp.category.txm" |
407 |
defaultHandler="org.txm.annotation.urs.commands.OpenDemocratTools" |
408 |
id="org.txm.annotation.urs.commands.OpenDemocratTools" |
409 |
name="%command.name.18"> |
410 |
</command>
|
411 |
</extension>
|
412 |
<extension
|
413 |
point="org.eclipse.ui.views"> |
414 |
<view
|
415 |
allowMultiple="false" |
416 |
category="org.txm.rcp" |
417 |
class="org.txm.annotation.urs.view.ElementPropertiesView" |
418 |
icon="icons/pencil.png" |
419 |
id="org.txm.annotation.urs.view.ElementPropertiesView" |
420 |
name="%view.name" |
421 |
restorable="true"> |
422 |
</view>
|
423 |
<view
|
424 |
allowMultiple="false" |
425 |
category="org.txm.rcp" |
426 |
class="org.txm.annotation.urs.view.ElementSearchView" |
427 |
icon="platform:/plugin/org.txm.rcp/icons/functions/Search.png" |
428 |
id="org.txm.annotation.urs.view.ElementSearchView" |
429 |
name="%view.name.0" |
430 |
restorable="true"> |
431 |
</view>
|
432 |
</extension>
|
433 |
<extension
|
434 |
point="org.txm.rcp.extentionpoint.command"> |
435 |
<installcommand
|
436 |
class="org.txm.annotation.urs.commands.DoInstallStep"></installcommand> |
437 |
</extension>
|
438 |
<extension
|
439 |
point="org.eclipse.core.expressions.definitions"> |
440 |
<definition
|
441 |
id="CanAnnotateWithURS"> |
442 |
<test
|
443 |
forcePluginActivation="true" |
444 |
property="org.txm.annotation.urs.testers.canAnnotate"> |
445 |
</test>
|
446 |
</definition>
|
447 |
<definition
|
448 |
id="CorpusNeedtoSaveURSAnnotation"> |
449 |
<and>
|
450 |
<reference
|
451 |
definitionId="OneMainCorpusSelected"> |
452 |
</reference>
|
453 |
<test
|
454 |
forcePluginActivation="true" |
455 |
property="org.txm.annotation.urs.rcp.testers.IsURSCorpusDirty"> |
456 |
</test>
|
457 |
</and>
|
458 |
</definition>
|
459 |
</extension>
|
460 |
<extension
|
461 |
point="org.eclipse.core.expressions.propertyTesters"> |
462 |
<propertyTester
|
463 |
class="org.txm.annotation.urs.testers.IsCorpusAnnotated" |
464 |
id="org.txm.annotation.urs.testers.IsCorpusAnnotated" |
465 |
namespace="org.txm.annotation.urs.testers" |
466 |
properties="canAnnotate" |
467 |
type="java.lang.Object"> |
468 |
</propertyTester>
|
469 |
</extension>
|
470 |
<extension
|
471 |
point="org.eclipse.ui.preferencePages"> |
472 |
<page
|
473 |
category="org.txm.annotation.rcp.preferences.AnnotationPreferencePage" |
474 |
class="org.txm.annotation.urs.preferences.URSPreferencePage" |
475 |
id="org.txm.annotation.urs.preferences.URSPreferencePage" |
476 |
name="%page.name.0"> |
477 |
</page>
|
478 |
<page
|
479 |
category="org.txm.searchengine.rcp.preferences.SearchEnginePreferencesPage" |
480 |
class="org.txm.annotation.urs.preferences.URSSearchPreferencePage" |
481 |
id="org.txm.annotation.urs.preferences.URSSearchPreferencePage" |
482 |
name="%page.name.1"> |
483 |
</page>
|
484 |
</extension>
|
485 |
<extension
|
486 |
point="org.txm.annotation.rcp.editor.AnnotationArea"> |
487 |
<annotationtoolbar
|
488 |
class="org.txm.annotation.urs.toolbar.UnitToolbar" |
489 |
position="1"> |
490 |
</annotationtoolbar>
|
491 |
<annotationtoolbar
|
492 |
class="org.txm.annotation.urs.toolbar.SchemaToolbar" |
493 |
position="2"> |
494 |
</annotationtoolbar>
|
495 |
<annotationtoolbar
|
496 |
class="org.txm.annotation.urs.toolbar.UnitConcordanceToolbar" |
497 |
position="4"> |
498 |
</annotationtoolbar>
|
499 |
</extension>
|
500 |
<extension
|
501 |
point="org.txm.PostTXMHOMEInstallationStep"> |
502 |
<PostTXMHOMEInstallationStep
|
503 |
class="org.txm.annotation.urs.InstallURSFiles" |
504 |
description="%PostTXMHOMEInstallationStep.description" |
505 |
name="URS macro"> |
506 |
</PostTXMHOMEInstallationStep>
|
507 |
</extension>
|
508 |
<extension
|
509 |
point="org.txm.annotation.core.AnnotationEngine"> |
510 |
<AnnotationEngine
|
511 |
class="org.txm.annotation.urs.URSCorpora" |
512 |
description="URS annotations"> |
513 |
</AnnotationEngine>
|
514 |
</extension>
|
515 |
<extension
|
516 |
point="org.txm.searchengine.core.SearchEngine"> |
517 |
<SearchEngine
|
518 |
class="org.txm.annotation.urs.search.URSSearchEngine"> |
519 |
</SearchEngine>
|
520 |
</extension>
|
521 |
<extension
|
522 |
point="org.eclipse.core.runtime.preferences"> |
523 |
<initializer
|
524 |
class="org.txm.annotation.urs.preferences.URSPreferences"> |
525 |
</initializer>
|
526 |
</extension>
|
527 |
<extension
|
528 |
point="org.eclipse.core.expressions.propertyTesters"> |
529 |
<propertyTester
|
530 |
class="org.txm.annotation.urs.rcp.testers.IsURSCorpusDirty" |
531 |
id="org.txm.annotation.urs.rcp.testers.IsURSCorpusDirty" |
532 |
namespace="org.txm.annotation.urs.rcp.testers" |
533 |
properties="IsURSCorpusDirty" |
534 |
type="java.lang.Object"> |
535 |
</propertyTester>
|
536 |
</extension>
|
537 |
|
538 |
</plugin>
|