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