Statistics
| Revision:

root / tmp / org.txm.cah.rcp / plugin.xml @ 134

History | View | Annotate | Download (14.8 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.txm.chartsengine.chartcreator">
6
      <ChartCreator
7
            class="org.txm.cah.core.chartsengine.r.RCAHChartCreator"
8
            fileNamePrefix="cah">
9
      </ChartCreator>
10
   </extension>
11
   <extension
12
         id="commands"
13
         name="commands"
14
         point="org.eclipse.ui.commands">
15
      <command
16
            categoryId="org.txm.rcpapplication.category.txm"
17
            defaultHandler="org.txm.rcpapplication.commands.function.ComputeCAH"
18
            id="org.txm.rcpapplication.commands.function.ComputeCAH"
19
            name="%command.name.54">
20
      </command>
21
   </extension>
22
   <extension
23
         point="org.eclipse.ui.menus">
24
      <menuContribution
25
            locationURI="menu:org.eclipse.ui.main.menu">
26
         <menu
27
               id="menu.tools"
28
               label="%menu.label.6">
29
            <command
30
                  commandId="org.txm.rcpapplication.commands.function.ComputeFrequencyList"
31
                  icon="icons/functions/IndexP.png"
32
                  label="%command.label.79"
33
                  style="push"
34
                  tooltip="%command.tooltip.61">
35
               <visibleWhen
36
                     checkEnabled="false">
37
                  <reference
38
                        definitionId="OneCorpusSelected">
39
                  </reference>
40
               </visibleWhen>
41
            </command>
42
            <command
43
                  commandId="org.txm.rcpapplication.commands.function.ComputeIndex"
44
                  icon="icons/functions/Index.png"
45
                  label="%command.label.66"
46
                  style="push"
47
                  tooltip="%command.tooltip.62">
48
               <visibleWhen
49
                     checkEnabled="false">
50
                  <or>
51
                     <reference
52
                           definitionId="OnePartitionSelected">
53
                     </reference>
54
                     <reference
55
                           definitionId="OneCorpusSelected">
56
                     </reference>
57
                  </or>
58
               </visibleWhen>
59
            </command>
60
            <command
61
                  commandId="org.txm.rcpapplication.commands.function.ComputeConcordance"
62
                  icon="icons/functions/Concordances.png"
63
                  label="%command.label.11"
64
                  style="push"
65
                  tooltip="%command.tooltip.7">
66
               <visibleWhen
67
                     checkEnabled="false">
68
                  <reference
69
                        definitionId="OneCorpusSelected">
70
                  </reference>
71
               </visibleWhen>
72
            </command>
73
            <command
74
                  commandId="org.txm.rcpapplication.commands.function.ComputeCooccurrences"
75
                  icon="icons/functions/Cooccurrences.png"
76
                  label="%command.label.91"
77
                  style="push"
78
                  tooltip="%command.tooltip.53">
79
               <visibleWhen
80
                     checkEnabled="false">
81
                  <or>
82
                     <reference
83
                           definitionId="OneCorpusSelected">
84
                     </reference>
85
                     <reference
86
                           definitionId="OneConcordanceSelected">
87
                     </reference>
88
                  </or>
89
               </visibleWhen>
90
            </command>
91
            <command
92
                  commandId="org.txm.rcpapplication.commands.function.ComputeReferencer"
93
                  icon="icons/functions/Referencer.png"
94
                  label="%command.label.108"
95
                  style="push"
96
                  tooltip="%command.tooltip.62">
97
               <visibleWhen
98
                     checkEnabled="false">
99
                  <reference
100
                        definitionId="OneCorpusSelected">
101
                  </reference>
102
               </visibleWhen>
103
            </command>
104
            <separator
105
                  name="menu.tools.stats"
106
                  visible="true">
107
            </separator>
108
            <command
109
                  commandId="org.txm.rcpapplication.commands.function.ComputeCorrespondanceAnalysis"
110
                  icon="icons/functions/CorrespondanceAnalysis.png"
111
                  label="%command.label.80"
112
                  style="push"
113
                  tooltip="%command.tooltip.46">
114
               <visibleWhen
115
                     checkEnabled="false">
116
                  <or>
117
                     <reference
118
                           definitionId="OnePartitionSelected">
119
                     </reference>
120
                     <reference
121
                           definitionId="OneLexicalTableSelected">
122
                     </reference>
123
                     <reference
124
                           definitionId="OneICAComputableSelected">
125
                     </reference>
126
                  </or>
127
               </visibleWhen>
128
            </command>
129
            <command
130
                  commandId="org.txm.rcpapplication.commands.function.ComputeCAH"
131
                  icon="icons/functions/CAH.png"
132
                  label="%command.label.116"
133
                  style="push"
134
                  tooltip="%command.tooltip.69">
135
               <visibleWhen
136
                     checkEnabled="false">
137
                  <or>
138
                     <reference
139
                           definitionId="OneCASelected">
140
                     </reference>
141
                     <reference
142
                           definitionId="OneLexicalTableSelected">
143
                     </reference>
144
                     <reference
145
                           definitionId="OnePartitionSelected">
146
                     </reference>
147
                  </or>
148
               </visibleWhen>
149
            </command>
150
            <separator
151
                  name="menu.tools.misc"
152
                  visible="true">
153
            </separator>
154
            <command
155
                  commandId="org.txm.rcpapplication.commands.base.SendToR"
156
                  icon="icons/functions/SendToR.png"
157
                  label="%command.label.117"
158
                  style="push"
159
                  tooltip="%command.tooltip.70">
160
               <visibleWhen
161
                     checkEnabled="false">
162
                  <or>
163
                     <reference
164
                           definitionId="OneConcordanceSelected">
165
                     </reference>
166
                     <reference
167
                           definitionId="OneLexiconSelected">
168
                     </reference>
169
                     <reference
170
                           definitionId="OneIndexSelected">
171
                     </reference>
172
                     <reference
173
                           definitionId="OneCooccurrenceSelected">
174
                     </reference>
175
                     <reference
176
                           definitionId="OneReferencerSelected">
177
                     </reference>
178
                     <reference
179
                           definitionId="OneCorpusSelected">
180
                     </reference>
181
                  </or>
182
               </visibleWhen>
183
            </command>
184
            <command
185
                  commandId="org.eclipse.ui.window.preferences"
186
                  icon="icons/functions/prefs.png"
187
                  label="%command.label.4"
188
                  style="push"
189
                  tooltip="%command.tooltip.0">
190
            </command>
191
         </menu>
192
      </menuContribution>
193
      <menuContribution
194
            allPopups="true"
195
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
196
         <toolbar
197
               id="org.txm.rcpapplication.toolbartools">
198
            <command
199
                  commandId="org.txm.rcpapplication.commands.function.ComputeFrequencyList"
200
                  icon="icons/functions/IndexP.png"
201
                  label="%command.label.79"
202
                  style="push"
203
                  tooltip="%command.tooltip.61">
204
               <visibleWhen
205
                     checkEnabled="false">
206
                  <reference
207
                        definitionId="OneCorpusSelected">
208
                  </reference>
209
               </visibleWhen>
210
            </command>
211
            <command
212
                  commandId="org.txm.rcpapplication.commands.function.ComputeIndex"
213
                  icon="icons/functions/Index.png"
214
                  label="%command.label.66"
215
                  style="push"
216
                  tooltip="%command.tooltip.62">
217
               <visibleWhen
218
                     checkEnabled="false">
219
                  <or>
220
                     <reference
221
                           definitionId="OnePartitionSelected">
222
                     </reference>
223
                     <reference
224
                           definitionId="OneCorpusSelected">
225
                     </reference>
226
                  </or>
227
               </visibleWhen>
228
            </command>
229
            <command
230
                  commandId="org.txm.rcpapplication.commands.function.ComputeConcordance"
231
                  icon="icons/functions/Concordances.png"
232
                  label="%command.label.11"
233
                  style="push"
234
                  tooltip="%command.tooltip.7">
235
               <visibleWhen
236
                     checkEnabled="false">
237
                  <reference
238
                        definitionId="OneCorpusSelected">
239
                  </reference>
240
               </visibleWhen>
241
            </command>
242
            <command
243
                  commandId="org.txm.rcpapplication.commands.function.ComputeCooccurrences"
244
                  icon="icons/functions/Cooccurrences.png"
245
                  label="%command.label.96"
246
                  style="push"
247
                  tooltip="%command.tooltip.57">
248
               <visibleWhen
249
                     checkEnabled="false">
250
                  <or>
251
                     <reference
252
                           definitionId="OneCorpusSelected">
253
                     </reference>
254
                     <reference
255
                           definitionId="OneConcordanceSelected">
256
                     </reference>
257
                  </or>
258
               </visibleWhen>
259
            </command>
260
            <command
261
                  commandId="org.txm.rcpapplication.commands.function.ComputeReferencer"
262
                  icon="icons/functions/Referencer.png"
263
                  label="%command.label.108"
264
                  style="push"
265
                  tooltip="%command.tooltip.63">
266
               <visibleWhen
267
                     checkEnabled="false">
268
                  <reference
269
                        definitionId="OneCorpusSelected">
270
                  </reference>
271
               </visibleWhen>
272
            </command>
273
            <separator
274
                  name="org.txm.rcp.separator4"
275
                  visible="true">
276
            </separator>
277
            <command
278
                  commandId="org.txm.rcpapplication.commands.function.ComputeCorrespondanceAnalysis"
279
                  icon="icons/functions/CorrespondanceAnalysis.png"
280
                  label="%command.label.80"
281
                  style="push"
282
                  tooltip="%command.tooltip.46">
283
               <visibleWhen
284
                     checkEnabled="false">
285
                  <or>
286
                     <reference
287
                           definitionId="OnePartitionSelected">
288
                     </reference>
289
                     <reference
290
                           definitionId="OneLexicalTableSelected">
291
                     </reference>
292
                     <reference
293
                           definitionId="OneICAComputableSelected">
294
                     </reference>
295
                  </or>
296
               </visibleWhen>
297
            </command>
298
            <command
299
                  commandId="org.txm.rcpapplication.commands.function.ComputeCAH"
300
                  icon="icons/functions/CAH.png"
301
                  label="%command.label.120"
302
                  style="push"
303
                  tooltip="%command.tooltip.73">
304
               <visibleWhen
305
                     checkEnabled="false">
306
                  <or>
307
                     <reference
308
                           definitionId="OneCASelected">
309
                     </reference>
310
                     <reference
311
                           definitionId="OneLexicalTableSelected">
312
                     </reference>
313
                     <reference
314
                           definitionId="OnePartitionSelected">
315
                     </reference>
316
                  </or>
317
               </visibleWhen>
318
            </command>
319
            <separator
320
                  name="org.txm.rcpapplication.separator1">
321
            </separator>
322
            <command
323
                  commandId="org.txm.rcpapplication.commands.base.SendToR"
324
                  icon="icons/functions/SendToR.png"
325
                  label="%command.label.121"
326
                  style="push"
327
                  tooltip="%command.tooltip.74">
328
               <visibleWhen
329
                     checkEnabled="false">
330
                  <or>
331
                     <reference
332
                           definitionId="OneConcordanceSelected">
333
                     </reference>
334
                     <reference
335
                           definitionId="OneLexiconSelected">
336
                     </reference>
337
                     <reference
338
                           definitionId="OneIndexSelected">
339
                     </reference>
340
                     <reference
341
                           definitionId="OneCooccurrenceSelected">
342
                     </reference>
343
                     <reference
344
                           definitionId="OneReferencerSelected">
345
                     </reference>
346
                     <reference
347
                           definitionId="OneCorpusSelected">
348
                     </reference>
349
                  </or>
350
               </visibleWhen>
351
            </command>
352
            <command
353
                  commandId="org.eclipse.ui.window.preferences"
354
                  icon="icons/functions/prefs.png"
355
                  label="%command.label.4"
356
                  style="push"
357
                  tooltip="%command.tooltip.0">
358
            </command>
359
         </toolbar>
360
      </menuContribution>
361
      <menuContribution
362
            locationURI="popup:org.txm.rcpapplication.views.CorporaView">
363
         <command
364
               commandId="org.txm.rcpapplication.commands.function.ComputeCAH"
365
               icon="icons/functions/CAH.png"
366
               label="%command.label.126"
367
               style="push"
368
               tooltip="%command.tooltip.79">
369
            <visibleWhen
370
                  checkEnabled="false">
371
               <or>
372
                  <reference
373
                        definitionId="OneCASelected">
374
                  </reference>
375
                  <reference
376
                        definitionId="OneLexicalTableSelected">
377
                  </reference>
378
                  <reference
379
                        definitionId="OnePartitionSelected">
380
                  </reference>
381
               </or>
382
            </visibleWhen>
383
         </command>
384
      </menuContribution>
385
   </extension>
386

    
387
</plugin>