root / TXM / trunk / org.txm.annotation.kr.rcp / plugin.xml @ 3495
Historique | Voir | Annoter | Télécharger (14,71 ko)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension
|
5 |
point="org.eclipse.ui.commands"> |
6 |
<command
|
7 |
categoryId="org.txm.rcp.category.txm" |
8 |
defaultHandler="org.txm.rcp.commands.workspace.RecodeCorpus" |
9 |
id="org.txm.rcp.commands.workspace.RecodeCorpus" |
10 |
name="%command.name"> |
11 |
</command>
|
12 |
<command
|
13 |
categoryId="org.txm.rcp.category.txm" |
14 |
defaultHandler="org.txm.annotation.kr.rcp.commands.SaveAnnotations" |
15 |
id="org.txm.rcp.commands.annotation.SaveAnnotations" |
16 |
name="%command.name.0"> |
17 |
</command>
|
18 |
<command
|
19 |
defaultHandler="org.txm.annotation.kr.rcp.commands.krview.OpenKRView" |
20 |
id="org.txm.rcp.commands.krview.OpenKRView" |
21 |
name="%command.name.1"> |
22 |
</command>
|
23 |
<command
|
24 |
defaultHandler="org.txm.annotation.kr.rcp.commands.krview.Copy" |
25 |
id="org.txm.rcp.commands.krview.Copy" |
26 |
name="%command.name.2"> |
27 |
</command>
|
28 |
<command
|
29 |
defaultHandler="org.txm.annotation.kr.rcp.commands.krview.Reload" |
30 |
id="org.txm.rcp.commands.krview.Reload" |
31 |
name="%command.name.3"> |
32 |
</command>
|
33 |
<command
|
34 |
defaultHandler="org.txm.annotation.kr.rcp.commands.krview.Informations" |
35 |
id="org.txm.rcp.commands.krview.Informations" |
36 |
name="%command.name.4"> |
37 |
</command>
|
38 |
<command
|
39 |
defaultHandler="org.txm.annotation.kr.rcp.commands.krview.Delete" |
40 |
id="org.txm.rcp.commands.krview.Delete" |
41 |
name="%command.name.5"> |
42 |
</command>
|
43 |
<command
|
44 |
defaultHandler="org.txm.annotation.kr.rcp.commands.krview.Add" |
45 |
id="org.txm.rcp.commands.krview.Add" |
46 |
name="%command.name.6"> |
47 |
</command>
|
48 |
<command
|
49 |
defaultHandler="org.txm.annotation.kr.rcp.commands.ExportStandoff" |
50 |
id="org.txm.rcp.commands.annotation.ExportStandoff" |
51 |
name="%command.name.7"> |
52 |
</command>
|
53 |
<command
|
54 |
categoryId="org.txm.rcp.category.txm" |
55 |
defaultHandler="org.txm.annotation.kr.rcp.commands.SaveAnnotationsAndUpdateCorpus" |
56 |
id="org.txm.annotation.kr.rcp.commands.SaveAnnotationsAndUpdateCorpus" |
57 |
name="%command.label.111"> |
58 |
</command>
|
59 |
<command
|
60 |
defaultHandler="org.txm.annotation.kr.rcp.commands.ExportTable" |
61 |
id="org.txm.annotation.kr.rcp.commands.ExportTable" |
62 |
name="%command.name.8"> |
63 |
</command>
|
64 |
<command
|
65 |
defaultHandler="org.txm.annotation.kr.rcp.commands.ImportTable" |
66 |
id="org.txm.annotation.kr.rcp.commands.ImportTable" |
67 |
name="%command.name.9"> |
68 |
</command>
|
69 |
</extension>
|
70 |
<extension
|
71 |
point="org.eclipse.ui.preferencePages"> |
72 |
<page
|
73 |
category="org.txm.annotation.rcp.preferences.AnnotationPreferencePage" |
74 |
class="org.txm.annotation.kr.rcp.preferences.KRAnnotationPreferencePage" |
75 |
id="org.txm.annotation.kr.rcp.preferences.KRAnnotationPreferencePage" |
76 |
name="%page.name.0"> |
77 |
</page>
|
78 |
</extension>
|
79 |
<extension
|
80 |
point="org.eclipse.ui.views"> |
81 |
<view
|
82 |
category="org.txm.rcp" |
83 |
class="org.txm.annotation.kr.rcp.views.knowledgerepositories.KRView" |
84 |
id="org.txm.annotation.kr.rcp.views.knowledgerepositories.KRView" |
85 |
name="%view.name" |
86 |
restorable="true"> |
87 |
</view>
|
88 |
</extension>
|
89 |
<extension
|
90 |
point="org.eclipse.ui.bindings"> |
91 |
<key
|
92 |
commandId="org.txm.rcp.commands.krview.Add" |
93 |
contextId="org.txm.rcp.annotation.krview" |
94 |
schemeId="org.txm.rcp.scheme" |
95 |
sequence="Ctrl+A"> |
96 |
</key>
|
97 |
<key
|
98 |
commandId="org.txm.rcp.commands.krview.Reload" |
99 |
contextId="org.txm.rcp.annotation.krview" |
100 |
schemeId="org.txm.rcp.scheme" |
101 |
sequence="Ctrl+R"> |
102 |
</key>
|
103 |
<key
|
104 |
commandId="org.txm.rcp.commands.krview.Informations" |
105 |
contextId="org.txm.rcp.annotation.krview" |
106 |
schemeId="org.txm.rcp.scheme" |
107 |
sequence="Ctrl+I"> |
108 |
</key>
|
109 |
<key
|
110 |
commandId="org.txm.rcp.commands.krview.Copy" |
111 |
contextId="org.txm.rcp.annotation.krview" |
112 |
schemeId="org.txm.rcp.scheme" |
113 |
sequence="Ctrl+C"> |
114 |
</key>
|
115 |
<key
|
116 |
commandId="org.txm.rcp.commands.krview.Delete" |
117 |
contextId="org.txm.rcp.annotation.krview" |
118 |
schemeId="org.txm.rcp.scheme" |
119 |
sequence="Ctrl+D"> |
120 |
</key>
|
121 |
</extension>
|
122 |
<extension
|
123 |
point="org.eclipse.ui.menus"> |
124 |
<menuContribution
|
125 |
allPopups="false" |
126 |
locationURI="menu:menu.display.views?before=menu.display.views.separator"> |
127 |
<command
|
128 |
commandId="org.txm.rcp.commands.krview.OpenKRView" |
129 |
label="%command.label" |
130 |
style="push"> |
131 |
</command>
|
132 |
</menuContribution>
|
133 |
<menuContribution
|
134 |
locationURI="popup:org.txm.annotation.kr.rcp.views.knowledgerepositories.KRView"> |
135 |
<command
|
136 |
commandId="org.txm.rcp.commands.krview.Copy" |
137 |
style="push" |
138 |
tooltip="%command.tooltip.89"> |
139 |
</command>
|
140 |
<command
|
141 |
commandId="org.txm.rcp.commands.krview.Reload" |
142 |
style="push" |
143 |
tooltip="%command.tooltip.90"> |
144 |
<visibleWhen
|
145 |
checkEnabled="false"> |
146 |
<reference
|
147 |
definitionId="OneKRSelected"> |
148 |
</reference>
|
149 |
</visibleWhen>
|
150 |
</command>
|
151 |
<command
|
152 |
commandId="org.txm.rcp.commands.krview.Informations" |
153 |
style="push" |
154 |
tooltip="%command.tooltip.93"> |
155 |
</command>
|
156 |
<command
|
157 |
commandId="org.txm.rcp.commands.krview.Add" |
158 |
style="push" |
159 |
tooltip="%command.tooltip.94"> |
160 |
<visibleWhen
|
161 |
checkEnabled="false"> |
162 |
<or>
|
163 |
<reference
|
164 |
definitionId="OneLocalKRSelected"> |
165 |
</reference>
|
166 |
<reference
|
167 |
definitionId="OneAnnotationTypeSelected"> |
168 |
</reference>
|
169 |
</or>
|
170 |
</visibleWhen>
|
171 |
</command>
|
172 |
<command
|
173 |
commandId="org.txm.rcp.commands.krview.Delete" |
174 |
style="push" |
175 |
tooltip="%command.tooltip.95"> |
176 |
<visibleWhen
|
177 |
checkEnabled="false"> |
178 |
<or>
|
179 |
<reference
|
180 |
definitionId="OneAnnotationTypeSelected"> |
181 |
</reference>
|
182 |
<reference
|
183 |
definitionId="OneTypedValueSelected"> |
184 |
</reference>
|
185 |
</or>
|
186 |
</visibleWhen>
|
187 |
</command>
|
188 |
</menuContribution>
|
189 |
<menuContribution
|
190 |
allPopups="false" |
191 |
locationURI="menu:menu.file.export.properties"> |
192 |
<command
|
193 |
commandId="org.txm.rcp.commands.annotation.ExportStandoff" |
194 |
id="menu.file.export.exporttei" |
195 |
label="%command.label.0" |
196 |
style="push"> |
197 |
<visibleWhen
|
198 |
checkEnabled="false"> |
199 |
<reference
|
200 |
definitionId="OneMainCorpusSelected"> |
201 |
</reference>
|
202 |
</visibleWhen>
|
203 |
</command>
|
204 |
</menuContribution>
|
205 |
<menuContribution
|
206 |
allPopups="false" |
207 |
locationURI="menu:menu.file.export.annotations"> |
208 |
<command
|
209 |
commandId="org.txm.annotation.kr.rcp.commands.ExportTable" |
210 |
id="menu.file.export.exporttable" |
211 |
label="%command.label.1" |
212 |
style="push"> |
213 |
<visibleWhen
|
214 |
checkEnabled="false"> |
215 |
<reference
|
216 |
definitionId="OneMainCorpusSelected"> |
217 |
</reference>
|
218 |
</visibleWhen>
|
219 |
</command>
|
220 |
</menuContribution>
|
221 |
<menuContribution
|
222 |
allPopups="false" |
223 |
locationURI="menu:corporaview.menu.file.export?after=org.txm.rcp.views.corpora.CorporaView.annotation"> |
224 |
<command
|
225 |
commandId="org.txm.rcp.commands.annotation.ExportStandoff" |
226 |
label="%command.label.0" |
227 |
style="push"> |
228 |
<visibleWhen
|
229 |
checkEnabled="false"> |
230 |
<reference
|
231 |
definitionId="OneMainCorpusSelected"> |
232 |
</reference>
|
233 |
</visibleWhen>
|
234 |
</command>
|
235 |
<command
|
236 |
commandId="org.txm.annotation.kr.rcp.commands.ExportTable" |
237 |
label="%command.label.1" |
238 |
style="push"> |
239 |
<visibleWhen
|
240 |
checkEnabled="false"> |
241 |
<reference
|
242 |
definitionId="OneMainCorpusSelected"> |
243 |
</reference>
|
244 |
</visibleWhen>
|
245 |
</command>
|
246 |
</menuContribution>
|
247 |
<menuContribution
|
248 |
allPopups="false" |
249 |
locationURI="menu:menu.corpus?after=menu.corpus.build"> |
250 |
<command
|
251 |
commandId="org.txm.annotation.kr.rcp.commands.SaveAnnotationsAndUpdateCorpus" |
252 |
icon="icons/functions/pencil_save.png" |
253 |
label="%command.label.111" |
254 |
style="push"> |
255 |
<visibleWhen
|
256 |
checkEnabled="false"> |
257 |
<reference
|
258 |
definitionId="CorpusNeedtoSaveAnnotation"> |
259 |
</reference>
|
260 |
</visibleWhen>
|
261 |
</command>
|
262 |
</menuContribution>
|
263 |
<menuContribution
|
264 |
allPopups="false" |
265 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView"> |
266 |
<command
|
267 |
commandId="org.txm.annotation.kr.rcp.commands.SaveAnnotationsAndUpdateCorpus" |
268 |
icon="icons/functions/pencil_save.png" |
269 |
label="%command.label.111" |
270 |
style="push"> |
271 |
<visibleWhen
|
272 |
checkEnabled="false"> |
273 |
<reference
|
274 |
definitionId="CorpusNeedtoSaveAnnotation"> |
275 |
</reference>
|
276 |
</visibleWhen>
|
277 |
</command>
|
278 |
</menuContribution>
|
279 |
<menuContribution
|
280 |
allPopups="false" |
281 |
locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.annotation"> |
282 |
<command
|
283 |
commandId="org.txm.annotation.kr.rcp.commands.SaveAnnotationsAndUpdateCorpus" |
284 |
icon="icons/functions/pencil_save.png" |
285 |
label="CQP" |
286 |
mode="FORCE_TEXT" |
287 |
style="push" |
288 |
tooltip="CQP"> |
289 |
<visibleWhen
|
290 |
checkEnabled="false"> |
291 |
<reference
|
292 |
definitionId="CorpusNeedtoSaveAnnotation"> |
293 |
</reference>
|
294 |
</visibleWhen>
|
295 |
</command>
|
296 |
</menuContribution>
|
297 |
<menuContribution
|
298 |
locationURI="menu:menu.file.import.annotations"> |
299 |
<command
|
300 |
commandId="org.txm.annotation.kr.rcp.commands.ImportTable" |
301 |
label="%command.label.2" |
302 |
style="push"> |
303 |
<visibleWhen
|
304 |
checkEnabled="false"> |
305 |
<reference
|
306 |
definitionId="OneMainCorpusSelected"> |
307 |
</reference>
|
308 |
</visibleWhen>
|
309 |
</command>
|
310 |
</menuContribution>
|
311 |
</extension>
|
312 |
<extension
|
313 |
point="org.eclipse.ui.contexts"> |
314 |
<context
|
315 |
description="%context.description" |
316 |
id="org.txm.rcp.annotation.krview" |
317 |
name="%context.name"> |
318 |
</context>
|
319 |
</extension>
|
320 |
<extension
|
321 |
point="org.eclipse.core.expressions.definitions"> |
322 |
<definition
|
323 |
id="OneKRSelected"> |
324 |
<with
|
325 |
variable="selection"> |
326 |
<iterate
|
327 |
ifEmpty="false" |
328 |
operator="and"> |
329 |
<instanceof
|
330 |
value="org.txm.annotation.KnowledgeRepository"> |
331 |
</instanceof>
|
332 |
</iterate>
|
333 |
</with>
|
334 |
</definition>
|
335 |
<definition
|
336 |
id="OneLocalKRSelected"> |
337 |
<with
|
338 |
variable="selection"> |
339 |
<iterate
|
340 |
ifEmpty="false" |
341 |
operator="and"> |
342 |
<instanceof
|
343 |
value="org.txm.annotation.repository.LocalKnowledgeRepository"> |
344 |
</instanceof>
|
345 |
</iterate>
|
346 |
</with>
|
347 |
</definition>
|
348 |
<definition
|
349 |
id="OneAnnotationTypeSelected"> |
350 |
<with
|
351 |
variable="selection"> |
352 |
<iterate
|
353 |
ifEmpty="false" |
354 |
operator="and"> |
355 |
<instanceof
|
356 |
value="org.txm.annotation.repository.AnnotationType"> |
357 |
</instanceof>
|
358 |
</iterate>
|
359 |
</with>
|
360 |
</definition>
|
361 |
<definition
|
362 |
id="OneTypedValueSelected"> |
363 |
<with
|
364 |
variable="selection"> |
365 |
<iterate
|
366 |
ifEmpty="false" |
367 |
operator="and"> |
368 |
<instanceof
|
369 |
value="org.txm.annotation.repository.TypedValue"> |
370 |
</instanceof>
|
371 |
</iterate>
|
372 |
</with>
|
373 |
</definition>
|
374 |
<definition
|
375 |
id="CorpusNeedtoSaveAnnotation"> |
376 |
<and>
|
377 |
<test
|
378 |
forcePluginActivation="true" |
379 |
property="org.txm.rcp.testers.IsCorpusDirty"> |
380 |
</test>
|
381 |
</and>
|
382 |
</definition>
|
383 |
</extension>
|
384 |
|
385 |
<extension
|
386 |
point="org.eclipse.core.expressions.propertyTesters"> |
387 |
<propertyTester
|
388 |
class="org.txm.rcp.testers.IsCorpusDirty" |
389 |
id="org.txm.rcp.testers.IsCorpusDirty" |
390 |
namespace="org.txm.rcp.testers" |
391 |
properties="IsCorpusDirty" |
392 |
type="java.lang.Object"> |
393 |
</propertyTester>
|
394 |
</extension>
|
395 |
|
396 |
<extension
|
397 |
point="org.txm.annotation.rcp.editor.AnnotationArea"> |
398 |
<annotationtoolbar
|
399 |
class="org.txm.annotation.kr.rcp.concordance.KRAnnotation" |
400 |
position="3"> |
401 |
</annotationtoolbar>
|
402 |
<annotationtoolbar
|
403 |
class="org.txm.annotation.kr.rcp.concordance.WordAnnotationToolbar" |
404 |
position="1"> |
405 |
</annotationtoolbar>
|
406 |
<annotationtoolbar
|
407 |
class="org.txm.annotation.kr.rcp.concordance.SimpleKRAnnotation" |
408 |
position="2"> |
409 |
</annotationtoolbar>
|
410 |
</extension>
|
411 |
</plugin>
|