Statistics
| Revision:

root / tmp / org.txm.index.rcp / plugin.xml @ 859

History | View | Annotate | Download (11.4 kB)

1 209 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 209 sjacqu01
<?eclipse version="3.4"?>
3 209 sjacqu01
<plugin>
4 209 sjacqu01
   <extension
5 209 sjacqu01
         point="org.eclipse.ui.menus">
6 499 mdecorde
7 209 sjacqu01
      <menuContribution
8 698 mdecorde
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.tools.doc">
9 499 mdecorde
                    <command
10 499 mdecorde
               commandId="org.txm.index.rcp.handlers.ComputeLexicon"
11 499 mdecorde
               icon="icons/lexicon.png"
12 499 mdecorde
               style="push">
13 499 mdecorde
            <visibleWhen
14 499 mdecorde
                  checkEnabled="false">
15 499 mdecorde
               <reference
16 499 mdecorde
                     definitionId="OneCorpusSelected">
17 499 mdecorde
               </reference>
18 499 mdecorde
            </visibleWhen>
19 499 mdecorde
         </command>
20 209 sjacqu01
         <command
21 491 mdecorde
               commandId="org.txm.index.rcp.handlers.ComputeIndex"
22 209 sjacqu01
               icon="icons/index.png"
23 209 sjacqu01
               style="push">
24 209 sjacqu01
            <visibleWhen
25 209 sjacqu01
                  checkEnabled="false">
26 209 sjacqu01
               <or>
27 209 sjacqu01
                  <reference
28 209 sjacqu01
                        definitionId="OnePartitionSelected">
29 209 sjacqu01
                  </reference>
30 209 sjacqu01
                  <reference
31 209 sjacqu01
                        definitionId="OneCorpusSelected">
32 209 sjacqu01
                  </reference>
33 209 sjacqu01
               </or>
34 209 sjacqu01
            </visibleWhen>
35 209 sjacqu01
         </command>
36 209 sjacqu01
      </menuContribution>
37 209 sjacqu01
      <menuContribution
38 698 mdecorde
            locationURI="menu:menu.tools?after=menu.tools.separator.doc">
39 499 mdecorde
                    <command
40 499 mdecorde
               commandId="org.txm.index.rcp.handlers.ComputeLexicon"
41 499 mdecorde
               icon="icons/lexicon.png"
42 499 mdecorde
               style="push">
43 499 mdecorde
            <visibleWhen
44 499 mdecorde
                  checkEnabled="false">
45 499 mdecorde
               <reference
46 499 mdecorde
                     definitionId="OneCorpusSelected">
47 499 mdecorde
               </reference>
48 499 mdecorde
            </visibleWhen>
49 499 mdecorde
         </command>
50 209 sjacqu01
         <command
51 491 mdecorde
               commandId="org.txm.index.rcp.handlers.ComputeIndex"
52 209 sjacqu01
               icon="icons/index.png"
53 209 sjacqu01
               style="push">
54 209 sjacqu01
            <visibleWhen
55 209 sjacqu01
                  checkEnabled="false">
56 209 sjacqu01
               <or>
57 209 sjacqu01
                  <reference
58 209 sjacqu01
                        definitionId="OnePartitionSelected">
59 209 sjacqu01
                  </reference>
60 209 sjacqu01
                  <reference
61 209 sjacqu01
                        definitionId="OneCorpusSelected">
62 209 sjacqu01
                  </reference>
63 209 sjacqu01
               </or>
64 209 sjacqu01
            </visibleWhen>
65 209 sjacqu01
         </command>
66 209 sjacqu01
      </menuContribution>
67 209 sjacqu01
      <menuContribution
68 209 sjacqu01
            allPopups="false"
69 324 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbartools">
70 499 mdecorde
                    <command
71 499 mdecorde
               commandId="org.txm.index.rcp.handlers.ComputeLexicon"
72 499 mdecorde
               icon="icons/lexicon.png"
73 499 mdecorde
               style="push">
74 499 mdecorde
            <visibleWhen
75 499 mdecorde
                  checkEnabled="false">
76 499 mdecorde
               <reference
77 499 mdecorde
                     definitionId="OneCorpusSelected">
78 499 mdecorde
               </reference>
79 499 mdecorde
            </visibleWhen>
80 499 mdecorde
         </command>
81 209 sjacqu01
         <command
82 491 mdecorde
               commandId="org.txm.index.rcp.handlers.ComputeIndex"
83 209 sjacqu01
               icon="icons/index.png"
84 209 sjacqu01
               style="push"
85 264 sjacqu01
               tooltip="%command.tooltip">
86 209 sjacqu01
            <visibleWhen
87 209 sjacqu01
                  checkEnabled="false">
