Statistics
| Revision:

root / tmp / org.txm.analec.rcp / plugin.xml @ 2802

History | View | Annotate | Download (16.9 kB)

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">
217
         <command
218
               commandId="org.txm.annotation.urs.commands.ExportTEICorpus"
219
               label="%command.label.0"
220
               style="push">
221
         </command>
222
         <command
223
               commandId="org.txm.annotation.urs.commands.ExportGlozzCorpus"
224
               label="%command.label.1"
225
               style="push">
226
         </command>
227
      </menuContribution>
228
      <menuContribution
229
            locationURI="menu:menu.file.import?before=menu.file.import.separator.software">
230
         <command
231
               commandId="org.txm.annotation.urs.commands.ImportGlozzCorpus"
232
               style="push">
233
         </command>
234
         <command
235
               commandId="org.txm.annotation.urs.commands.ImportTEICorpus"
236
               label="%command.label.2"
237
               style="push">
238
         </command>
239
      </menuContribution>
240
      <menuContribution
241
            locationURI="menu:menu.help.plugins">
242
         <command
243
               commandId="org.txm.rcp.commands.OpenBrowser"
244
               label="%command.label.3"
245
               style="push">
246
            <parameter
247
                  name="org.txm.rcp.commands.commandParameter2"
248
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions_beta#urs">
249
            </parameter>
250
         </command>
251
      </menuContribution>
252
   </extension>
253
   <extension
254
         point="org.eclipse.ui.commands">
255
      <command
256
            categoryId="org.txm.rcp.category.txm"
257
            defaultHandler="org.txm.annotation.urs.commands.LoadStructure"
258
            id="org.txm.annotation.urs.commands.LoadStructure"
259
            name="%command.name">
260
      </command>
261
      <command
262
            categoryId="org.txm.rcp.category.txm"
263
            defaultHandler="org.txm.annotation.urs.commands.EditStructure"
264
            id="org.txm.annotation.urs.commands.EditAnnotationStructure"
265
            name="%command.name.0">
266
      </command>
267
      <command
268
            categoryId="org.txm.rcp.category.txm"
269
            defaultHandler="org.txm.annotation.urs.commands.SaveStructure"
270
            id="org.txm.annotation.urs.commands.SaveStructure"
271
            name="%command.name.1">
272
      </command>
273
      <command
274
            categoryId="org.txm.rcp.category.txm"
275
            defaultHandler="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
276
            id="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
277
            name="%command.name.2">
278
      </command>
279
      <command
280
            categoryId="org.txm.rcp.category.txm"
281
            defaultHandler="org.txm.annotation.urs.commands.LoadCorpus"
282
            id="org.txm.annotation.urs.commands.LoadCorpus"
283
            name="%command.name.3">
284
      </command>
285
      <command
286
            categoryId="org.txm.rcp.category.txm"
287
            defaultHandler="org.txm.annotation.urs.commands.SaveCorpus"
288
            id="org.txm.annotation.urs.commands.SaveCorpus"
289
            name="%command.name.4">
290
      </command>
291
      <command
292
            categoryId="org.txm.rcp.category.txm"
293
            defaultHandler="org.txm.annotation.urs.commands.LoadVue"
294
            id="org.txm.annotation.urs.commands.LoadVue"
295
            name="%command.name.5">
296
      </command>
297
      <command
298
            categoryId="org.txm.rcp.category.txm"
299
            defaultHandler="org.txm.annotation.urs.commands.SaveVue"
300
            id="org.txm.annotation.urs.commands.SaveVue"
301
            name="%command.name.6">
302
      </command>
303
      <command
304
            categoryId="org.txm.rcp.category.txm"
305
            defaultHandler="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel"
306
            id="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel"
307
            name="%command.name.7">
308
      </command>
309
      <command
310
            categoryId="org.txm.rcp.category.txm"
311
            defaultHandler="org.txm.annotation.urs.commands.ImportGlozzCorpus"
312
            id="org.txm.annotation.urs.commands.ImportGlozzCorpus"
313
            name="%command.name.8">
314
      </command>
315
      <command
316
            categoryId="org.txm.rcp.category.txm"
317
            defaultHandler="org.txm.annotation.urs.commands.ImportGlozzAnnotations"
318
            id="org.txm.annotation.urs.commands.ImportGlozzAnnotations"
319
            name="%command.name.9">
320
      </command>
321
      <command
322
            defaultHandler="org.txm.annotation.urs.commands.DoInstallStep"
323
            id="org.txm.annotation.urs.commands.DoInstallStep"
324
            name="%command.name.10">
325
      </command>
326
      <command
327
            categoryId="org.txm.rcp.category.txm"
328
            defaultHandler="org.txm.annotation.urs.commands.ExportGlozzCorpus"
329
            id="org.txm.annotation.urs.commands.ExportGlozzCorpus"
330
            name="%command.name.12">
331
      </command>
332
      <command
333
            categoryId="org.txm.rcp.category.txm"
