Statistiques
| Révision :

root / TXM / main / org.txm.analec.rcp / plugin.xml @ 3280

Historique | Voir | Annoter | Télécharger (17,83 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
            <menu
23
                  id="menu.urs.tools"
24
                  label="%menu.label.1">
25
               <menu
26
                     label="%menu.label.2">
27
                  <dynamic
28
                        class="org.txm.annotation.urs.commands.URSToolsMenuContribution"
29
                        id="edit">
30
                  </dynamic>
31
               </menu>
32
               <menu
33
                     label="%menu.label.3">
34
                  <dynamic
35
                        class="org.txm.annotation.urs.commands.URSToolsMenuContribution"
36
                        id="check">
37
                  </dynamic>
38
               </menu>
39
               <menu
40
                     label="%menu.label.4">
41
                  <dynamic
42
                        class="org.txm.annotation.urs.commands.URSToolsMenuContribution"
43
                        id="exploit">
44
                  </dynamic>
45
               </menu>
46
               <menu
47
                     label="%menu.label.5">
48
                  <dynamic
49
                        class="org.txm.annotation.urs.commands.URSToolsMenuContribution"
50
                        id="export">
51
                  </dynamic>
52
               </menu>
53
               <command
54
                     commandId="org.txm.annotation.urs.commands.OpenDemocratTools"
55
                     style="push">
56
               </command>
57
            </menu>
58
            <command
59
                  commandId="org.txm.annotation.urs.commands.EditAnnotationStructure"
60
                  style="push">
61
               <visibleWhen
62
                     checkEnabled="false">
63
                  <reference
64
                        definitionId="OneCorpusSelected">
65
                  </reference>
66
               </visibleWhen>
67
            </command>
68
            <command
69
                  commandId="org.txm.annotation.urs.commands.EditVue"
70
                  style="push">
71
               <visibleWhen
72
                     checkEnabled="false">
73
                  <reference
74
                        definitionId="OneCorpusSelected">
75
                  </reference>
76
               </visibleWhen>
77
            </command>
78
            <separator
79
                  name="URSRCP.separator1"
80
                  visible="true">
81
            </separator>
82
            <command
83
                  commandId="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
84
                  style="push">
85
               <visibleWhen
86
                     checkEnabled="false">
87
                  <reference
88
                        definitionId="OneCorpusSelected">
89
                  </reference>
90
               </visibleWhen>
91
            </command>
92
            <command
93
                  commandId="org.txm.annotation.urs.commands.ImportTEIAnnotations"
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="OneCorpusSelected">
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="Export">
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
   </extension>
265
   <extension
266
         point="org.eclipse.ui.commands">
267
      <command
268
            categoryId="org.txm.rcp.category.txm"
269
            defaultHandler="org.txm.annotation.urs.commands.LoadStructure"
270
            id="org.txm.annotation.urs.commands.LoadStructure"
271
            name="%command.name">
272
      </command>
273
      <command
274
            categoryId="org.txm.rcp.category.txm"
275
            defaultHandler="org.txm.annotation.urs.commands.EditStructure"
276
            id="org.txm.annotation.urs.commands.EditAnnotationStructure"
277
            name="%command.name.0">
278
      </command>
279
      <command
280
            categoryId="org.txm.rcp.category.txm"
281
            defaultHandler="org.txm.annotation.urs.commands.SaveStructure"
282
            id="org.txm.annotation.urs.commands.SaveStructure"
283
            name="%command.name.1">
284
      </command>
285
      <command
286
            categoryId="org.txm.rcp.category.txm"
287
            defaultHandler="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
288
            id="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
289
            name="%command.name.2">
290
      </command>
291
      <command
292
            categoryId="org.txm.rcp.category.txm"
293
            defaultHandler="org.txm.annotation.urs.commands.LoadCorpus"
294
            id="org.txm.annotation.urs.commands.LoadCorpus"
295
            name="%command.name.3">
296
      </command>
297
      <command
298
            categoryId="org.txm.rcp.category.txm"
299
            defaultHandler="org.txm.annotation.urs.commands.SaveCorpus"
300
            id="org.txm.annotation.urs.commands.SaveCorpus"
301
            name="%command.name.4">
302
      </command>
303
      <command
304
            categoryId="org.txm.rcp.category.txm"
305
            defaultHandler="org.txm.annotation.urs.commands.LoadVue"
306
            id="org.txm.annotation.urs.commands.LoadVue"
307
            name="%command.name.5">
308
      </command>
309
      <command
310
            categoryId="org.txm.rcp.category.txm"
311
            defaultHandler="org.txm.annotation.urs.commands.SaveVue"
312
            id="org.txm.annotation.urs.commands.SaveVue"
313
            name="%command.name.6">
314
      </command>
315
      <command
316
            categoryId="org.txm.rcp.category.txm"
317
            defaultHandler="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel"
318
            id="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel"
319
            name="%command.name.7">
320
      </command>
321
      <command
322
            categoryId="org.txm.rcp.category.txm"
323
            defaultHandler="org.txm.annotation.urs.commands.ImportGlozzCorpus"
324
            id="org.txm.annotation.urs.commands.ImportGlozzCorpus"
325
            name="%command.name.8">
326
      </command>
327
      <command
328
            categoryId="org.txm.rcp.category.txm"
329
            defaultHandler="org.txm.annotation.urs.commands.ImportGlozzAnnotations"
330
            id="org.txm.annotation.urs.commands.ImportGlozzAnnotations"
331
            name="%command.name.9">
332
      </command>
333
      <command
334
            defaultHandler="org.txm.annotation.urs.commands.DoInstallStep"
335
            id="org.txm.annotation.urs.commands.DoInstallStep"
336
            name="%command.name.10">
337
      </command>
338
      <command
339
            categoryId="org.txm.rcp.category.txm"
340
            defaultHandler="org.txm.annotation.urs.commands.ExportGlozzCorpus"
341
            id="org.txm.annotation.urs.commands.ExportGlozzCorpus"
342
            name="%command.name.12">
343
      </command>
344
      <command
345
            categoryId="org.txm.rcp.category.txm"
346
            defaultHandler="org.txm.annotation.urs.commands.ExportTEICorpus"
347
            id="org.txm.annotation.urs.commands.ExportTEICorpus"
348
            name="%command.name.13">
349
      </command>
350
      <command
351
            categoryId="org.txm.rcp.category.txm"
352
            defaultHandler="org.txm.annotation.urs.commands.ImportTEICorpus"
353
            id="org.txm.annotation.urs.commands.ImportTEICorpus"
354
            name="%command.name.14">
355
      </command>
356
      <command
357
            categoryId="org.txm.rcp.category.txm"
358
            defaultHandler="org.txm.annotation.urs.commands.ImportTEIAnnotations"
359
            id="org.txm.annotation.urs.commands.ImportTEIAnnotations"
360
            name="%command.name.11">
361
      </command>
362
      <command
363
            categoryId="org.txm.rcp.category.txm"
364
            defaultHandler="org.txm.annotation.urs.commands.EditVue"
365
            id="org.txm.annotation.urs.commands.EditVue"
366
            name="%command.name.16">
367
      </command>
368
      <command
369
            categoryId="org.txm.rcp.category.txm"
370
            defaultHandler="org.txm.annotation.urs.commands.OpenDemocratTools"
371
            id="org.txm.annotation.urs.commands.OpenDemocratTools"
372
            name="Democrat tools">
373
      </command>
374
   </extension>
375
   <extension
376
         point="org.eclipse.ui.views">
377
      <view
378
            allowMultiple="false"
379
            category="org.txm.rcp"
380
            class="org.txm.annotation.urs.view.ElementPropertiesView"
381
            icon="icons/pencil.png"
382
            id="org.txm.annotation.urs.view.ElementPropertiesView"
383
            name="%view.name"
384
            restorable="true">
385
      </view>
386
      <view
387
            allowMultiple="false"
388
            category="org.txm.rcp"
389
            class="org.txm.annotation.urs.view.ElementSearchView"
390
            icon="platform:/plugin/org.txm.rcp/icons/functions/Search.png"
391
            id="org.txm.annotation.urs.view.ElementSearchView"
392
            name="%view.name.0"
393
            restorable="true">
394
      </view>
395
   </extension>
396
   <extension
397
         point="org.txm.rcp.extentionpoint.command">
398
      <installcommand
399
            class="org.txm.annotation.urs.commands.DoInstallStep"></installcommand>
400
   </extension>
401
   <extension
402
         point="org.eclipse.core.expressions.definitions">
403
      <definition
404
            id="CanAnnotateWithURS">
405
         <test
406
               forcePluginActivation="true"
407
               property="org.txm.annotation.urs.testers.canAnnotate">
408
         </test>
409
      </definition>
410
   </extension>
411
   <extension
412
         point="org.eclipse.core.expressions.propertyTesters">
413
      <propertyTester
414
            class="org.txm.annotation.urs.testers.IsCorpusAnnotated"
415
            id="org.txm.annotation.urs.testers.IsCorpusAnnotated"
416
            namespace="org.txm.annotation.urs.testers"
417
            properties="canAnnotate"
418
            type="java.lang.Object">
419
      </propertyTester>
420
   </extension>
421
   <extension
422
         point="org.eclipse.ui.preferencePages">
423
      <page
424
            category="org.txm.annotation.rcp.preferences.AnnotationPreferencePage"
425
            class="org.txm.annotation.urs.preferences.URSPreferencePage"
426
            id="org.txm.annotation.urs.preferences.URSPreferencePage"
427
            name="URS">
428
      </page>
429
      <page
430
            category="org.txm.searchengine.rcp.preferences.SearchEnginePreferencesPage"
431
            class="org.txm.annotation.urs.preferences.URSSearchPreferencePage"
432
            id="org.txm.annotation.urs.preferences.URSSearchPreferencePage"
433
            name="URS">
434
      </page>
435
   </extension>
436
   <extension
437
         point="org.txm.annotation.rcp.editor.AnnotationArea">
438
      <annotationtoolbar
439
            class="org.txm.annotation.urs.toolbar.UnitToolbar"
440
            position="1">
441
      </annotationtoolbar>
442
      <annotationtoolbar
443
            class="org.txm.annotation.urs.toolbar.SchemaToolbar"
444
            position="2">
445
      </annotationtoolbar>
446
      <annotationtoolbar
447
            class="org.txm.annotation.urs.toolbar.UnitConcordanceToolbar"
448
            position="4">
449
      </annotationtoolbar>
450
   </extension>
451
   <extension
452
         point="org.txm.PostTXMHOMEInstallationStep">
453
      <PostTXMHOMEInstallationStep
454
            class="org.txm.annotation.urs.InstallURSFiles"
455
            description="%PostTXMHOMEInstallationStep.description"
456
            name="URS macro">
457
      </PostTXMHOMEInstallationStep>
458
   </extension>
459
   <extension
460
         point="org.txm.annotation.core.AnnotationEngine">
461
      <AnnotationEngine
462
            class="org.txm.annotation.urs.URSCorpora"
463
            description="URS annotations">
464
      </AnnotationEngine>
465
   </extension>
466
   <extension
467
         point="org.txm.searchengine.core.SearchEngine">
468
      <SearchEngine
469
            class="org.txm.annotation.urs.search.URSSearchEngine">
470
      </SearchEngine>
471
   </extension>
472
   <extension
473
         point="org.eclipse.core.runtime.preferences">
474
      <initializer
475
            class="org.txm.annotation.urs.preferences.URSPreferences">
476
      </initializer>
477
   </extension>
478

    
479
</plugin>