88 209 sjacqu01
               <or>
89 209 sjacqu01
                  <reference
90 664 sjacqu01
                        definitionId="OneCorpusSelected">
91 209 sjacqu01
                  </reference>
92 664 sjacqu01
               </or>
93 664 sjacqu01
            </visibleWhen>
94 664 sjacqu01
         </command>
95 664 sjacqu01
      </menuContribution>
96 664 sjacqu01
      <menuContribution
97 664 sjacqu01
            allPopups="false"
98 664 sjacqu01
            locationURI="toolbar:org.txm.rcp.toolbartools?after=ComputeLexicalTableFromPartition">
99 664 sjacqu01
         <command
100 664 sjacqu01
               commandId="org.txm.index.rcp.handlers.ComputeIndex"
101 664 sjacqu01
               icon="icons/index.png"
102 664 sjacqu01
               id="ComputeIndexFromPartition"
103 664 sjacqu01
               style="push"
104 664 sjacqu01
               tooltip="%command.tooltip">
105 664 sjacqu01
            <visibleWhen
106 664 sjacqu01
                  checkEnabled="false">
107 664 sjacqu01
               <or>
108 209 sjacqu01
                  <reference
109 664 sjacqu01
                        definitionId="OnePartitionSelected">
110 209 sjacqu01
                  </reference>
111 209 sjacqu01
               </or>
112 209 sjacqu01
            </visibleWhen>
113 209 sjacqu01
         </command>
114 209 sjacqu01
      </menuContribution>
115 626 sjacqu01
               <menuContribution
116 843 sjacqu01
                     locationURI="popup:org.txm.index.rcp.editors.DictionnaryEditor">
117 843 sjacqu01
                  <command
118 859 sjacqu01
                        commandId="org.txm.index.rcp.handlers.ComputeIndex"
119 845 sjacqu01
                        icon="icons/index.png"
120 845 sjacqu01
                        label="%command.name.2"
121 843 sjacqu01
                        style="push">
122 843 sjacqu01
                  </command>
123 845 sjacqu01
               </menuContribution>
124 845 sjacqu01
               <menuContribution
125 845 sjacqu01
                     locationURI="popup:org.txm.internalview.rcp.editors.InternalViewEditor">
126 843 sjacqu01
                  <command
127 859 sjacqu01
                        commandId="org.txm.index.rcp.handlers.ComputeIndex"
128 845 sjacqu01
                        icon="icons/index.png"
129 845 sjacqu01
                        label="%command.name.2"
130 843 sjacqu01
                        style="push">
131 843 sjacqu01
                  </command>
132 843 sjacqu01
               </menuContribution>
133 859 sjacqu01
               <menuContribution
134 859 sjacqu01
                     locationURI="popup:ChartEditorContextMenuItemArea.ItemMenu">
135 859 sjacqu01
                  <command
136 859 sjacqu01
                        commandId="org.txm.index.rcp.handlers.ComputeIndex"
137 859 sjacqu01
                        icon="icons/index.png"
138 859 sjacqu01
                        label="%command.name.2"
139 859 sjacqu01
                        style="push">
140 859 sjacqu01
                     <visibleWhen
141 859 sjacqu01
                           checkEnabled="false">
142 859 sjacqu01
                        <reference
143 859 sjacqu01
                              definitionId="ProgressionEditorActive">
144 859 sjacqu01
                        </reference>
145 859 sjacqu01
                     </visibleWhen>
146 859 sjacqu01
                  </command>
147 859 sjacqu01
               </menuContribution>
148 626 sjacqu01
149 209 sjacqu01
   </extension>
150 209 sjacqu01
   <extension
151 209 sjacqu01
         point="org.eclipse.ui.editors">
152 209 sjacqu01
      <editor
153 209 sjacqu01
            class="org.txm.index.rcp.editors.IndexEditor"
154 209 sjacqu01
            default="false"
155 209 sjacqu01
            icon="icons/index.png"
156 491 mdecorde
            id="org.txm.index.rcp.editors.IndexEditor"
157 264 sjacqu01
            name="%editor.name">
158 209 sjacqu01
      </editor>
159 499 mdecorde
      <editor
160 499 mdecorde
            class="org.txm.index.rcp.editors.DictionnaryEditor"
161 499 mdecorde
            default="false"
162 499 mdecorde
            icon="icons/lexicon.png"
163 499 mdecorde
            id="org.txm.index.rcp.editors.DictionnaryEditor"
164 797 sjacqu01
            name="%editor.name.0">
165 499 mdecorde
      </editor>
166 209 sjacqu01
   </extension>
167 209 sjacqu01
   <extension
168 209 sjacqu01
         point="org.eclipse.core.runtime.adapters">
