Statistics
| Revision:

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

History | View | Annotate | Download (14.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
            </menu>
54
            <command
55
                  commandId="org.txm.annotation.urs.commands.EditAnnotationStructure"
56
                  style="push">
57
               <visibleWhen
58
                     checkEnabled="false">
59
                  <reference
60
                        definitionId="OneCorpusSelected">
61
                  </reference>
62
               </visibleWhen>
63
            </command>
64
            <command
65
                  commandId="org.txm.annotation.urs.commands.EditVue"
66
                  style="push">
67
               <visibleWhen
68
                     checkEnabled="false">
69
                  <reference
70
                        definitionId="OneCorpusSelected">
71
                  </reference>
72
               </visibleWhen>
73
            </command>
74
            <separator
75
                  name="URSRCP.separator1"
76
                  visible="true">
77
            </separator>
78
            <command
79
                  commandId="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
80
                  style="push">
81
               <visibleWhen
82
                     checkEnabled="false">
83
                  <reference
84
                        definitionId="OneCorpusSelected">
85
                  </reference>
86
               </visibleWhen>
87
            </command>
88
            <command
89
                  commandId="org.txm.annotation.urs.commands.ImportTEIAnnotations"
90
                  style="push">
91
               <visibleWhen
92
                     checkEnabled="false">
93
                  <reference
94
                        definitionId="OneCorpusSelected">
95
                  </reference>
96
               </visibleWhen>
97
            </command>
98
         </menu>
99
      </menuContribution>
100
      <menuContribution
101
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.annotation">
102
         <menu
103
               id="corpora.menu.urs"
104
               label="%menu.label.0"
105
               mnemonic="%menu.mnemonic.0">
106
            <command
107
                  commandId="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
108
                  style="push">
109
               <visibleWhen
110
                     checkEnabled="false">
111
                  <reference
112
                        definitionId="OneCorpusSelected">
113
                  </reference>
114
               </visibleWhen>
115
            </command>
116
            <command
117
                  commandId="org.txm.annotation.urs.commands.EditAnnotationStructure"
118
                  style="push">
119
               <visibleWhen
120
                     checkEnabled="false">
121
                  <reference
122
                        definitionId="OneCorpusSelected">
123
                  </reference>
124
               </visibleWhen>
125
            </command>
126
            <command
127
                  commandId="org.txm.annotation.urs.commands.SaveCorpus"
128
                  style="push">
129
               <visibleWhen
130
                     checkEnabled="false">
131
                  <reference
132
                        definitionId="OneCorpusSelected">
133
                  </reference>
134
               </visibleWhen>
135
            </command>
136
            <command
137
                  commandId="org.txm.annotation.urs.commands.ExportGlozzCorpus"
138
                  style="push">
139
               <visibleWhen
140
                     checkEnabled="false">
141
                  <reference
142
                        definitionId="OneCorpusSelected">
143
                  </reference>
144
               </visibleWhen>
145
            </command>
146
            <command
147
                  commandId="org.txm.annotation.urs.commands.ExportTEICorpus"
148
                  style="push">
149
               <visibleWhen
150
                     checkEnabled="false">
151
                  <reference
152
                        definitionId="OneCorpusSelected">
153
                  </reference>
154
               </visibleWhen>
155
            </command>
156
            <command
157
                  commandId="org.txm.annotation.urs.commands.ImportTEIAnnotations"
158
                  style="push">
159
               <visibleWhen
160
                     checkEnabled="false">
161
                  <reference
162
                        definitionId="OneCorpusSelected">
163
                  </reference>
164
               </visibleWhen>
165
            </command>
166
         </menu>
167
      </menuContribution>
168
      <menuContribution
169
            locationURI="menu:menu.file.export">
170
         <command
171
               commandId="org.txm.annotation.urs.commands.ExportTEICorpus"
172
               label="%command.label.0"
173
               style="push">
174
         </command>
175
         <command
176
               commandId="org.txm.annotation.urs.commands.ExportGlozzCorpus"
177
               label="%command.label.1"
178
               style="push">
179
         </command>
180
      </menuContribution>
181
      <menuContribution
182
            locationURI="menu:menu.file.import?before=menu.file.import.separator.software">
183
         <command
184
               commandId="org.txm.annotation.urs.commands.ImportGlozzCorpus"
185
               style="push">
186
         </command>
187
         <command
188
               commandId="org.txm.annotation.urs.commands.ImportTEICorpus"
189
               label="%command.label.2"
190
               style="push">
191
         </command>
192
      </menuContribution>
193
      <menuContribution
194
            locationURI="menu:menu.help.plugins">
195
         <command
196
               commandId="org.txm.rcp.commands.OpenBrowser"
197
               label="%command.label.3"
198
               style="push">
199
            <parameter
200
                  name="org.txm.rcp.commands.commandParameter2"
201
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions_beta#urs">
202
            </parameter>
203
         </command>
204
      </menuContribution>
205
   </extension>
206
   <extension
207
         point="org.eclipse.ui.commands">
208
      <command
209
            categoryId="org.txm.rcp.category.txm"
210
            defaultHandler="org.txm.annotation.urs.commands.LoadStructure"
211
            id="org.txm.annotation.urs.commands.LoadStructure"
212
            name="%command.name">
213
      </command>
214
      <command
215
            categoryId="org.txm.rcp.category.txm"
216
            defaultHandler="org.txm.annotation.urs.commands.EditStructure"
217
            id="org.txm.annotation.urs.commands.EditAnnotationStructure"
218
            name="%command.name.0">
219
      </command>
220
      <command
221
            categoryId="org.txm.rcp.category.txm"
222
            defaultHandler="org.txm.annotation.urs.commands.SaveStructure"
223
            id="org.txm.annotation.urs.commands.SaveStructure"
224
            name="%command.name.1">
225
      </command>
226
      <command
227
            categoryId="org.txm.rcp.category.txm"
228
            defaultHandler="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
229
            id="org.txm.annotation.urs.commands.LoadStructureFromGlozz"
230
            name="%command.name.2">
231
      </command>
232
      <command
233
            categoryId="org.txm.rcp.category.txm"
234
            defaultHandler="org.txm.annotation.urs.commands.LoadCorpus"
235
            id="org.txm.annotation.urs.commands.LoadCorpus"
236
            name="%command.name.3">
237
      </command>
238
      <command
239
            categoryId="org.txm.rcp.category.txm"
240
            defaultHandler="org.txm.annotation.urs.commands.SaveCorpus"
241
            id="org.txm.annotation.urs.commands.SaveCorpus"
242
            name="%command.name.4">
243
      </command>
244
      <command
245
            categoryId="org.txm.rcp.category.txm"
246
            defaultHandler="org.txm.annotation.urs.commands.LoadVue"
247
            id="org.txm.annotation.urs.commands.LoadVue"
248
            name="%command.name.5">
249
      </command>
250
      <command
251
            categoryId="org.txm.rcp.category.txm"
252
            defaultHandler="org.txm.annotation.urs.commands.SaveVue"
253
            id="org.txm.annotation.urs.commands.SaveVue"
254
            name="%command.name.6">
255
      </command>
256
      <command
257
            categoryId="org.txm.rcp.category.txm"
258
            defaultHandler="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel"
259
            id="org.txm.annotation.urs.commands.SaveStructureAsGlozzModel"
260
            name="%command.name.7">
261
      </command>
262
      <command
263
            categoryId="org.txm.rcp.category.txm"
264
            defaultHandler="org.txm.annotation.urs.commands.ImportGlozzCorpus"
265
            id="org.txm.annotation.urs.commands.ImportGlozzCorpus"
266
            name="%command.name.8">
267
      </command>
268
      <command
269
            categoryId="org.txm.rcp.category.txm"
270
            defaultHandler="org.txm.annotation.urs.commands.ImportGlozzAnnotations"
271
            id="org.txm.annotation.urs.commands.ImportGlozzAnnotations"
272
            name="%command.name.9">
273
      </command>
274
      <command
275
            defaultHandler="org.txm.annotation.urs.commands.DoInstallStep"
276
            id="org.txm.annotation.urs.commands.DoInstallStep"
277
            name="%command.name.10">
278
      </command>
279
      <command
280
            categoryId="org.txm.rcp.category.txm"
281
            defaultHandler="org.txm.annotation.urs.commands.ExportGlozzCorpus"
282
            id="org.txm.annotation.urs.commands.ExportGlozzCorpus"
283
            name="%command.name.12">
284
      </command>
285
      <command
286
            categoryId="org.txm.rcp.category.txm"
287
            defaultHandler="org.txm.annotation.urs.commands.ExportTEICorpus"
288
            id="org.txm.annotation.urs.commands.ExportTEICorpus"
289
            name="%command.name.13">
290
      </command>
291
      <command
292
            categoryId="org.txm.rcp.category.txm"
293
            defaultHandler="org.txm.annotation.urs.commands.ImportTEICorpus"
294
            id="org.txm.annotation.urs.commands.ImportTEICorpus"
295
            name="%command.name.14">
296
      </command>
297
      <command
298
            categoryId="org.txm.rcp.category.txm"
299
            defaultHandler="org.txm.annotation.urs.commands.ImportTEIAnnotations"
300
            id="org.txm.annotation.urs.commands.ImportTEIAnnotations"
301
            name="%command.name.11">
302
      </command>
303
      <command
304
            categoryId="org.txm.rcp.category.txm"
305
            defaultHandler="org.txm.annotation.urs.commands.EditVue"
306
            id="org.txm.annotation.urs.commands.EditVue"
307
            name="%command.name.16">
308
      </command>
309
   </extension>
310
   <extension
311
         point="org.eclipse.ui.views">
312
      <view
313
            allowMultiple="false"
314
            category="org.txm.rcp"
315
            class="org.txm.annotation.urs.view.ElementPropertiesView"
316
            icon="icons/pencil.png"
317
            id="org.txm.annotation.urs.view.ElementPropertiesView"
318
            name="%view.name"
319
            restorable="true">
320
      </view>
321
      <view
322
            allowMultiple="false"
323
            category="org.txm.rcp"
324
            class="org.txm.annotation.urs.view.ElementSearchView"
325
            icon="platform:/plugin/org.txm.rcp/icons/functions/Search.png"
326
            id="org.txm.annotation.urs.view.ElementSearchView"
327
            name="%view.name.0"
328
            restorable="true">
329
      </view>
330
   </extension>
331
   <extension
332
         point="org.txm.rcp.extentionpoint.command">
333
      <installcommand
334
            class="org.txm.annotation.urs.commands.DoInstallStep"></installcommand>
335
   </extension>
336
   <extension
337
         point="org.eclipse.core.expressions.definitions">
338
      <definition
339
            id="CanAnnotateWithURS">
340
         <test
341
               forcePluginActivation="true"
342
               property="org.txm.annotation.urs.testers.canAnnotate">
343
         </test>
344
      </definition>
345
   </extension>
346
   <extension
347
         point="org.eclipse.core.expressions.propertyTesters">
348
      <propertyTester
349
            class="org.txm.annotation.urs.testers.IsCorpusAnnotated"
350
            id="org.txm.annotation.urs.testers.IsCorpusAnnotated"
351
            namespace="org.txm.annotation.urs.testers"
352
            properties="canAnnotate"
353
            type="java.lang.Object">
354
      </propertyTester>
355
   </extension>
356
   <extension
357
         point="org.eclipse.ui.preferencePages">
358
      <page
359
            category="org.txm.annotation.rcp.preferences.AnnotationPreferencePage"
360
            class="org.txm.annotation.urs.preferences.URSPreferencePage"
361
            id="org.txm.annotation.urs.preferences.URSPreferencePage"
362
            name="%page.name">
363
      </page>
364
   </extension>
365
   <extension
366
         point="org.txm.annotation.rcp.editor.AnnotationArea">
367
      <annotationtoolbar
368
            class="org.txm.annotation.urs.toolbar.UnitToolbar"
369
            position="1">
370
      </annotationtoolbar>
371
      <annotationtoolbar
372
            class="org.txm.annotation.urs.toolbar.SchemaToolbar"
373
            position="2">
374
      </annotationtoolbar>
375
   </extension>
376
   <extension
377
         point="org.txm.PostTXMHOMEInstallationStep">
378
      <PostTXMHOMEInstallationStep
379
            class="org.txm.annotation.urs.InstallURSFiles"
380
            description="%PostTXMHOMEInstallationStep.description"
381
            name="URS macro">
382
      </PostTXMHOMEInstallationStep>
383
   </extension>
384
   <extension
385
         point="org.txm.annotation.core.AnnotationEngine">
386
      <AnnotationEngine
387
            class="org.txm.annotation.urs.URSCorpora"
388
            description="URS annotations">
389
      </AnnotationEngine>
390
   </extension>
391
   <extension
392
         point="org.txm.searchengine.core.SearchEngine">
393
   </extension>
394
   <extension
395
         point="org.eclipse.core.runtime.preferences">
396
      <initializer
397
            class="org.txm.annotation.urs.preferences.URSPreferences">
398
      </initializer>
399
   </extension>
400

    
401
</plugin>