Statistics
| Revision:

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

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

    
317
</plugin>