Statistiques
| Révision :

root / TXM / trunk / org.txm.analec.rcp / plugin.xml @ 3424

Historique | Voir | Annoter | Télécharger (18,48 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="OneCorpusSelected">
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
   </extension>
275
   <extension
276
         point="org.eclipse.ui.commands">
277
      <command
278
            categoryId="org.txm.rcp.category.txm"
279
            defaultHandler="org.txm.annotation.urs.commands.LoadStructure"
280
            id="org.txm.annotation.urs.commands.LoadStructure"
281
            name="%command.name">
282
      </command>
283
      <command
284
            categoryId="org.txm.rcp.category.txm"
285
            defaultHandler="org.txm.annotation.urs.commands.EditStructure"
286
            id="org.txm.annotation.urs.commands.EditAnnotationStructure"
287
            name="%command.name.0">
288
      </command>
289
      <command
290
            categoryId="org.txm.rcp.category.txm"
291
            defaultHandler="org.txm.annotation.urs.commands.SaveStructure"
292
            id="org.txm.annotation.urs.commands.SaveStructure"
293
            name="%command.name.1">
294
      </command>
295
      <command
296
            categoryId="org.txm.rcp.category.txm"
297
            defaultHandler="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
298
            id="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
299
            name="%command.name.2">
300
      </command>
301
      <command
302
            categoryId="org.txm.rcp.category.txm"
303
            defaultHandler="org.txm.annotation.urs.commands.LoadCorpus"
304
            id="org.txm.annotation.urs.commands.LoadCorpus"
305
            name="%command.name.3">
306
      </command>
307
      <command
308
            categoryId="org.txm.rcp.category.txm"
309
            defaultHandler="org.txm.annotation.urs.commands.SaveCorpus"
310
            id="org.txm.annotation.urs.commands.SaveCorpus"
311
            name="%command.name.4">
312
      </command>
313
      <command
314
            categoryId="org.txm.rcp.category.txm"
315
            defaultHandler="org.txm.annotation.urs.commands.RestoreAnnotations"
316
            id="org.txm.annotation.urs.commands.RestoreAnnotations"
317
            name="%command.name.17">
318
      </command>
319
      <command
320
            categoryId="org.txm.rcp.category.txm"
321
            defaultHandler="org.txm.annotation.urs.commands.LoadVue"
322
            id="org.txm.annotation.urs.commands.LoadVue"
323
            name="%command.name.5">
324
      </command>
325
      <command
326
            categoryId="org.txm.rcp.category.txm"
327
            defaultHandler="org.txm.annotation.urs.commands.SaveVue"
328
            id="org.txm.annotation.urs.commands.SaveVue"
329
            name="%command.name.6">
330
      </command>
331
      <command
332
            categoryId="org.txm.rcp.category.txm"
333
            defaultHandler="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel"
334
            id="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel"
335
            name="%command.name.7">
336
      </command>
337
      <command
338
            categoryId="org.txm.rcp.category.txm"
339
            defaultHandler="org.txm.annotation.urs.commands.ImportGlozzCorpus"
340
            id="org.txm.annotation.urs.commands.ImportGlozzCorpus"
341
            name="%command.name.8">
342
      </command>
343
      <command
344
            categoryId="org.txm.rcp.category.txm"
345
            defaultHandler="org.txm.annotation.urs.commands.ImportGlozzAnnotations"
346
            id="org.txm.annotation.urs.commands.ImportGlozzAnnotations"
347
            name="%command.name.9">
348
      </command>
349
      <command
350
            defaultHandler="org.txm.annotation.urs.commands.DoInstallStep"
351
            id="org.txm.annotation.urs.commands.DoInstallStep"
352
            name="%command.name.10">
353
      </command>
354
      <command
355
            categoryId="org.txm.rcp.category.txm"
356
            defaultHandler="org.txm.annotation.urs.commands.ExportGlozzCorpus"
357
            id="org.txm.annotation.urs.commands.ExportGlozzCorpus"
358
            name="%command.name.12">
359
      </command>
360
      <command
361
            categoryId="org.txm.rcp.category.txm"
362
            defaultHandler="org.txm.annotation.urs.commands.ExportTEICorpus"
363
            id="org.txm.annotation.urs.commands.ExportTEICorpus"
364
            name="%command.name.13">
365
      </command>
366
      <command
367
            categoryId="org.txm.rcp.category.txm"
368
            defaultHandler="org.txm.annotation.urs.commands.ImportTEICorpus"
369
            id="org.txm.annotation.urs.commands.ImportTEICorpus"
370
            name="%command.name.14">
371
      </command>
372
      <command
373
            categoryId="org.txm.rcp.category.txm"
374
            defaultHandler="org.txm.annotation.urs.commands.ImportTEIAnnotations"
375
            id="org.txm.annotation.urs.commands.ImportTEIAnnotations"
376
            name="%command.name.11">
377
      </command>
378
      <command
379
            categoryId="org.txm.rcp.category.txm"
380
            defaultHandler="org.txm.annotation.urs.commands.EditVue"
381
            id="org.txm.annotation.urs.commands.EditVue"
382
            name="%command.name.16">
383
      </command>
384
      <command
385
            categoryId="org.txm.rcp.category.txm"
386
            defaultHandler="org.txm.annotation.urs.commands.OpenDemocratTools"
387
            id="org.txm.annotation.urs.commands.OpenDemocratTools"
388
            name="%command.name.18">
389
      </command>
390
   </extension>
391
   <extension
392
         point="org.eclipse.ui.views">
393
      <view
394
            allowMultiple="false"
395
            category="org.txm.rcp"
396
            class="org.txm.annotation.urs.view.ElementPropertiesView"
397
            icon="icons/pencil.png"
398
            id="org.txm.annotation.urs.view.ElementPropertiesView"
399
            name="%view.name"
400
            restorable="true">
401
      </view>
402
      <view
403
            allowMultiple="false"
404
            category="org.txm.rcp"
405
            class="org.txm.annotation.urs.view.ElementSearchView"
406
            icon="platform:/plugin/org.txm.rcp/icons/functions/Search.png"
407
            id="org.txm.annotation.urs.view.ElementSearchView"
408
            name="%view.name.0"
409
            restorable="true">
410
      </view>
411
   </extension>
412
   <extension
413
         point="org.txm.rcp.extentionpoint.command">
414
      <installcommand
415
            class="org.txm.annotation.urs.commands.DoInstallStep"></installcommand>
416
   </extension>
417
   <extension
418
         point="org.eclipse.core.expressions.definitions">
419
      <definition
420
            id="CanAnnotateWithURS">
421
         <test
422
               forcePluginActivation="true"
423
               property="org.txm.annotation.urs.testers.canAnnotate">
424
         </test>
425
      </definition>
426
   </extension>
427
   <extension
428
         point="org.eclipse.core.expressions.propertyTesters">
429
      <propertyTester
430
            class="org.txm.annotation.urs.testers.IsCorpusAnnotated"
431
            id="org.txm.annotation.urs.testers.IsCorpusAnnotated"
432
            namespace="org.txm.annotation.urs.testers"
433
            properties="canAnnotate"
434
            type="java.lang.Object">
435
      </propertyTester>
436
   </extension>
437
   <extension
438
         point="org.eclipse.ui.preferencePages">
439
      <page
440
            category="org.txm.annotation.rcp.preferences.AnnotationPreferencePage"
441
            class="org.txm.annotation.urs.preferences.URSPreferencePage"
442
            id="org.txm.annotation.urs.preferences.URSPreferencePage"
443
            name="%page.name.0">
444
      </page>
445
      <page
446
            category="org.txm.searchengine.rcp.preferences.SearchEnginePreferencesPage"
447
            class="org.txm.annotation.urs.preferences.URSSearchPreferencePage"
448
            id="org.txm.annotation.urs.preferences.URSSearchPreferencePage"
449
            name="%page.name.1">
450
      </page>
451
   </extension>
452
   <extension
453
         point="org.txm.annotation.rcp.editor.AnnotationArea">
454
      <annotationtoolbar
455
            class="org.txm.annotation.urs.toolbar.UnitToolbar"
456
            position="1">
457
      </annotationtoolbar>
458
      <annotationtoolbar
459
            class="org.txm.annotation.urs.toolbar.SchemaToolbar"
460
            position="2">
461
      </annotationtoolbar>
462
      <annotationtoolbar
463
            class="org.txm.annotation.urs.toolbar.UnitConcordanceToolbar"
464
            position="4">
465
      </annotationtoolbar>
466
   </extension>
467
   <extension
468
         point="org.txm.PostTXMHOMEInstallationStep">
469
      <PostTXMHOMEInstallationStep
470
            class="org.txm.annotation.urs.InstallURSFiles"
471
            description="%PostTXMHOMEInstallationStep.description"
472
            name="URS macro">
473
      </PostTXMHOMEInstallationStep>
474
   </extension>
475
   <extension
476
         point="org.txm.annotation.core.AnnotationEngine">
477
      <AnnotationEngine
478
            class="org.txm.annotation.urs.URSCorpora"
479
            description="URS annotations">
480
      </AnnotationEngine>
481
   </extension>
482
   <extension
483
         point="org.txm.searchengine.core.SearchEngine">
484
      <SearchEngine
485
            class="org.txm.annotation.urs.search.URSSearchEngine">
486
      </SearchEngine>
487
   </extension>
488
   <extension
489
         point="org.eclipse.core.runtime.preferences">
490
      <initializer
491
            class="org.txm.annotation.urs.preferences.URSPreferences">
492
      </initializer>
493
   </extension>
494

    
495
</plugin>