root / tmp / org.txm.analec.rcp / plugin.xml @ 674
History | View | Annotate | Download (11.2 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"> |
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?after=menu.file.export.exporttei"> |
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.txm.synopticeditor.toolbarbutton"> |
252 |
<Button
|
253 |
class="org.txm.analec.toolbarbutton.StartButton"></Button> |
254 |
</extension>
|
255 |
<extension
|
256 |
point="org.eclipse.ui.views"> |
257 |
<view
|
258 |
allowMultiple="false" |
259 |
category="org.txm.rcp" |
260 |
class="org.txm.analec.view.ElementPropertiesView" |
261 |
icon="icons/pencil.png" |
262 |
id="org.txm.analec.view.ElementPropertiesView" |
263 |
name="%view.name" |
264 |
restorable="true"> |
265 |
</view>
|
266 |
<view
|
267 |
allowMultiple="false" |
268 |
category="org.txm.rcp" |
269 |
class="org.txm.analec.view.ElementSearchView" |
270 |
icon="platform:/plugin/org.txm.rcp/icons/functions/Search.png" |
271 |
id="org.txm.analec.view.ElementSearchView" |
272 |
name="%view.name.0" |
273 |
restorable="true"> |
274 |
</view>
|
275 |
</extension>
|
276 |
<extension
|
277 |
point="org.txm.rcp.extentionpoint.command"> |
278 |
<installcommand
|
279 |
class="org.txm.analec.commands.DoInstallStep"></installcommand> |
280 |
</extension>
|
281 |
<extension
|
282 |
point="org.eclipse.core.expressions.definitions"> |
283 |
<definition
|
284 |
id="CanAnnotateWithAnalec"> |
285 |
<test
|
286 |
forcePluginActivation="true" |
287 |
property="org.txm.analec.testers.canAnnotate"> |
288 |
</test>
|
289 |
</definition>
|
290 |
</extension>
|
291 |
<extension
|
292 |
point="org.eclipse.core.expressions.propertyTesters"> |
293 |
<propertyTester
|
294 |
class="org.txm.analec.testers.IsCorpusAnnotated" |
295 |
id="org.txm.analec.testers.IsCorpusAnnotated" |
296 |
namespace="org.txm.analec.testers" |
297 |
properties="canAnnotate" |
298 |
type="java.lang.Object"> |
299 |
</propertyTester>
|
300 |
</extension>
|
301 |
<extension
|
302 |
point="org.eclipse.ui.preferencePages"> |
303 |
<page
|
304 |
category="org.txm.rcp.preferences.UserPreferencePage" |
305 |
class="org.txm.analec.preferences.AnalecPreferencePage" |
306 |
id="org.txm.analec.preferences.AnalecPreferencePage" |
307 |
name="Analec"> |
308 |
</page>
|
309 |
</extension>
|
310 |
|
311 |
</plugin>
|