Statistics
| Revision:

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

History | View | Annotate | Download (11.8 kB)

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