Statistics
| Revision:

root / tmp / org.txm.annotation.rcp / plugin.xml @ 791

History | View | Annotate | Download (11.4 kB)

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