Statistics
| Revision:

root / tmp / org.txm.annotation.kr.rcp / plugin.xml @ 2564

History | View | Annotate | Download (11.6 kB)

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