root / tmp / org.txm.annotation.kr.rcp / plugin.xml @ 2496
History | View | Annotate | Download (11.6 kB)
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 |
</extension>
|
54 |
<extension
|
55 |
point="org.eclipse.ui.preferencePages"> |
56 |
</extension>
|
57 |
<extension
|
58 |
point="org.eclipse.ui.views"> |
59 |
<view
|
60 |
category="org.txm.rcp" |
61 |
class="org.txm.annotation.kr.rcp.views.knowledgerepositories.KRView" |
62 |
id="org.txm.annotation.kr.rcp.views.knowledgerepositories.KRView" |
63 |
name="%view.name" |
64 |
restorable="true"> |
65 |
</view>
|
66 |
</extension>
|
67 |
<extension
|
68 |
point="org.eclipse.ui.bindings"> |
69 |
<key
|
70 |
commandId="org.txm.rcp.commands.krview.Add" |
71 |
contextId="org.txm.rcp.annotation.krview" |
72 |
schemeId="org.txm.rcp.scheme" |
73 |
sequence="Ctrl+A"> |
74 |
</key>
|
75 |
<key
|
76 |
commandId="org.txm.rcp.commands.krview.Reload" |
77 |
contextId="org.txm.rcp.annotation.krview" |
78 |
schemeId="org.txm.rcp.scheme" |
79 |
sequence="Ctrl+R"> |
80 |
</key>
|
81 |
<key
|
82 |
commandId="org.txm.rcp.commands.krview.Informations" |
83 |
contextId="org.txm.rcp.annotation.krview" |
84 |
schemeId="org.txm.rcp.scheme" |
85 |
sequence="Ctrl+I"> |
86 |
</key>
|
87 |
<key
|
88 |
commandId="org.txm.rcp.commands.krview.Copy" |
89 |
contextId="org.txm.rcp.annotation.krview" |
90 |
schemeId="org.txm.rcp.scheme" |
91 |
sequence="Ctrl+C"> |
92 |
</key>
|
93 |
<key
|
94 |
commandId="org.txm.rcp.commands.krview.Delete" |
95 |
contextId="org.txm.rcp.annotation.krview" |
96 |
schemeId="org.txm.rcp.scheme" |
97 |
sequence="Ctrl+D"> |
98 |
</key>
|
99 |
</extension>
|
100 |
<extension
|
101 |
point="org.eclipse.ui.menus"> |
102 |
<menuContribution
|
103 |
allPopups="false" |
104 |
locationURI="menu:menu.display.views?before=menu.display.views.separator"> |
105 |
<command
|
106 |
commandId="org.txm.rcp.commands.krview.OpenKRView" |
107 |
label="%command.label" |
108 |
style="push"> |
109 |
</command>
|
110 |
</menuContribution>
|
111 |
<menuContribution
|
112 |
locationURI="popup:org.txm.annotation.kr.rcp.views.knowledgerepositories.KRView"> |
113 |
<command
|
114 |
commandId="org.txm.rcp.commands.krview.Copy" |
115 |
style="push" |
116 |
tooltip="%command.tooltip.89"> |
117 |
</command>
|
118 |
<command
|
119 |
commandId="org.txm.rcp.commands.krview.Reload" |
120 |
style="push" |
121 |
tooltip="%command.tooltip.90"> |
122 |
<visibleWhen
|
123 |
checkEnabled="false"> |
124 |
<reference
|
125 |
definitionId="OneKRSelected"> |
126 |
</reference>
|
127 |
</visibleWhen>
|
128 |
</command>
|
129 |
<command
|
130 |
commandId="org.txm.rcp.commands.krview.Informations" |
131 |
style="push" |
132 |
tooltip="%command.tooltip.93"> |
133 |
</command>
|
134 |
<command
|
135 |
commandId="org.txm.rcp.commands.krview.Add" |
136 |
style="push" |
137 |
tooltip="%command.tooltip.94"> |
138 |
<visibleWhen
|
139 |
checkEnabled="false"> |
140 |
<or>
|
141 |
<reference
|
142 |
definitionId="OneLocalKRSelected"> |
143 |
</reference>
|
144 |
<reference
|
145 |
definitionId="OneAnnotationTypeSelected"> |
146 |
</reference>
|
147 |
</or>
|
148 |
</visibleWhen>
|
149 |
</command>
|
150 |
<command
|
151 |
commandId="org.txm.rcp.commands.krview.Delete" |
152 |
style="push" |
153 |
tooltip="%command.tooltip.95"> |
154 |
<visibleWhen
|
155 |
checkEnabled="false"> |
156 |
<or>
|
157 |
<reference
|
158 |
definitionId="OneAnnotationTypeSelected"> |
159 |
</reference>
|
160 |
<reference
|
161 |
definitionId="OneTypedValueSelected"> |
162 |
</reference>
|
163 |
</or>
|
164 |
</visibleWhen>
|
165 |
</command>
|
166 |
</menuContribution>
|
167 |
<menuContribution
|
168 |
allPopups="false" |
169 |
locationURI="menu:menu.file.export"> |
170 |
<command
|
171 |
commandId="org.txm.rcp.commands.annotation.ExportStandoff" |
172 |
id="menu.file.export.exporttei" |
173 |
label="%command.label.0" |
174 |
style="push"> |
175 |
<visibleWhen
|
176 |
checkEnabled="false"> |
177 |
<reference
|
178 |
definitionId="OneMainCorpusSelected"> |
179 |
</reference>
|
180 |
</visibleWhen>
|
181 |
</command>
|
182 |
</menuContribution>
|
183 |
<menuContribution
|
184 |
allPopups="false" |
185 |
locationURI="menu:menu.corpus?after=menu.corpus.build"> |
186 |
<command
|
187 |
commandId="org.txm.rcp.commands.annotation.SaveAnnotations" |
188 |
icon="icons/functions/save.png" |
189 |
label="%command.label.111" |
190 |
style="push"> |
191 |
<visibleWhen
|
192 |
checkEnabled="false"> |
193 |
<reference
|
194 |
definitionId="NeedToSaveAnnotations"> |
195 |
</reference>
|
196 |
</visibleWhen>
|
197 |
</command>
|
198 |
</menuContribution>
|
199 |
<menuContribution
|
200 |
allPopups="false" |
201 |
locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.annotation"> |
202 |
<command
|
203 |
commandId="org.txm.rcp.commands.annotation.SaveAnnotations" |
204 |
icon="icons/functions/save.png" |
205 |
label="%command.label.151" |
206 |
style="push"> |
207 |
<visibleWhen
|
208 |
checkEnabled="false"> |
209 |
<reference
|
210 |
definitionId="NeedToSaveAnnotations"> |
211 |
</reference>
|
212 |
</visibleWhen>
|
213 |
</command>
|
214 |
</menuContribution>
|
215 |
<menuContribution
|
216 |
allPopups="false" |
217 |
locationURI="menu:corporaview.menu.file.export?after=org.txm.rcp.views.corpora.CorporaView.annotation"> |
218 |
<command
|
219 |
commandId="org.txm.rcp.commands.annotation.ExportStandoff" |
220 |
label="%command.label.193" |
221 |
style="push"> |
222 |
<visibleWhen
|
223 |
checkEnabled="false"> |
224 |
<reference
|
225 |
definitionId="OneMainCorpusSelected"> |
226 |
</reference>
|
227 |
</visibleWhen>
|
228 |
</command>
|
229 |
</menuContribution>
|
230 |
<menuContribution
|
231 |
allPopups="false" |
232 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView"> |
233 |
<command
|
234 |
commandId="org.txm.rcp.commands.annotation.SaveAnnotations" |
235 |
icon="icons/functions/save.png" |
236 |
label="%command.label.154" |
237 |
style="push"> |
238 |
<visibleWhen
|
239 |
checkEnabled="false"> |
240 |
<reference
|
241 |
definitionId="NeedToSaveAnnotations"> |
242 |
</reference>
|
243 |
</visibleWhen>
|
244 |
</command>
|
245 |
</menuContribution>
|
246 |
</extension>
|
247 |
<extension
|
248 |
point="org.eclipse.ui.contexts"> |
249 |
<context
|
250 |
description="%context.description" |
251 |
id="org.txm.rcp.annotation.krview" |
252 |
name="%context.name"> |
253 |
</context>
|
254 |
</extension>
|
255 |
<extension
|
256 |
point="org.eclipse.core.expressions.definitions"> |
257 |
<definition
|
258 |
id="OneKRSelected"> |
259 |
<with
|
260 |
variable="selection"> |
261 |
<iterate
|
262 |
ifEmpty="false" |
263 |
operator="and"> |
264 |
<instanceof
|
265 |
value="org.txm.annotation.KnowledgeRepository"> |
266 |
</instanceof>
|
267 |
</iterate>
|
268 |
</with>
|
269 |
</definition>
|
270 |
<definition
|
271 |
id="OneLocalKRSelected"> |
272 |
<with
|
273 |
variable="selection"> |
274 |
<iterate
|
275 |
ifEmpty="false" |
276 |
operator="and"> |
277 |
<instanceof
|
278 |
value="org.txm.annotation.repository.LocalKnowledgeRepository"> |
279 |
</instanceof>
|
280 |
</iterate>
|
281 |
</with>
|
282 |
</definition>
|
283 |
<definition
|
284 |
id="OneAnnotationTypeSelected"> |
285 |
<with
|
286 |
variable="selection"> |
287 |
<iterate
|
288 |
ifEmpty="false" |
289 |
operator="and"> |
290 |
<instanceof
|
291 |
value="org.txm.annotation.repository.AnnotationType"> |
292 |
</instanceof>
|
293 |
</iterate>
|
294 |
</with>
|
295 |
</definition>
|
296 |
<definition
|
297 |
id="OneTypedValueSelected"> |
298 |
<with
|
299 |
variable="selection"> |
300 |
<iterate
|
301 |
ifEmpty="false" |
302 |
operator="and"> |
303 |
<instanceof
|
304 |
value="org.txm.annotation.repository.TypedValue"> |
305 |
</instanceof>
|
306 |
</iterate>
|
307 |
</with>
|
308 |
</definition>
|
309 |
</extension>
|
310 |
<extension
|
311 |
point="org.txm.annotation.rcp.editor.AnnotationArea"> |
312 |
<annotationtoolbar
|
313 |
class="org.txm.annotation.kr.rcp.concordance.KRAnnotation" |
314 |
position="3"> |
315 |
</annotationtoolbar>
|
316 |
<annotationtoolbar
|
317 |
class="org.txm.annotation.kr.rcp.concordance.WordAnnotationToolbar" |
318 |
position="1"> |
319 |
</annotationtoolbar>
|
320 |
<annotationtoolbar
|
321 |
class="org.txm.annotation.kr.rcp.concordance.SimpleKRAnnotation" |
322 |
position="2"> |
323 |
</annotationtoolbar>
|
324 |
</extension>
|
325 |
</plugin>
|