334
            defaultHandler="org.txm.annotation.urs.commands.ExportTEICorpus"
335
            id="org.txm.annotation.urs.commands.ExportTEICorpus"
336
            name="%command.name.13">
337
      </command>
338
      <command
339
            categoryId="org.txm.rcp.category.txm"
340
            defaultHandler="org.txm.annotation.urs.commands.ImportTEICorpus"
341
            id="org.txm.annotation.urs.commands.ImportTEICorpus"
342
            name="%command.name.14">
343
      </command>
344
      <command
345
            categoryId="org.txm.rcp.category.txm"
346
            defaultHandler="org.txm.annotation.urs.commands.ImportTEIAnnotations"
347
            id="org.txm.annotation.urs.commands.ImportTEIAnnotations"
348
            name="%command.name.11">
349
      </command>
350
      <command
351
            categoryId="org.txm.rcp.category.txm"
352
            defaultHandler="org.txm.annotation.urs.commands.EditVue"
353
            id="org.txm.annotation.urs.commands.EditVue"
354
            name="%command.name.16">
355
      </command>
356
      <command
357
            categoryId="org.txm.rcp.category.txm"
358
            defaultHandler="org.txm.annotation.urs.commands.OpenDemocratTools"
359
            id="org.txm.annotation.urs.commands.OpenDemocratTools"
360
            name="Democrat tools">
361
      </command>
362
   </extension>
363
   <extension
364
         point="org.eclipse.ui.views">
365
      <view
366
            allowMultiple="false"
367
            category="org.txm.rcp"
368
            class="org.txm.annotation.urs.view.ElementPropertiesView"
369
            icon="icons/pencil.png"
370
            id="org.txm.annotation.urs.view.ElementPropertiesView"
371
            name="%view.name"
372
            restorable="true">
373
      </view>
374
      <view
375
            allowMultiple="false"
376
            category="org.txm.rcp"
377
            class="org.txm.annotation.urs.view.ElementSearchView"
378
            icon="platform:/plugin/org.txm.rcp/icons/functions/Search.png"
379
            id="org.txm.annotation.urs.view.ElementSearchView"
380
            name="%view.name.0"
381
            restorable="true">
382
      </view>
383
   </extension>
384
   <extension
385
         point="org.txm.rcp.extentionpoint.command">
386
      <installcommand
387
            class="org.txm.annotation.urs.commands.DoInstallStep"></installcommand>
388
   </extension>
389
   <extension
390
         point="org.eclipse.core.expressions.definitions">
391
      <definition
392
            id="CanAnnotateWithURS">
393
         <test
394
               forcePluginActivation="true"
395
               property="org.txm.annotation.urs.testers.canAnnotate">
396
         </test>
397
      </definition>
398
   </extension>
399
   <extension
400
         point="org.eclipse.core.expressions.propertyTesters">
401
      <propertyTester
402
            class="org.txm.annotation.urs.testers.IsCorpusAnnotated"
403
            id="org.txm.annotation.urs.testers.IsCorpusAnnotated"
404
            namespace="org.txm.annotation.urs.testers"
405
            properties="canAnnotate"
406
            type="java.lang.Object">
407
      </propertyTester>
408
   </extension>
409
   <extension
410
         point="org.eclipse.ui.preferencePages">
411
      <page
412
            category="org.txm.annotation.rcp.preferences.AnnotationPreferencePage"
413
            class="org.txm.annotation.urs.preferences.URSPreferencePage"
414
            id="org.txm.annotation.urs.preferences.URSPreferencePage"
415
            name="%page.name">
416
      </page>
417
   </extension>
418
   <extension
419
         point="org.txm.annotation.rcp.editor.AnnotationArea">
420
      <annotationtoolbar
421
            class="org.txm.annotation.urs.toolbar.UnitToolbar"
422
            position="1">
423
      </annotationtoolbar>
424
      <annotationtoolbar
425
            class="org.txm.annotation.urs.toolbar.SchemaToolbar"
426
            position="2">
427
      </annotationtoolbar>
428
   </extension>
429
   <extension
430
         point="org.txm.PostTXMHOMEInstallationStep">
431
      <PostTXMHOMEInstallationStep
432
            class="org.txm.annotation.urs.InstallURSFiles"
433
            description="%PostTXMHOMEInstallationStep.description"
434
            name="URS macro">
435
      </PostTXMHOMEInstallationStep>
436
   </extension>
437
   <extension
438
         point="org.txm.annotation.core.AnnotationEngine">
439
      <AnnotationEngine
440
            class="org.txm.annotation.urs.URSCorpora"
441
            description="URS annotations">
442
      </AnnotationEngine>
443
   </extension>
444
   <extension
445
         point="org.txm.searchengine.core.SearchEngine">
446
   </extension>
447
   <extension
448
         point="org.eclipse.core.runtime.preferences">
449
      <initializer
450
            class="org.txm.annotation.urs.preferences.URSPreferences">
451
      </initializer>
452
   </extension>
453

    
454
</plugin>