169 209 sjacqu01
      <factory
170 209 sjacqu01
            adaptableType="org.txm.index.core.functions.Index"
171 230 sjacqu01
            class="org.txm.index.rcp.adapters.IndexAdapterFactory">
172 209 sjacqu01
         <adapter
173 209 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
174 209 sjacqu01
         </adapter>
175 209 sjacqu01
      </factory>
176 619 sjacqu01
      <factory
177 726 sjacqu01
            adaptableType="org.txm.index.core.functions.Lexicon"
178 619 sjacqu01
            class="org.txm.index.rcp.adapters.LexiconAdapterFactory">
179 619 sjacqu01
         <adapter
180 619 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
181 619 sjacqu01
         </adapter>
182 619 sjacqu01
      </factory>
183 209 sjacqu01
   </extension>
184 209 sjacqu01
   <extension
185 209 sjacqu01
         point="org.eclipse.ui.commands">
186 499 mdecorde
187 209 sjacqu01
      <command
188 324 mdecorde
            categoryId="org.txm.rcp.category.txm"
189 209 sjacqu01
            defaultHandler="org.txm.index.rcp.handlers.ComputeIndex"
190 491 mdecorde
            id="org.txm.index.rcp.handlers.ComputeIndex"
191 737 sjacqu01
            name="%command.name"
192 737 sjacqu01
            returnTypeId="org.txm.index.core.functions.Index">
193 209 sjacqu01
      </command>
194 499 mdecorde
      <command
195 499 mdecorde
            categoryId="org.txm.rcp.category.txm"
196 499 mdecorde
            defaultHandler="org.txm.index.rcp.handlers.ComputeLexicon"
197 499 mdecorde
            id="org.txm.index.rcp.handlers.ComputeLexicon"
198 797 sjacqu01
            name="%command.name.0">
199 499 mdecorde
      </command>
200 726 sjacqu01
201 726 sjacqu01
      <command
202 726 sjacqu01
            defaultHandler="org.txm.synopticedition.rcp.commands.link.IndexToLexicalTable"
203 726 sjacqu01
            id="org.txm.synopticedition.rcp.commands.link.IndexToLexicalTable"
204 726 sjacqu01
            name="%command.name.43">
205 726 sjacqu01
      </command>
206 726 sjacqu01
207 726 sjacqu01
208 209 sjacqu01
   </extension>
209 264 sjacqu01
   <extension
210 264 sjacqu01
         point="org.eclipse.core.expressions.definitions">
211 264 sjacqu01
      <definition
212 264 sjacqu01
            id="OneIndexSelected">
213 264 sjacqu01
         <with
214 264 sjacqu01
               variable="selection">
215 264 sjacqu01
            <iterate
216 264 sjacqu01
                  ifEmpty="false"
217 264 sjacqu01
                  operator="and">
218 264 sjacqu01
               <instanceof
219 264 sjacqu01
                     value="org.txm.index.core.functions.Index">
220 264 sjacqu01
               </instanceof>
221 264 sjacqu01
            </iterate>
222 264 sjacqu01
         </with>
223 264 sjacqu01
      </definition>
224 635 sjacqu01
      <definition
225 635 sjacqu01
            id="OneLexiconSelected">
226 635 sjacqu01
         <with
227 635 sjacqu01
               variable="selection">
228 635 sjacqu01
            <iterate
229 635 sjacqu01
                  ifEmpty="false"
230 635 sjacqu01
                  operator="and">
231 635 sjacqu01
               <instanceof
232 726 sjacqu01
                     value="org.txm.index.core.functions.Lexicon">
233 635 sjacqu01
               </instanceof>
234 635 sjacqu01
            </iterate>
235 635 sjacqu01
         </with>
236 635 sjacqu01
      </definition>
237 843 sjacqu01
      <definition
238 843 sjacqu01
            id="IndexEditorActive">
239 843 sjacqu01
         <with
240 843 sjacqu01
               variable="activePart">
241 843 sjacqu01
            <instanceof
242 843 sjacqu01
                  value="org.txm.index.rcp.editors.IndexEditor">
243 843 sjacqu01
            </instanceof>
244 843 sjacqu01
         </with>
245 843 sjacqu01
      </definition>
246 843 sjacqu01
      <definition
247 843 sjacqu01
            id="LexiconEditorActive">
248 843 sjacqu01
         <with
249 843 sjacqu01
               variable="activePart">
250 843 sjacqu01
            <instanceof
251 843 sjacqu01
                  value="org.txm.index.rcp.editors.DictionnaryEditor">
252 843 sjacqu01
            </instanceof>
253 843 sjacqu01
         </with>
254 843 sjacqu01
      </definition>
255 264 sjacqu01
   </extension>
