Statistics
| Revision:

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

History | View | Annotate | Download (12 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.analec"
10
               label="Analec"
11
               mnemonic="A">
12
            <command
13
                  commandId="org.txm.analec.commands.LoadStructureFromGlozz"
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.analec.commands.EditAnnotationStructure"
24
                  style="push">
25
               <visibleWhen
26
                     checkEnabled="false">
27
                  <reference
28
                        definitionId="OneCorpusSelected">
29
                  </reference>
30
               </visibleWhen>
31
            </command>
32
            <command
33
                  commandId="org.txm.analec.commands.EditVue"
34
                  style="push">
35
               <visibleWhen
36
                     checkEnabled="false">
37
                  <and>
38
                     <reference
39
                           definitionId="OneCorpusSelected">
40
                     </reference>
41
                     <reference
42
                           definitionId="ExpertEnabled">
43
                     </reference>
44
                  </and>
45
               </visibleWhen>
46
            </command>
47
            <command
48
                  commandId="org.txm.analec.commands.SaveCorpus"
49
                  style="push">
50
               <visibleWhen
51
                     checkEnabled="false">
52
                  <reference
53
                        definitionId="OneCorpusSelected">
54
                  </reference>
55
               </visibleWhen>
56
            </command>
57
         </menu>
58
      </menuContribution>
59
      <menuContribution
60
            locationURI="popup:org.txm.rcpapplication.views.CorporaView">
61
         <menu
62
               id="corpora.menu.analec"
63
               label="Analec"
64
               mnemonic="A">
65
            <command
66
                  commandId="org.txm.analec.commands.LoadStructureFromGlozz"
67
                  style="push">
68
               <visibleWhen
69
                     checkEnabled="false">
70
                  <reference
71
                        definitionId="OneCorpusSelected">
72
                  </reference>
73
               </visibleWhen>
74
            </command>
75
            <command
76
                  commandId="org.txm.analec.commands.EditAnnotationStructure"
77
                  style="push">
78
               <visibleWhen
79
                     checkEnabled="false">
80
                  <reference
81
                        definitionId="OneCorpusSelected">
82
                  </reference>
83
               </visibleWhen>
84
            </command>
85
            <command
86
                  commandId="org.txm.analec.commands.SaveCorpus"
87
                  style="push">
88
               <visibleWhen
89
                     checkEnabled="false">
90
                  <reference
91
                        definitionId="OneCorpusSelected">
92
                  </reference>
93
               </visibleWhen>
94
            </command>
95
         </menu>
96
      </menuContribution>
97
      <menuContribution
98
            locationURI="menu:menu.file.export?after=menu.file.export.exporttei">
99
         <command
100
               commandId="org.txm.analec.commands.ExportTEICorpus"
101
               label="%command.label.0"
102
               style="push">
103
            <visibleWhen
104
                  checkEnabled="false">
105
               <reference
106
                     definitionId="CanAnnotateWithAnalec">
107
               </reference>
108
            </visibleWhen>
109
         </command>
110
         <command
111
               commandId="org.txm.analec.commands.ExportGlozzCorpus"
112
               label="%command.label.1"
113
               style="push">
114
            <visibleWhen
115
                  checkEnabled="false">
116
               <reference
117
                     definitionId="CanAnnotateWithAnalec">
118
               </reference>
119
            </visibleWhen>
120
         </command>
121
      </menuContribution>
122
      <menuContribution
123
            locationURI="menu:menu.file.import?before=menu.file.import.separator.software">
124
         <command
125
               commandId="org.txm.analec.commands.ImportTEICorpus"
126
               style="push">
127
         </command>
128
      </menuContribution>
129
      <menuContribution
130
            locationURI="menu:menu.file.import?before=menu.file.import.separator.end">
131
         <command
132
               commandId="org.txm.analec.commands.ImportGlozzCorpus"
133
               style="push">
134
         </command>
135
      </menuContribution>
136
   </extension>
137
   <extension
138
         point="org.eclipse.ui.commands">
139
      <command
140
            category="org.txm.rcpapplication.category.txm"
141
            categoryId="org.txm.rcpapplication.category.txm"
142
            defaultHandler="org.txm.analec.commands.LoadStructure"
143
            id="org.txm.analec.commands.LoadStructure"
144
            name="%command.name">
145
      </command>
146
      <command
147
            category="org.txm.rcpapplication.category.txm"
148
            categoryId="org.txm.rcpapplication.category.txm"
149
            defaultHandler="org.txm.analec.commands.EditStructure"
150
            id="org.txm.analec.commands.EditAnnotationStructure"
151
            name="%command.name.0">
152
      </command>
153
      <command
154
            category="org.txm.rcpapplication.category.txm"
155
            categoryId="org.txm.rcpapplication.category.txm"
156
            defaultHandler="org.txm.analec.commands.SaveStructure"
157
            id="org.txm.analec.commands.SaveStructure"
158
            name="%command.name.1">
159
      </command>
160
      <command
161
            category="org.txm.rcpapplication.category.txm"
162
            categoryId="org.txm.rcpapplication.category.txm"
163
            defaultHandler="org.txm.analec.commands.LoadStructureFromGlozz"
164
            id="org.txm.analec.commands.LoadStructureFromGlozz"
165
            name="%command.name.2">
166
      </command>
167
      <command
168
            category="org.txm.rcpapplication.category.txm"
169
            categoryId="org.txm.rcpapplication.category.txm"
170
            defaultHandler="org.txm.analec.commands.LoadCorpus"
171
            id="org.txm.analec.commands.LoadCorpus"
172
            name="%command.name.3">
173
      </command>
174
      <command
175
            category="org.txm.rcpapplication.category.txm"
176
            categoryId="org.txm.rcpapplication.category.txm"
177
            defaultHandler="org.txm.analec.commands.SaveCorpus"
178
            id="org.txm.analec.commands.SaveCorpus"
179
            name="%command.name.4">
180
      </command>
181
      <command
182
            category="org.txm.rcpapplication.category.txm"
183
            categoryId="org.txm.rcpapplication.category.txm"
184
            defaultHandler="org.txm.analec.commands.LoadVue"
185
            id="org.txm.analec.commands.LoadVue"
186
            name="%command.name.5">
187
      </command>
188
      <command
189
            category="org.txm.rcpapplication.category.txm"
190
            categoryId="org.txm.rcpapplication.category.txm"
191
            defaultHandler="org.txm.analec.commands.SaveVue"
192
            id="org.txm.analec.commands.SaveVue"
193
            name="%command.name.6">
194
      </command>
195
      <command
196
            category="org.txm.rcpapplication.category.txm"
197
            categoryId="org.txm.rcpapplication.category.txm"
198
            defaultHandler="org.txm.analec.commands.SaveStructureAsGlozzModel"
199
            id="org.txm.analec.commands.SaveStructureAsGlozzModel"
200
            name="%command.name.7">
201
      </command>
202
      <command
203
            category="org.txm.rcpapplication.category.txm"
204
            categoryId="org.txm.rcpapplication.category.txm"
205
            defaultHandler="org.txm.analec.commands.ImportGlozzCorpus"
206
            id="org.txm.analec.commands.ImportGlozzCorpus"
207
            name="%command.name.8">
208
      </command>
209
      <command
210
            category="org.txm.rcpapplication.category.txm"
211
            categoryId="org.txm.rcpapplication.category.txm"
212
            defaultHandler="org.txm.analec.commands.ImportGlozzAnnotations"
213
            id="org.txm.analec.commands.ImportGlozzAnnotations"
214
            name="%command.name.9">
215
      </command>
216
      <command
217
            category="org.txm.rcpapplication.category.txm"
218
            defaultHandler="org.txm.analec.commands.DoInstallStep"
219
            id="org.txm.analec.commands.DoInstallStep"
220
            name="Install">
221
      </command>
222
      <command
223
            category="org.txm.rcpapplication.category.txm"
224
            categoryId="org.txm.rcpapplication.category.txm"
225
            defaultHandler="org.txm.analec.commands.ExportGlozzCorpus"
226
            id="org.txm.analec.commands.ExportGlozzCorpus"
227
            name="%command.name.12">
228
      </command>
229
      <command
230
            category="org.txm.rcpapplication.category.txm"
231
            categoryId="org.txm.rcpapplication.category.txm"
232
            defaultHandler="org.txm.analec.commands.ExportTEICorpus"
233
            id="org.txm.analec.commands.ExportTEICorpus"
234
            name="%command.name.13">
235
      </command>
236
      <command
237
            category="org.txm.rcpapplication.category.txm"
238
            categoryId="org.txm.rcpapplication.category.txm"
239
            defaultHandler="org.txm.analec.commands.ImportTEICorpus"
240
            id="org.txm.analec.commands.ImportTEICorpus"
241
            name="%command.name.14">
242
      </command>
243
      <command
244
            category="org.txm.rcpapplication.category.txm"
245
            categoryId="org.txm.rcpapplication.category.txm"
246
            defaultHandler="org.txm.analec.commands.AlignGlozzAnnotationsWithTXMWords"
247
            id="org.txm.analec.commands.AlignAnnotationsFromGlozzCorpus"
248
            name="%command.name.15">
249
      </command>
250
      <command
251
            category="org.txm.rcpapplication.category.txm"
252
            categoryId="org.txm.rcpapplication.category.txm"
253
            defaultHandler="org.txm.analec.commands.EditVue"
254
            id="org.txm.analec.commands.EditVue"
255
            name="Edit vue...">
256
      </command>
257
   </extension>
258
   <extension
259
         point="org.txm.synopticeditor.toolbarbutton">
260
      <Button
261
            class="org.txm.analec.toolbarbutton.StartButton"></Button>
262
   </extension>
263
   <extension
264
         point="org.eclipse.ui.views">
265
      <view
266
            allowMultiple="false"
267
            category="org.txm.rcpapplication"
268
            class="org.txm.analec.view.ElementPropertiesView"
269
            icon="icons/pencil.png"
270
            id="org.txm.analec.view.ElementPropertiesView"
271
            name="%view.name"
272
            restorable="true">
273
      </view>
274
      <view
275
            allowMultiple="false"
276
            category="org.txm.rcpapplication"
277
            class="org.txm.analec.view.ElementSearchView"
278
            icon="platform:/plugin/org.txm.rcp/icons/functions/Search.png"
279
            id="org.txm.analec.view.ElementSearchView"
280
            name="%view.name.0"
281
            restorable="true">
282
      </view>
283
   </extension>
284
   <extension
285
         point="org.txm.rcp.extentionpoint.command">
286
      <installcommand
287
            class="org.txm.analec.commands.DoInstallStep"></installcommand>
288
   </extension>
289
   <extension
290
         point="org.eclipse.core.expressions.definitions">
291
      <definition
292
            id="CanAnnotateWithAnalec">
293
         <test
294
               forcePluginActivation="true"
295
               property="org.txm.analec.testers.canAnnotate">
296
         </test>
297
      </definition>
298
   </extension>
299
   <extension
300
         point="org.eclipse.core.expressions.propertyTesters">
301
      <propertyTester
302
            class="org.txm.analec.testers.IsCorpusAnnotated"
303
            id="org.txm.analec.testers.IsCorpusAnnotated"
304
            namespace="org.txm.analec.testers"
305
            properties="canAnnotate"
306
            type="java.lang.Object">
307
      </propertyTester>
308
   </extension>
309
   <extension
310
         point="org.eclipse.ui.preferencePages">
311
      <page
312
            category="org.txm.rcp.preferences.UserPreferencePage"
313
            class="org.txm.analec.preferences.AnalecPreferencePage"
314
            id="org.txm.analec.preferences.AnalecPreferencePage"
315
            name="Analec">
316
      </page>
317
   </extension>
318

    
319
</plugin>