256 306 mdecorde
   <extension
257 306 mdecorde
         point="org.txm.statengine.r.rcp.sendtor">
258 306 mdecorde
      <sendtorcommand></sendtorcommand>
259 306 mdecorde
   </extension>
260 516 mdecorde
   <extension
261 516 mdecorde
         point="org.eclipse.ui.preferencePages">
262 516 mdecorde
      <page
263 791 sjacqu01
            category="org.txm.rcp.preferences.UserPreferencePage"
264 516 mdecorde
            class="org.txm.index.rcp.preferences.IndexPreferencesPage"
265 516 mdecorde
            id="org.txm.index.rcp.preferences.IndexPreferencesPage"
266 797 sjacqu01
            name="%page.name">
267 516 mdecorde
      </page>
268 516 mdecorde
   </extension>
269 838 sjacqu01
   <extension
270 838 sjacqu01
         point="org.eclipse.ui.handlers">
271 838 sjacqu01
      <handler
272 845 sjacqu01
            class="org.txm.index.rcp.handlers.SendIndexTo"
273 859 sjacqu01
            commandId="org.txm.progression.rcp.handlers.ComputeProgression">
274 843 sjacqu01
         <activeWhen>
275 845 sjacqu01
         <and>
276 843 sjacqu01
         <or>
277 843 sjacqu01
           <reference
278 843 sjacqu01
                 definitionId="IndexEditorActive">
279 843 sjacqu01
           </reference>
280 843 sjacqu01
           <reference
281 843 sjacqu01
                 definitionId="LexiconEditorActive">
282 843 sjacqu01
           </reference>
283 843 sjacqu01
284 843 sjacqu01
         </or>
285 845 sjacqu01
         <reference
286 859 sjacqu01
               definitionId="SendSelectionContextNotActive">
287 845 sjacqu01
         </reference>
288 845 sjacqu01
         </and>
289 843 sjacqu01
         </activeWhen>
290 838 sjacqu01
      </handler>
291 838 sjacqu01
      <handler
292 845 sjacqu01
            class="org.txm.index.rcp.handlers.SendIndexTo"
293 859 sjacqu01
            commandId="org.txm.concordance.rcp.handlers.ComputeConcordance">
294 843 sjacqu01
         <activeWhen>
295 845 sjacqu01
         <and>
296 843 sjacqu01
            <or>
297 843 sjacqu01
               <reference
298 843 sjacqu01
                     definitionId="IndexEditorActive">
299 843 sjacqu01
               </reference>
300 843 sjacqu01
               <reference
301 843 sjacqu01
                     definitionId="LexiconEditorActive">
302 843 sjacqu01
               </reference>
303 843 sjacqu01
            </or>
304 859 sjacqu01
305 859 sjacqu01
306 859 sjacqu01
               <reference
307 859 sjacqu01
                     definitionId="SendSelectionContextNotActive">
308 859 sjacqu01
               </reference>
309 859 sjacqu01
310 845 sjacqu01
            </and>
311 843 sjacqu01
         </activeWhen>
312 838 sjacqu01
      </handler>
313 843 sjacqu01
      <handler
314 845 sjacqu01
            class="org.txm.index.rcp.handlers.SendIndexTo"
315 859 sjacqu01
            commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences">
316 843 sjacqu01
         <activeWhen>
317 845 sjacqu01
         <and>
318 843 sjacqu01
               <reference
319 843 sjacqu01
                     definitionId="IndexEditorActive">
320 843 sjacqu01
               </reference>
321 845 sjacqu01
               <reference
322 859 sjacqu01
                     definitionId="SendSelectionContextNotActive">
323 845 sjacqu01
               </reference>
324 845 sjacqu01
               </and>
325 843 sjacqu01
         </activeWhen>
326 843 sjacqu01
      </handler>
327 843 sjacqu01
      <handler
328 845 sjacqu01
            class="org.txm.index.rcp.handlers.SendIndexTo"
329 859 sjacqu01
            commandId="org.txm.index.rcp.handlers.ComputeIndex">
330 843 sjacqu01
         <activeWhen>
331 845 sjacqu01
         <and>
332 843 sjacqu01
               <reference
333 843 sjacqu01
                     definitionId="LexiconEditorActive">
334 843 sjacqu01
               </reference>
335 845 sjacqu01
               <reference
336 859 sjacqu01
                     definitionId="SendSelectionContextNotActive">
337 845 sjacqu01
               </reference>
338 845 sjacqu01
               </and>
339 843 sjacqu01
         </activeWhen>
340 843 sjacqu01
      </handler>
341 838 sjacqu01
   </extension>
342 209 sjacqu01
343 209 sjacqu01
</plugin>