Statistics
| Revision:

root / tmp / org.txm.rcp / plugin.xml @ 845

History | View | Annotate | Download (116.4 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
 
6
   <extension
7
         id="Application"
8
         point="org.eclipse.core.runtime.applications">
9
      <application
10
            icon="icons/logo/TXM logo.png">
11
         <run
12
               class="org.txm.rcp.Application">
13
         </run>
14
      </application>
15
   </extension>
16
   <extension
17
         point="org.eclipse.ui.perspectives">
18
      <perspective
19
            class="org.txm.rcp.perspective.TXMPerspective"
20
            icon="icons/objects/corpus.png"
21
            id="org.txm.rcp.perspective.TXMPerspective"
22
            name="%perspective.name">
23
      </perspective>
24
   </extension>
25
   <extension
26
         id="product"
27
         point="org.eclipse.core.runtime.products">
28
      <product
29
            application="org.txm.rcp.Application"
30
            description="TXM desktop application"
31
            name="TXM">
32
         <property
33
               name="appName"
34
               value="TXM">
35
         </property>
36
         <property
37
               name="preferenceCustomization"
38
               value="plugin_customization.ini">
39
         </property>
40
         <property
41
               name="windowImages"
42
               value="icons/logo/TXM logo 16x16.png,icons/logo/TXM logo.png,icons/logo/TXM logo 48x48.png,icons/logo/TXM logo 64x64.png,icons/logo/TXM logo 128x128.png,icons/logo/TXM logo 256x256.png">
43
         </property>
44
         <property
45
               name="startupForegroundColor"
46
               value="000000">
47
         </property>
48
         <property
49
               name="startupMessageRect"
50
               value="13,312,290,20">
51
         </property>
52
         <property
53
               name="aboutImage"
54
               value="icons/logo/about TXM.png">
55
         </property>
56
         <property
57
               name="aboutText"
58
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.0 Copyright © 2010-2018 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
59
         </property>
60
         <property
61
               name="startupProgressRect"
62
               value="13,332,290,15">
63
         </property>
64
         <property
65
               name="cssTheme"
66
               value="org.txm.rcp.theme.default.linux">
67
         </property>
68
      </product>
69
   </extension>
70
   <extension
71
         point="org.eclipse.ui.perspectiveExtensions">
72
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
73
         <view
74
               closeable="false"
75
               id="org.txm.rcp.views.corpora.CorporaView"
76
               ratio="0.5"
77
               relationship="right"
78
               relative="org.eclipse.ui.views.TaskList"/>
79
         <view
80
               closeable="true"
81
               id="org.eclipse.ui.views.ProgressView"
82
               ratio="0.5"
83
               relationship="bottom"
84
               showTitle="true"
85
               visible="true">
86
         </view>
87
         <view
88
               closeable="true"
89
               id="org.txm.rcp.views.GroovyConsole"
90
               minimized="false"
91
               ratio="0.5"
92
               relationship="bottom"
93
               visible="true">
94
         </view>
95
         <view
96
               closeable="true"
97
               id="org.txm.rcp.views.QueriesView"
98
               ratio="0.5"
99
               relationship="right"
100
               relative="org.eclipse.ui.views.TaskList">
101
         </view>
102
      </perspectiveExtension>
103
   </extension>
104
   <extension
105
         point="org.eclipse.ui.views">
106
      <category
107
            id="org.txm.rcp"
108
            name="%category.name"/>
109
      <view
110
            category="org.txm.rcp"
111
            class="org.txm.rcp.views.corpora.CorporaView"
112
            icon="icons/objects/corpus.png"
113
            id="org.txm.rcp.views.corpora.CorporaView"
114
            name="%view.name"/>
115
      <view
116
            allowMultiple="false"
117
            category="org.eclipse.ui"
118
            class="org.eclipse.ui.ExtensionFactory:progressView"
119
            id="org.eclipse.ui.views.ProgressView"
120
            name="%view.name.0"
121
            restorable="true">
122
      </view>
123
      <view
124
            allowMultiple="false"
125
            category="org.txm.rcp"
126
            class="org.txm.rcp.views.fileexplorer.Explorer"
127
            icon="icons/objects/folder.png"
128
            id="org.txm.rcp.views.fileexplorer.Explorer"
129
            name="%view.name.1"
130
            restorable="true">
131
      </view>
132
      <view
133
            allowMultiple="false"
134
            category="org.txm.rcp"
135
            class="org.txm.rcp.views.GroovyConsole"
136
            id="org.txm.rcp.views.GroovyConsole"
137
            name="%view.name.2"
138
            restorable="true">
139
      </view>
140
      <view
141
            category="org.txm.rcp"
142
            class="org.txm.rcp.views.BasesView"
143
            id="org.txm.rcp.views.BasesView"
144
            name="%view.name.3"
145
            restorable="true">
146
      </view>
147
      <view
148
            category="org.txm.rcp"
149
            class="org.txm.rcp.views.QueriesView"
150
            icon="icons/objects/query.png"
151
            id="org.txm.rcp.views.QueriesView"
152
            name="%view.name.4"
153
            restorable="true">
154
      </view>
155
      <view
156
            category="org.txm.rcp"
157
            class="org.txm.rcp.views.SummaryView"
158
            id="org.txm.rcp.views.InternalCorpusView"
159
            name="%view.name.7"
160
            restorable="true">
161
      </view>
162
      <view
163
            allowMultiple="false"
164
            category="org.txm.rcp"
165
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
166
            icon="icons/objects/script.png"
167
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
168
            name="%view.name.8"
169
            restorable="true">
170
      </view>
171
      <view
172
            category="org.txm.rcp"
173
            class="org.txm.rcp.views.cmdparameters.ParametersView"
174
            icon="icons/functions/Properties.png"
175
            id="org.txm.rcp.views.cmdparameters.ParametersView"
176
            name="ParametersView"
177
            restorable="true">
178
      </view>
179
      <view
180
            category="org.txm.rcp"
181
            class="org.txm.rcp.views.debug.TXMResultDebugView"
182
            icon="icons/functions/Properties.png"
183
            id="org.txm.rcp.views.debug.TXMResultDebugView"
184
            name="TXMResultDebugView"
185
            restorable="true">
186
      </view>
187
      <view
188
            category="org.txm.rcp"
189
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
190
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
191
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
192
            name="SWT debug view"
193
            restorable="true">
194
      </view>
195
   </extension>
196
   <extension
197
         point="org.eclipse.core.runtime.adapters">
198
      <factory
199
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
200
            class="org.txm.rcp.AdapterFactory">
201
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
202
      </factory>
203

    
204

    
205

    
206

    
207

    
208
 
209
   </extension>
210
   <extension
211
         point="org.eclipse.ui.editors">
212
      <editor
213
            class="org.txm.rcp.editors.SVGGraphicEditor"
214
            default="false"
215
            id="org.txm.rcp.editors.SVGGraphicEditor"
216
            name="%editor.name"/>
217
      <editor
218
            class="org.txm.rcp.editors.TXMMultiPageEditor"
219
            default="false"
220
            id="org.txm.rcp.editors.GenericMultiPageEditor"
221
            name="%editor.name.1">
222
      </editor>
223
      <editor
224
            class="org.txm.rcp.editors.TxtEditor"
225
            contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
226
            default="false"
227
            icon="icons/objects/file.png"
228
            id="org.txm.rcp.editors.TxtEditor"
229
            name="%editor.name.4">
230
      </editor>
231
      <editor
232
            class="org.txm.rcp.editors.TXMBrowser"
233
            default="false"
234
            icon="icons/objects/edition.png"
235
            id="org.txm.rcp.editors.TXMBrowser"
236
            name="%editor.name.5">
237
      </editor>
238
      <editor
239
            class="org.txm.rcp.editors.objectexplorer.ObjectExplorer"
240
            default="false"
241
            id="org.txm.rcp.editors.ObjectExplorer"
242
            name="%editor.name.6">
243
      </editor>
244
      <editor
245
            class="org.txm.rcp.editors.imports.ImportFormEditor"
246
            default="false"
247
            icon="icons/objects/books.png"
248
            id="org.txm.rcp.editors.imports.ImportFormEditor"
249
            name="%editor.name.15">
250
      </editor>
251
      <editor
252
            class="org.txm.rcp.editors.TXMWebBrowserEditor"
253
            default="false"
254
            icon="icons/objects/world.png"
255
            id="org.txm.rcp.editors.TXMWebBrowserEditor"
256
            name="%editor.name.22">
257
      </editor>
258
      <editor
259
            class="org.txm.rcp.editors.TXMEditor"
260
            default="false"
261
            id="org.txm.rcp.editors.TXMEditor"
262
            name="TXMEditor">
263
      </editor>
264
   </extension>
265
   <extension
266
         point="org.eclipse.core.runtime.preferences">
267
      <initializer
268
            class="org.txm.rcp.preferences.RCPPreferences">
269
      </initializer>
270
   </extension>
271
  <extension
272
         point="org.eclipse.ui.preferencePages">
273
      <page
274
            category="org.txm.rcp.preferences.TextometriePreferencePage"
275
            class="org.txm.rcp.preferences.UserPreferencePage"
276
            id="org.txm.rcp.preferences.UserPreferencePage"
277
            name="%page.name">
278
      </page>
279
      <page
280
            category="org.txm.rcp.preferences.TextometriePreferencePage"
281
            class="org.txm.rcp.preferences.AdvancePreferencePage"
282
            id="org.txm.rcp.preferences.AdvancePreferencePage"
283
            name="%page.name.0">
284
      </page>
285
      <page
286
            class="org.txm.rcp.preferences.TXMMainPreferencePage"
287
            id="org.txm.rcp.preferences.TextometriePreferencePage"
288
            name="%page.name.6">
289
      </page>
290
      <page
291
            category="org.txm.rcp.preferences.AdvancePreferencePage"
292
            class="org.txm.rcp.preferences.NLPPreferencePage"
293
            id="org.txm.rcp.preferences.NLPPreferencePage"
294
            name="%page.name.8">
295
      </page>
296
      <page
297
            category="org.txm.rcp.preferences.UserPreferencePage"
298
            class="org.txm.rcp.preferences.ScriptPreferencePage"
299
            id="org.txm.rcp.preferences.ScriptPreferencePage"
300
            name="%page.name.18">
301
      </page>
302
      <page
303
            category="org.txm.rcp.preferences.UserPreferencePage"
304
            class="org.txm.rcp.preferences.ExportPreferencePage"
305
            id="org.txm.rcp.preferences.ExportPreferencePage"
306
            name="%page.name.12">
307
      </page>
308
      <page
309
            category="org.txm.rcp.preferences.UserPreferencePage"
310
            class="org.txm.rcp.preferences.FileExplorerPreferencePage"
311
            id="org.txm.rcp.preferences.FileExplorerPreferencePage"
312
            name="%page.name.2">
313
      </page>
314
      <page
315
            category="org.txm.rcp.preferences.UserPreferencePage"
316
            class="org.txm.rcp.preferences.ImportPreferencePage"
317
            id="org.txm.rcp.preferences.ImportPreferencePage"
318
            name="%page.name.19">
319
        </page>
320
   </extension>
321
   <extension
322
         point="org.eclipse.ui.menus">
323
      <menuContribution
324
            locationURI="menu:org.eclipse.ui.main.menu">
325
         <menu
326
               id="menu.file"
327
               label="%menu.label">
328
            <separator
329
                  name="menu.file.separator.import"
330
                  visible="true">
331
            </separator>
332
            <menu
333
                  id="menu.file.import"
334
                  label="%menu.label.0">
335
               <command
336
                     commandId="org.txm.rcp.commands.ImportSelectedText"
337
                     label="%command.label.60"
338
                     style="push"
339
                     tooltip="%command.tooltip.27">
340
               </command>
341
               <command
342
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
343
                     label="%command.label.78"
344
                     style="push"
345
                     tooltip="%command.tooltip.45">
346
                  <parameter
347
                        name="org.txm.rcp.commands.commandParameter3"
348
                        value="txtLoader.groovy">
349
                  </parameter>
350
               </command>
351
               <command
352
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
353
                     label="%command.label.87"
354
                     style="push"
355
                     tooltip="%command.tooltip.66">
356
                  <parameter
357
                        name="org.txm.rcp.commands.commandParameter3"
358
                        value="docLoader.groovy">
359
                  </parameter>
360
               </command>
361
               <separator
362
                     name="menu.file.import.separator.xml"
363
                     visible="true">
364
               </separator>
365
               <command
366
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
367
                     label="%command.label.1"
368
                     style="push"
369
                     tooltip="%command.tooltip.44">
370
                  <parameter
371
                        name="org.txm.rcp.commands.commandParameter3"
372
                        value="xmlLoader.groovy">
373
                  </parameter>
374
               </command>
375
               <command
376
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
377
                     label="%command.label.92"
378
                     style="push"
379
                     tooltip="%command.tooltip.88">
380
                  <parameter
381
                        name="org.txm.rcp.commands.commandParameter3"
382
                        value="xtzLoader.groovy">
383
                  </parameter>
384
               </command>
385
               <command
386
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
387
                     label="%command.label.5"
388
                     style="push"
389
                     tooltip="%command.tooltip.8">
390
                  <parameter
391
                        name="org.txm.rcp.commands.commandParameter3"
392
                        value="bfmLoader.groovy">
393
                  </parameter>
394
               </command>
395
               <command
396
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
397
                     label="%command.label.9"
398
                     style="push"
399
                     tooltip="%command.tooltip.9">
400
                  <parameter
401
                        name="org.txm.rcp.commands.commandParameter3"
402
                        value="frantextLoader.groovy">
403
                  </parameter>
404
               </command>
405
               <command
406
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
407
                     label="%command.label.12"
408
                     style="push"
409
                     tooltip="%command.tooltip.11">
410
                  <parameter
411
                        name="org.txm.rcp.commands.commandParameter3"
412
                        value="xmltxmLoader.groovy">
413
                  </parameter>
414
               </command>
415
               <command
416
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
417
                     label="%command.label.3"
418
                     style="push"
419
                     tooltip="%command.tooltip.5">
420
                  <parameter
421
                        name="org.txm.rcp.commands.commandParameter3"
422
                        value="transcriberLoader.groovy">
423
                  </parameter>
424
               </command>
425
               <command
426
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
427
                     label="%command.label.2"
428
                     style="push"
429
                     tooltip="%command.tooltip.1">
430
                  <parameter
431
                        name="org.txm.rcp.commands.commandParameter3"
432
                        value="factivaLoader.groovy">
433
                  </parameter>
434
               </command>
435
               <command
436
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
437
                     label="%command.label.81"
438
                     style="push"
439
                     tooltip="%command.tooltip.24">
440
                  <parameter
441
                        name="org.txm.rcp.commands.commandParameter3"
442
                        value="tmxLoader.groovy">
443
                  </parameter>
444
               </command>
445
               <separator
446
                     name="menu.file.import.separator.software"
447
                     visible="true">
448
               </separator>
449
               <command
450
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
451
                     label="%command.label.64"
452
                     style="push"
453
                     tooltip="%command.tooltip.22">
454
                  <parameter
455
                        name="org.txm.rcp.commands.commandParameter3"
456
                        value="factivamailLoader.groovy">
457
                  </parameter>
458
               </command>
459
               <command
460
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
461
                     label="%command.label.0"
462
                     style="push"
463
                     tooltip="%command.tooltip.28">
464
                  <parameter
465
                        name="org.txm.rcp.commands.commandParameter3"
466
                        value="discoursLoader.groovy">
467
                  </parameter>
468
               </command>
469
               <command
470
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
471
                     label="%command.label.62"
472
                     style="push"
473
                     tooltip="%command.tooltip.30">
474
                  <parameter
475
                        name="org.txm.rcp.commands.commandParameter3"
476
                        value="alcesteLoader.groovy">
477
                  </parameter>
478
               </command>
479
               <command
480
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
481
                     label="%command.label.61"
482
                     style="push"
483
                     tooltip="%command.tooltip.29">
484
                  <parameter
485
                        name="org.txm.rcp.commands.commandParameter3"
486
                        value="hyperbaseLoader.groovy">
487
                  </parameter>
488
               </command>
489
               <separator
490
                     name="menu.file.import.separator.cqp"
491
                     visible="true">
492
               </separator>
493
               <command
494
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
495
                     label="%command.label.82"
496
                     style="push"
497
                     tooltip="%command.tooltip.25">
498
                  <parameter
499
                        name="org.txm.rcp.commands.commandParameter3"
500
                        value="cqpLoader.groovy">
501
                  </parameter>
502
               </command>
503
               <separator
504
                     name="menu.file.import.separator.end"
505
                     visible="false">
506
               </separator>
507
            </menu>
508
            <menu
509
                  id="menu.file.load"
510
                  label="Charger">
511
               <command
512
                     commandId="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
513
                     label="un corpus binaire (.txm)..."
514
                     style="push">
515
               </command>
516
               <command
517
                     commandId="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
518
                     label="un répertoire de corpus binaires...."
519
                     style="push">
520
               </command>
521
               <separator
522
                     name="menu.file.load.separator.end"
523
                     visible="false">
524
               </separator>
525
            </menu>
526
            <menu
527
                  icon="icons/functions/export.png"
528
                  id="menu.file.export"
529
                  label="%menu.label.5">
530
               <command
531
                     commandId="org.txm.rcp.commands.function.ExportResult"
532
                     icon="icons/functions/export_data.png"
533
                     label="%command.label.51"
534
                     style="push">
535
                  <visibleWhen
536
                        checkEnabled="false">
537
                     <or>
538
                        <reference
539
                              definitionId="OneLexiconSelected">
540
                        </reference>
541
                        <reference
542
                              definitionId="OneConcordanceSelected">
543
                        </reference>
544
                        <reference
545
                              definitionId="OneSpecificitiesResultSelected">
546
                        </reference>
547
                        <reference
548
                              definitionId="OneIndexSelected">
549
                        </reference>
550
                        <reference
551
                              definitionId="OneCooccurrenceSelected">
552
                        </reference>
553
                        <reference
554
                              definitionId="OneReferencerSelected">
555
                        </reference>
556
                        <reference
557
                              definitionId="OneProgressionSelected">
558
                        </reference>
559
                        <reference
560
                              definitionId="OneLexicalTableSelected">
561
                        </reference>
562
                        <reference
563
                              definitionId="OneCASelected">
564
                        </reference>
565
                        <reference
566
                              definitionId="OneCAHSelected">
567
                        </reference>
568
                        <reference
569
                              definitionId="OneTXMResultSelected">
570
                        </reference>
571
                     </or>
572
                  </visibleWhen>
573
               </command>
574
               <command
575
                     commandId="org.txm.rcp.commands.function.ExportSVG"
576
                     icon="icons/functions/exportSVG.png"
577
                     label="%command.label.101"
578
                     style="push"
579
                     tooltip="%command.tooltip.54">
580
                  <visibleWhen
581
                        checkEnabled="false">
582
                     <or>
583
                        <reference
584
                              definitionId="SVGEditorActive">
585
                        </reference>
586
                        <reference
587
                              definitionId="OneCAHSelected">
588
                        </reference>
589
                        <reference
590
                              definitionId="OneProgressionSelected">
591
                        </reference>
592
                        <reference
593
                              definitionId="OneWordCloudSelected">
594
                        </reference>
595
                     </or>
596
                  </visibleWhen>
597
               </command>
598
            </menu>
599
            <separator
600
                  name="menu.file.separator.file"
601
                  visible="true">
602
            </separator>
603
            <command
604
                  commandId="org.txm.rcp.commands.CreateFile"
605
                  icon="icons/functions/page_white_add.png"
606
                  label="%command.label.83">
607
            </command>
608
            <command
609
                  commandId="org.txm.rcp.commands.EditFile"
610
                  icon="icons/functions/open.png"
611
                  id="file.open"
612
                  label="%command.label.45"
613
                  style="push">
614
            </command>
615
            <command
616
                  commandId="org.eclipse.ui.file.save"
617
                  icon="icons/functions/save.png"
618
                  label="%command.label.86">
619
            </command>
620
            <command
621
                  commandId="org.eclipse.ui.file.saveAll"
622
                  icon="icons/functions/saveall.png"
623
                  label="%command.label.88">
624
            </command>
625
            <command
626
                  commandId="org.txm.rcp.commands.editor.SaveAs"
627
                  icon="icons/functions/saveas.png"
628
                  label="%command.label.29">
629
               <visibleWhen
630
                     checkEnabled="false">
631
                  <reference
632
                        definitionId="TextEditorActive">
633
                  </reference>
634
               </visibleWhen>
635
            </command>
636
            <command
637
                  commandId="org.eclipse.ui.file.close"
638
                  label="%command.label.90">
639
            </command>
640
            <command
641
                  commandId="org.eclipse.ui.file.closeAll"
642
                  label="%command.label.93">
643
            </command>
644
            <separator
645
                  name="menu.file.separator.open"
646
                  visible="true">
647
            </separator>
648
            <command
649
                  commandId="org.txm.rcp.commands.OpenBrowser"
650
                  label="%command.label"
651
                  style="push"
652
                  tooltip="%command.tooltip">
653
            </command>
654
            <separator
655
                  name="menu.file.separator.lang"
656
                  visible="true">
657
            </separator>
658
            <separator
659
                  name="menu.file.separator.update"
660
                  visible="true">
661
            </separator>
662
            <command
663
                  commandId="org.txm.rcp.p2.plugins.TXMUpdateHandler"
664
                  label="%command.label.181"
665
                  style="push">
666
               <visibleWhen
667
                     checkEnabled="false">
668
                  <reference
669
                        definitionId="WasNotFirstTXMRun">
670
                  </reference>
671
               </visibleWhen>
672
               <parameter
673
                     name="org.txm.rcp.parameters.update"
674
                     value="true">
675
               </parameter>
676
            </command>
677
            <command
678
                  commandId="org.txm.rcp.p2.plugins.InstallPluginHandler"
679
                  label="%command.label.182"
680
                  style="push">
681
            </command>
682
            <command
683
                  commandId="org.eclipse.equinox.p2.ui.sdk.install"
684
                  label="%command.label.34"
685
                  style="push">
686
            </command>
687
            <separator
688
                  name="menu.file.separator.close"
689
                  visible="true">
690
            </separator>
691
            <command
692
                  commandId="org.txm.rcp.commands.RestartTXM"
693
                  label="%command.label.59"
694
                  style="push"
695
                  tooltip="%command.tooltip.26">
696
            </command>
697
            <command
698
                  commandId="org.eclipse.ui.file.exit"
699
                  label="%command.label.6"
700
                  style="push"
701
                  tooltip="%command.tooltip.2">
702
            </command>
703
         </menu>
704
         <menu
705
               id="menu.edit"
706
               label="%menu.label.3">
707
            <command
708
                  commandId="org.eclipse.ui.edit.findReplace"
709
                  label="%command.label.15">
710
               <visibleWhen
711
                     checkEnabled="false">
712
                  <reference
713
                        definitionId="TextEditorActive">
714
                  </reference>
715
               </visibleWhen>
716
            </command>
717
            <command
718
                  commandId="org.eclipse.ui.edit.findNext"
719
                  label="%command.label.98"
720
                  style="push">
721
               <visibleWhen
722
                     checkEnabled="false">
723
                  <reference
724
                        definitionId="TextEditorActive">
725
                  </reference>
726
               </visibleWhen>
727
            </command>
728
            <command
729
                  commandId="org.eclipse.ui.edit.findPrevious"
730
                  label="%command.label.100"
731
                  style="push">
732
               <visibleWhen
733
                     checkEnabled="false">
734
                  <reference
735
                        definitionId="TextEditorActive">
736
                  </reference>
737
               </visibleWhen>
738
            </command>
739
            <command
740
                  commandId="org.eclipse.ui.edit.findIncremental"
741
                  label="%command.label.109"
742
                  style="push">
743
               <visibleWhen
744
                     checkEnabled="false">
745
                  <reference
746
                        definitionId="TextEditorActive">
747
                  </reference>
748
               </visibleWhen>
749
            </command>
750
            <command
751
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
752
                  label="%command.label.110"
753
                  style="push">
754
               <visibleWhen
755
                     checkEnabled="false">
756
                  <reference
757
                        definitionId="TextEditorActive">
758
                  </reference>
759
               </visibleWhen>
760
            </command>
761
            <separator
762
                  name="org.txm.rcp.separator1"
763
                  visible="true">
764
            </separator>
765
            <command
766
                  commandId="org.eclipse.ui.edit.undo"
767
                  label="%command.label.16">
768
               <visibleWhen
769
                     checkEnabled="false">
770
                  <reference
771
                        definitionId="TextEditorActive">
772
                  </reference>
773
               </visibleWhen>
774
            </command>
775
            <command
776
                  commandId="org.eclipse.ui.edit.redo"
777
                  label="%command.label.17">
778
               <visibleWhen
779
                     checkEnabled="false">
780
                  <reference
781
                        definitionId="TextEditorActive">
782
                  </reference>
783
               </visibleWhen>
784
            </command>
785
            <separator
786
                  name="org.txm.rcp.separator2"
787
                  visible="true">
788
            </separator>
789
            <command
790
                  commandId="org.eclipse.ui.edit.cut"
791
                  label="%command.label.18">
792
               <visibleWhen
793
                     checkEnabled="false">
794
                  <reference
795
                        definitionId="TextEditorActive">
796
                  </reference>
797
               </visibleWhen>
798
            </command>
799
            <command
800
                  commandId="org.eclipse.ui.edit.copy"
801
                  label="%command.label.19">
802
               <visibleWhen
803
                     checkEnabled="false">
804
                  <reference
805
                        definitionId="TextEditorActive">
806
                  </reference>
807
               </visibleWhen>
808
            </command>
809
            <command
810
                  commandId="org.eclipse.ui.edit.paste"
811
                  label="%command.label.20">
812
               <visibleWhen
813
                     checkEnabled="false">
814
                  <reference
815
                        definitionId="TextEditorActive">
816
                  </reference>
817
               </visibleWhen>
818
            </command>
819
            <command
820
                  commandId="org.eclipse.ui.edit.delete"
821
                  label="%command.label.27">
822
               <visibleWhen
823
                     checkEnabled="false">
824
                  <reference
825
                        definitionId="TextEditorActive">
826
                  </reference>
827
               </visibleWhen>
828
            </command>
829
            <command
830
                  commandId="org.eclipse.ui.edit.selectAll"
831
                  label="%command.label.28">
832
               <visibleWhen
833
                     checkEnabled="false">
834
                  <reference
835
                        definitionId="TextEditorActive">
836
                  </reference>
837
               </visibleWhen>
838
            </command>
839
            <separator
840
                  name="org.txm.rcp.separator3"
841
                  visible="true">
842
            </separator>
843
            <command
844
                  commandId="org.eclipse.ui.edit.text.goto.line"
845
                  icon="icons/functions/goto.png"
846
                  label="%command.label.113"
847
                  style="push">
848
               <visibleWhen
849
                     checkEnabled="false">
850
                  <reference
851
                        definitionId="TextEditorActive">
852
                  </reference>
853
               </visibleWhen>
854
            </command>
855
            <command
856
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
857
                  icon="icons/functions/world.png"
858
                  label="%command.label.133"
859
                  style="push">
860
               <visibleWhen
861
                     checkEnabled="false">
862
                  <reference
863
                        definitionId="TextEditorActive">
864
                  </reference>
865
               </visibleWhen>
866
            </command>
867
            <command
868
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
869
                  icon="icons/functions/encoding.png"
870
                  label="%command.label.30">
871
               <visibleWhen
872
                     checkEnabled="false">
873
                  <reference
874
                        definitionId="TextEditorActive">
875
                  </reference>
876
               </visibleWhen>
877
            </command>
878
            <separator
879
                  name="org.txm.rcp.separator3"
880
                  visible="true">
881
            </separator>
882
            <command
883
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
884
                  icon="icons/functions/lines_number.png"
885
                  label="%command.label.140"
886
                  style="push">
887
               <visibleWhen
888
                     checkEnabled="false">
889
                  <reference
890
                        definitionId="TextEditorActive">
891
                  </reference>
892
               </visibleWhen>
893
            </command>
894
            <command
895
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
896
                  icon="icons/functions/paragraph.png"
897
                  label="%command.label.144"
898
                  style="push"
899
                  tooltip="%command.tooltip.31">
900
               <visibleWhen
901
                     checkEnabled="false">
902
                  <reference
903
                        definitionId="TextEditorActive">
904
                  </reference>
905
               </visibleWhen>
906
            </command>
907
            <command
908
                  commandId="org.eclipse.ui.file.revert"
909
                  icon="icons/functions/page_refresh.png"
910
                  label="%command.label.145"
911
                  style="push">
912
               <visibleWhen
913
                     checkEnabled="false">
914
                  <reference
915
                        definitionId="TextEditorActive">
916
                  </reference>
917
               </visibleWhen>
918
            </command>
919
         </menu>
920
         <menu
921
               id="menu.corpus"
922
               label="%menu.label.1"
923
               sibling_order="&lt;command&#x0A;                  commandId=&quot;org.txm.rcp.commands.function.ComputeConcordance&quot;&#x0A;                  icon=&quot;icons/functions/Concordances.png&quot;&#x0A;                  label=&quot;%command.label.11&quot;&#x0A;                  style=&quot;push&quot;&#x0A;                  tooltip=&quot;%command.tooltip.7&quot;&gt;&#x0A;               &lt;visibleWhen&#x0A;                     checkEnabled=&quot;false&quot;&gt;&#x0A;                  &lt;reference&#x0A;                        definitionId=&quot;OneCorpusSelected&quot;&gt;&#x0A;                  &lt;/reference&gt;&#x0A;               &lt;/visibleWhen&gt;&#x0A;            &lt;/command&gt;">
924
            <separator
925
                  name="menu.corpus.read"
926
                  visible="true">
927
            </separator>
928
            <separator
929
                  name="menu.corpus.manage"
930
                  visible="true">
931
            </separator>
932
            
933
            <command
934
                  commandId="org.txm.rcp.commands.base.DeleteObject"
935
                  icon="icons/functions/Delete.png"
936
                  style="push">
937
               <visibleWhen
938
                     checkEnabled="false">
939
                 
940
                     <or>
941
                        <reference
942
                              definitionId="OneBaseSelected">
943
                        </reference>
944
                        <reference
945
                              definitionId="OneCASelected">
946
                        </reference>
947
                        <reference
948
                              definitionId="OneConcordanceSelected">
949
                        </reference>
950
                        <reference
951
                              definitionId="OneCorpusSelected">
952
                        </reference>
953
                        <reference
954
                              definitionId="OneLexicalTableSelected">
955
                        </reference>
956
                        <reference
957
                              definitionId="OneLexiconSelected">
958
                        </reference>
959
                        <reference
960
                              definitionId="OnePartitionSelected">
961
                        </reference>
962
                        <reference
963
                              definitionId="OneSpecificitiesResultSelected">
964
                        </reference>
965
                        <reference
966
                              definitionId="OneTxmObjectSelected">
967
                        </reference>
968
                        <reference
969
                              definitionId="OneIndexSelected">
970
                        </reference>
971
                        <reference
972
                              definitionId="OneCooccurrenceSelected">
973
                        </reference>
974
                        <reference
975
                              definitionId="OneReferencerSelected">
976
                        </reference>
977
                        <reference
978
                              definitionId="OneProgressionSelected">
979
                        </reference>
980
                        <reference
981
                              definitionId="OneCAHSelected">
982
                        </reference>
983
                     </or>
984
                 
985
               </visibleWhen>
986
            </command>
987
            <separator
988
                  name="menu.corpus.build"
989
                  visible="true">
990
            </separator>
991
            
992
         </menu>
993
         <menu
994
               id="menu.tools"
995
               label="%menu.label.6">
996
            <separator
997
                  name="menu.tools.separator.doc"
998
                  visible="true">
999
            </separator>
1000
            
1001
            <separator
1002
                  name="menu.tools.separator.stats"
1003
                  visible="true">
1004
            </separator>
1005
            <separator
1006
                  name="menu.tools.separator.misc"
1007
                  visible="true">
1008
            </separator>
1009
            <separator
1010
                  name="menu.tools.separator.end"
1011
                  visible="true">
1012
            </separator>
1013
            <command
1014
                  commandId="org.eclipse.ui.window.preferences"
1015
                  icon="icons/functions/prefs.png"
1016
                  label="%command.label.4"
1017
                  style="push"
1018
                  tooltip="%command.tooltip.0">
1019
            </command>
1020
         </menu>
1021
         <menu
1022
               id="menu.display"
1023
               label="%menu.label.7"
1024
               tooltip="%menu.tooltip.0">
1025
            <menu
1026
                  id="menu.display.views"
1027
                  label="%menu.label.9">
1028
               <command
1029
                     commandId="org.eclipse.ui.views.showView"
1030
                     label="%command.label.134"
1031
                     style="push">
1032
                  <parameter
1033
                        name="org.eclipse.ui.views.showView.viewId"
1034
                        value="org.txm.rcp.views.corpora.CorporaView">
1035
                  </parameter>
1036
               </command>
1037
               <command
1038
                     commandId="org.eclipse.ui.views.showView"
1039
                     label="%command.label.135"
1040
                     style="push">
1041
                  <parameter
1042
                        name="org.eclipse.ui.views.showView.viewId"
1043
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1044
                  </parameter>
1045
               </command>
1046
               <command
1047
                     commandId="org.eclipse.ui.views.showView"
1048
                     label="%command.label.177"
1049
                     style="push">
1050
                  <parameter
1051
                        name="org.eclipse.ui.views.showView.viewId"
1052
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1053
                  </parameter>
1054
               </command>
1055
               <command
1056
                     commandId="org.eclipse.ui.views.showView"
1057
                     label="%command.label.136"
1058
                     style="push">
1059
                  <parameter
1060
                        name="org.eclipse.ui.views.showView.viewId"
1061
                        value="org.txm.rcp.views.QueriesView">
1062
                  </parameter>
1063
               </command>
1064
               <command
1065
                     commandId="org.eclipse.ui.views.showView"
1066
                     label="%command.label.43"
1067
                     style="push">
1068
                  <parameter
1069
                        name="org.eclipse.ui.views.showView.viewId"
1070
                        value="org.eclipse.ui.console.ConsoleView">
1071
                  </parameter>
1072
               </command>
1073
               <command
1074
                     commandId="org.eclipse.ui.views.showView"
1075
                     label="%command.label.139"
1076
                     style="push">
1077
               </command>
1078
            </menu>
1079
            <menu
1080
                  label="%menu.label.8">
1081
               <command
1082
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1083
                     label="%command.label.131"
1084
                     style="push">
1085
                  <parameter
1086
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1087
                        value="org.txm.rcp.perspective.TXMPerspective">
1088
                  </parameter>
1089
               </command>
1090
               <command
1091
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1092
                     label="%command.label.132"
1093
                     style="push">
1094
                  <parameter
1095
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1096
                        value="org.txm.rcp.perspective.RPerspective">
1097
                  </parameter>
1098
               </command>
1099
            </menu>
1100
            <command
1101
                  commandId="org.txm.rcp.commands.CleanPerspective"
1102
                  style="push">
1103
            </command>
1104
            <command
1105
                  commandId="org.eclipse.ui.window.newWindow"
1106
                  label="%command.label.157">
1107
            </command>
1108
            <command
1109
                  commandId="org.txm.rcp.commands.changelanguage"
1110
                  label="%command.label.75"
1111
                  style="push"
1112
                  tooltip="%command.tooltip.42">
1113
            </command>
1114
         </menu>
1115
         <menu
1116
               id="menu.help"
1117
               label="%menu.label.2"
1118
               tooltip="%menu.tooltip">
1119
            <command
1120
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1121
                  label="%command.label.173"
1122
                  style="push">
1123
            </command>
1124
            <separator
1125
                  name="org.txm.rcp.separator1"
1126
                  visible="true">
1127
            </separator>
1128
            <command
1129
                  commandId="org.eclipse.ui.window.showKeyAssist"
1130
                  label="%command.label.52"
1131
                  style="push">
1132
            </command>
1133
            <command
1134
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1135
                  label="%command.label.68"
1136
                  style="push"
1137
                  tooltip="%command.tooltip.23">
1138
               <parameter
1139
                     name="org.txm.rcp.commands.commandParameter3"
1140
                     value="refman">
1141
               </parameter>
1142
            </command>
1143
            <command
1144
                  commandId="org.txm.rcp.commands.OpenManual"
1145
                  label="%command.label.63"
1146
                  style="push"
1147
                  tooltip="%command.tooltip.64">
1148
            </command>
1149
            <command
1150
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1151
                  label="%command.label.33"
1152
                  style="push"
1153
                  tooltip="%command.tooltip.13">
1154
               <parameter
1155
                     name="org.txm.rcp.commands.commandParameter3"
1156
                     value="macros">
1157
               </parameter>
1158
            </command>
1159
            <menu
1160
                  id="menu.help.plugins"
1161
                  label="%menu.label.4">
1162
            </menu>
1163
            <command
1164
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1165
                  label="%command.label.70"
1166
                  style="push">
1167
               <parameter
1168
                     name="org.txm.rcp.commands.commandParameter3"
1169
                     value="sf_docs">
1170
               </parameter>
1171
            </command>
1172
            <command
1173
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1174
                  label="%command.label.178"
1175
                  style="push"
1176
                  tooltip="%command.tooltip.41">
1177
               <parameter
1178
                     name="org.txm.rcp.commands.commandParameter3"
1179
                     value="faq">
1180
               </parameter>
1181
            </command>
1182
            <command
1183
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1184
                  label="%command.label.35"
1185
                  style="push"
1186
                  tooltip="%command.tooltip.43">
1187
               <parameter
1188
                     name="org.txm.rcp.commands.commandParameter3"
1189
                     value="txm-users wiki">
1190
               </parameter>
1191
            </command>
1192
            <command
1193
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1194
                  label="%command.label.55"
1195
                  style="push"
1196
                  tooltip="%command.tooltip">
1197
               <parameter
1198
                     name="org.txm.rcp.commands.commandParameter3"
1199
                     value="mailinglist">
1200
               </parameter>
1201
            </command>
1202
            <command
1203
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1204
                  label="%command.label.76"
1205
                  style="push"
1206
                  tooltip="%command.tooltip.65">
1207
               <parameter
1208
                     name="org.txm.rcp.commands.commandParameter3"
1209
                     value="http://webchat.freenode.net/?channels=txm">
1210
               </parameter>
1211
            </command>
1212
            <separator
1213
                  name="helpSeparator1"
1214
                  visible="true">
1215
            </separator>
1216
            <command
1217
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1218
                  label="%command.label.56"
1219
                  style="push"
1220
                  tooltip="%command.tooltip">
1221
               <parameter
1222
                     name="org.txm.rcp.commands.commandParameter3"
1223
                     value="sf">
1224
               </parameter>
1225
            </command>
1226
            <command
1227
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1228
                  label="%command.label.69"
1229
                  style="push">
1230
               <parameter
1231
                     name="org.txm.rcp.commands.commandParameter3"
1232
                     value="textometrie">
1233
               </parameter>
1234
            </command>
1235
            <command
1236
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1237
                  label="%command.label.72"
1238
                  style="push">
1239
               <parameter
1240
                     name="org.txm.rcp.commands.commandParameter3"
1241
                     value="textometrie_docs">
1242
               </parameter>
1243
            </command>
1244
            <separator
1245
                  name="helpSeparator3"
1246
                  visible="true">
1247
            </separator>
1248
            <command
1249
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1250
                  label="%command.label.67"
1251
                  style="push"
1252
                  tooltip="%command.tooltip">
1253
               <parameter
1254
                     name="org.txm.rcp.commands.commandParameter3"
1255
                     value="treetagger">
1256
               </parameter>
1257
            </command>
1258
            <command
1259
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1260
                  label="%command.label.53"
1261
                  style="push"
1262
                  tooltip="%command.tooltip">
1263
               <parameter
1264
                     name="org.txm.rcp.commands.commandParameter3"
1265
                     value="bug">
1266
               </parameter>
1267
            </command>
1268
            <command
1269
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1270
                  label="%command.label.54"
1271
                  style="push"
1272
                  tooltip="%command.tooltip">
1273
               <parameter
1274
                     name="org.txm.rcp.commands.commandParameter3"
1275
                     value="feature">
1276
               </parameter>
1277
            </command>
1278
            <command
1279
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1280
                  label="%command.label.179"
1281
                  style="push"
1282
                  tooltip="%command.tooltip.47">
1283
               <parameter
1284
                     name="org.txm.rcp.commands.commandParameter3"
1285
                     value="contrib">
1286
               </parameter>
1287
            </command>
1288
            <separator
1289
                  name="org.txm.rcp.separator4"
1290
                  visible="true">
1291
            </separator>
1292
            <command
1293
                  commandId="org.eclipse.ui.help.aboutAction"
1294
                  label="%command.label.14"
1295
                  style="push"
1296
                  tooltip="%command.tooltip.10">
1297
            </command>
1298
         </menu>
1299
         <menu
1300
               id="menu.recettes"
1301
               label="%menu.label.12"
1302
               tooltip="%menu.tooltip.1">
1303
            <visibleWhen
1304
                  checkEnabled="false">
1305
               <or>
1306
                  <reference
1307
                        definitionId="ExpertEnabled">
1308
                  </reference>
1309
               </or>
1310
            </visibleWhen>
1311
         </menu>
1312
      </menuContribution>
1313
      <menuContribution
1314
            allPopups="true"
1315
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1316
         <separator
1317
               name="org.txm.rcp.toolbars.begin"
1318
               visible="false">
1319
         </separator>
1320
         <toolbar
1321
               id="org.txm.rcp.toolbars.result">
1322
            <command
1323
                  commandId="org.txm.rcp.commands.function.ExportResult"
1324
                  icon="icons/functions/export_data.png"
1325
                  style="push">
1326
               <visibleWhen
1327
                     checkEnabled="false">
1328
                  <or>
1329
                     <reference
1330
                           definitionId="OneLexiconSelected">
1331
                     </reference>
1332
                     <reference
1333
                           definitionId="OneIndexSelected">
1334
                     </reference>
1335
                     <reference
1336
                           definitionId="OneConcordanceSelected">
1337
                     </reference>
1338
                     <reference
1339
                           definitionId="OneSpecificitiesResultSelected">
1340
                     </reference>
1341
                     <reference
1342
                           definitionId="OneReferencerSelected">
1343
                     </reference>
1344
                     <reference
1345
                           definitionId="OneProgressionSelected">
1346
                     </reference>
1347
                     <reference
1348
                           definitionId="OneCooccurrenceSelected">
1349
                     </reference>
1350
                     <reference
1351
                           definitionId="OneLexicalTableSelected">
1352
                     </reference>
1353
                     <reference
1354
                           definitionId="OneCASelected">
1355
                     </reference>
1356
                     <reference
1357
                           definitionId="OneCAHSelected">
1358
                     </reference>
1359
                  </or>
1360
               </visibleWhen>
1361
            </command>
1362
            <command
1363
                  commandId="org.txm.rcp.commands.function.ExportSVG"
1364
                  icon="icons/functions/exportSVG.png"
1365
                  style="push"
1366
                  tooltip="%command.tooltip.54">
1367
               <visibleWhen
1368
                     checkEnabled="false">
1369
                  <or>
1370
                     <reference
1371
                           definitionId="SVGEditorActive">
1372
                     </reference>
1373
                  </or>
1374
               </visibleWhen>
1375
            </command>
1376
         </toolbar>
1377
         <separator
1378
               name="org.txm.rcp.toolbar.separator1"
1379
               visible="false">
1380
         </separator>
1381
         <toolbar
1382
               id="org.txm.rcp.toolbarcorpus">
1383
            <separator
1384
                  name="org.txm.rcp.toolbarcorpus.read"
1385
                  visible="false">
1386
            </separator>
1387
            <command
1388
                  commandId="org.txm.rcp.handlers.results.DeleteObject?after=org.txm.information.rcp.handlers.ComputeInformation"
1389
                  icon="icons/functions/Delete.png"
1390
                  style="push"
1391
                  tooltip="%command.tooltip.33">
1392
               <visibleWhen
1393
                     checkEnabled="false">
1394
                  <or>
1395
                     <reference
1396
                           definitionId="OneBaseSelected">
1397
                     </reference>
1398
                     <reference
1399
                           definitionId="OneConcordanceSelected">
1400
                     </reference>
1401
                     <reference
1402
                           definitionId="OneCorpusSelected">
1403
                     </reference>
1404
                     <reference
1405
                           definitionId="OneLexicalTableSelected">
1406
                     </reference>
1407
                     <reference
1408
                           definitionId="OneLexiconSelected">
1409
                     </reference>
1410
                     <reference
1411
                           definitionId="OnePartitionSelected">
1412
                     </reference>
1413
                     <reference
1414
                           definitionId="OneTxmObjectSelected">
1415
                     </reference>
1416
                     <reference
1417
                           definitionId="OneTXMResultSelected">
1418
                     </reference>
1419
                  </or>
1420
               </visibleWhen>
1421
            </command>
1422
            
1423
            <separator
1424
                  name="org.txm.rcp.toolbarcorpus.corpus"
1425
                  visible="false">
1426
            </separator>
1427
            <separator
1428
                  name="org.txm.rcp.toolbarcorpus.annotation"
1429
                  visible="false">
1430
            </separator>
1431
         </toolbar>
1432
         <separator
1433
               name="org.txm.rcp.toolbar.separator1"
1434
               visible="true">
1435
         </separator>
1436
         <toolbar
1437
               id="org.txm.rcp.toolbartools">
1438
            <separator
1439
                  name="org.txm.rcp.separator1"
1440
                  visible="true">
1441
            </separator>
1442

    
1443
            <command
1444
                  commandId="org.eclipse.ui.window.preferences"
1445
                  icon="icons/functions/prefs.png"
1446
                  label="%command.label.4"
1447
                  style="push"
1448
                  tooltip="%command.tooltip.0">
1449
            </command>
1450
            <separator
1451
                  name="org.txm.rcp.toolbars.tools.separators.extensions"
1452
                  visible="true">
1453
            </separator>
1454
         </toolbar>
1455
         <separator
1456
               name="org.txm.rcp.toolbar.separator2"
1457
               visible="true">
1458
         </separator>
1459
         <toolbar
1460
               id="org.txm.rcp.toolbartext">
1461
            <command
1462
                  commandId="org.txm.rcp.commands.CreateFile"
1463
                  icon="icons/functions/page_white_add.png"
1464
                  label="%command.label.158"
1465
                  tooltip="%command.tooltip.34">
1466
            </command>
1467
            <command
1468
                  commandId="org.txm.rcp.commands.EditFile"
1469
                  icon="icons/functions/open.png"
1470
                  label="%command.label.45"
1471
                  style="push">
1472
               <parameter
1473
                     name="org.txm.rcp.commands.commandParameter2"
1474
                     value=" ">
1475
               </parameter>
1476
            </command>
1477
            <command
1478
                  commandId="org.eclipse.ui.file.save"
1479
                  icon="icons/functions/save.png"
1480
                  style="push">
1481
               <visibleWhen
1482
                     checkEnabled="false">
1483
                  <reference
1484
                        definitionId="TextEditorActive">
1485
                  </reference>
1486
               </visibleWhen>
1487
            </command>
1488
            <command
1489
                  commandId="org.txm.rcp.commands.editor.SaveAs"
1490
                  icon="icons/functions/saveas.png">
1491
               <visibleWhen
1492
                     checkEnabled="false">
1493
                  <reference
1494
                        definitionId="TextEditorActive">
1495
                  </reference>
1496
               </visibleWhen>
1497
            </command>
1498
            <separator
1499
                  name="org.txm.rcp.separator3"
1500
                  visible="true">
1501
            </separator>
1502
            <command
1503
                  commandId="org.eclipse.ui.edit.cut"
1504
                  label="%command.label.18">
1505
               <visibleWhen
1506
                     checkEnabled="false">
1507
                  <reference
1508
                        definitionId="TextEditorActive">
1509
                  </reference>
1510
               </visibleWhen>
1511
            </command>
1512
            <command
1513
                  commandId="org.eclipse.ui.edit.copy"
1514
                  label="%command.label.19">
1515
               <visibleWhen
1516
                     checkEnabled="false">
1517
                  <reference
1518
                        definitionId="TextEditorActive">
1519
                  </reference>
1520
               </visibleWhen>
1521
            </command>
1522
            <command
1523
                  commandId="org.eclipse.ui.edit.paste"
1524
                  label="%command.label.20">
1525
               <visibleWhen
1526
                     checkEnabled="false">
1527
                  <reference
1528
                        definitionId="TextEditorActive">
1529
                  </reference>
1530
               </visibleWhen>
1531
            </command>
1532
            <command
1533
                  commandId="org.eclipse.ui.edit.delete"
1534
                  label="%command.label.27">
1535
               <visibleWhen
1536
                     checkEnabled="false">
1537
                  <reference
1538
                        definitionId="TextEditorActive">
1539
                  </reference>
1540
               </visibleWhen>
1541
            </command>
1542
            <command
1543
                  commandId="org.eclipse.ui.edit.undo"
1544
                  label="%command.label.16">
1545
               <visibleWhen
1546
                     checkEnabled="false">
1547
                  <reference
1548
                        definitionId="TextEditorActive">
1549
                  </reference>
1550
               </visibleWhen>
1551
            </command>
1552
            <command
1553
                  commandId="org.eclipse.ui.edit.redo"
1554
                  label="%command.label.17">
1555
               <visibleWhen
1556
                     checkEnabled="false">
1557
                  <reference
1558
                        definitionId="TextEditorActive">
1559
                  </reference>
1560
               </visibleWhen>
1561
            </command>
1562
            <command
1563
                  commandId="org.eclipse.ui.edit.selectAll"
1564
                  icon="icons/functions/page_allgreen.png"
1565
                  label="%command.label.165">
1566
               <visibleWhen
1567
                     checkEnabled="false">
1568
                  <reference
1569
                        definitionId="TextEditorActive">
1570
                  </reference>
1571
               </visibleWhen>
1572
            </command>
1573
            <separator
1574
                  name="org.txm.rcp.separator1"
1575
                  visible="true">
1576
            </separator>
1577
            <command
1578
                  commandId="org.eclipse.ui.edit.findReplace"
1579
                  icon="icons/functions/find.png"
1580
                  label="%command.label.159">
1581
               <visibleWhen
1582
                     checkEnabled="false">
1583
                  <reference
1584
                        definitionId="TextEditorActive">
1585
                  </reference>
1586
               </visibleWhen>
1587
            </command>
1588
            <command
1589
                  commandId="org.eclipse.ui.edit.findPrevious"
1590
                  icon="icons/functions/find_previous.png"
1591
                  label="%command.label.160"
1592
                  style="push">
1593
               <visibleWhen
1594
                     checkEnabled="false">
1595
                  <reference
1596
                        definitionId="TextEditorActive">
1597
                  </reference>
1598
               </visibleWhen>
1599
            </command>
1600
            <command
1601
                  commandId="org.eclipse.ui.edit.findNext"
1602
                  icon="icons/functions/find_next.png"
1603
                  label="%command.label.161"
1604
                  style="push">
1605
               <visibleWhen
1606
                     checkEnabled="false">
1607
                  <reference
1608
                        definitionId="TextEditorActive">
1609
                  </reference>
1610
               </visibleWhen>
1611
            </command>
1612
            <command
1613
                  commandId="org.eclipse.ui.edit.findIncremental"
1614
                  icon="icons/functions/find_incremental.png"
1615
                  label="%command.label.162"
1616
                  style="push">
1617
               <visibleWhen
1618
                     checkEnabled="false">
1619
                  <reference
1620
                        definitionId="TextEditorActive">
1621
                  </reference>
1622
               </visibleWhen>
1623
            </command>
1624
            <command
1625
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
1626
                  icon="icons/functions/find_incremental_reverse.png"
1627
                  label="%command.label.163"
1628
                  style="push">
1629
               <visibleWhen
1630
                     checkEnabled="false">
1631
                  <reference
1632
                        definitionId="TextEditorActive">
1633
                  </reference>
1634
               </visibleWhen>
1635
            </command>
1636
            <separator
1637
                  name="org.txm.rcp.separator2"
1638
                  visible="true">
1639
            </separator>
1640
            <command
1641
                  commandId="org.eclipse.ui.edit.text.goto.line"
1642
                  icon="icons/functions/goto.png"
1643
                  label="%command.label.166"
1644
                  style="push">
1645
               <visibleWhen
1646
                     checkEnabled="false">
1647
                  <reference
1648
                        definitionId="TextEditorActive">
1649
                  </reference>
1650
               </visibleWhen>
1651
            </command>
1652
            <command
1653
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
1654
                  icon="icons/functions/lines_number.png"
1655
                  label="%command.label.168"
1656
                  style="push">
1657
               <visibleWhen
1658
                     checkEnabled="false">
1659
                  <reference
1660
                        definitionId="TextEditorActive">
1661
                  </reference>
1662
               </visibleWhen>
1663
            </command>
1664
            <command
1665
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
1666
                  icon="icons/functions/paragraph.png"
1667
                  label="%command.label.169"
1668
                  style="push"
1669
                  tooltip="%command.tooltip.35">
1670
               <visibleWhen
1671
                     checkEnabled="false">
1672
                  <reference
1673
                        definitionId="TextEditorActive">
1674
                  </reference>
1675
               </visibleWhen>
1676
            </command>
1677
            <command
1678
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
1679
                  icon="icons/functions/world.png"
1680
                  label="%command.label.167"
1681
                  style="push">
1682
               <visibleWhen
1683
                     checkEnabled="false">
1684
                  <reference
1685
                        definitionId="TextEditorActive">
1686
                  </reference>
1687
               </visibleWhen>
1688
            </command>
1689
            <command
1690
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
1691
                  icon="icons/functions/encoding.png"
1692
                  label="%command.label.30">
1693
               <visibleWhen
1694
                     checkEnabled="false">
1695
                  <reference
1696
                        definitionId="TextEditorActive">
1697
                  </reference>
1698
               </visibleWhen>
1699
            </command>
1700
            <command
1701
                  commandId="org.eclipse.ui.file.revert"
1702
                  icon="icons/functions/page_refresh.png"
1703
                  label="%command.label.164"
1704
                  style="push">
1705
               <visibleWhen
1706
                     checkEnabled="false">
1707
                  <reference
1708
                        definitionId="TextEditorActive">
1709
                  </reference>
1710
               </visibleWhen>
1711
            </command>
1712
         </toolbar>
1713
         <separator
1714
               name="org.txm.rcp.toolbar.separator3"
1715
               visible="true">
1716
         </separator>
1717
         <toolbar
1718
               id="org.txm.rcp.toolbarscript">
1719
            <command
1720
                  commandId="org.txm.rcp.commands.ExecuteScript"
1721
                  icon="icons/functions/run.png"
1722
                  label="%command.label.170"
1723
                  style="push"
1724
                  tooltip="%command.tooltip.14">
1725
               <visibleWhen
1726
                     checkEnabled="false">
1727
                  <reference
1728
                        definitionId="TextEditorActive">
1729
                  </reference>
1730
               </visibleWhen>
1731
            </command>
1732
            <command
1733
                  commandId="org.txm.rcp.commands.ExecuteText"
1734
                  icon="icons/functions/page_select_go.png"
1735
                  label="%command.label.171"
1736
                  style="push"
1737
                  tooltip="%command.tooltip.36">
1738
               <visibleWhen
1739
                     checkEnabled="false">
1740
                  <reference
1741
                        definitionId="TextEditorActive">
1742
                  </reference>
1743
               </visibleWhen>
1744
            </command>
1745
            <command
1746
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
1747
                  icon="icons/functions/page_go.png"
1748
                  label="%command.label.172"
1749
                  style="push"
1750
                  tooltip="%command.tooltip.37">
1751
               <visibleWhen
1752
                     checkEnabled="false">
1753
                  <reference
1754
                        definitionId="TextEditorActive">
1755
                  </reference>
1756
               </visibleWhen>
1757
            </command>
1758
            <command
1759
                  commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
1760
                  icon="icons/functions/rerun.png"
1761
                  label="%command.label.40"
1762
                  style="push"
1763
                  tooltip="%command.tooltip.50">
1764
            </command>
1765
         </toolbar>
1766
         <separator
1767
               name="org.txm.rcp.toolbar.separator4"
1768
               visible="true">
1769
         </separator>
1770
          <toolbar
1771
               id="org.txm.rcp.toolbarfile">
1772
         </toolbar>
1773
      </menuContribution>
1774
      <menuContribution
1775
            locationURI="popup:org.txm.rcp.views.fileexplorer.Explorer">
1776
         <command
1777
               commandId="org.txm.rcp.commands.CreateFile"
1778
               label="%command.label.122"
1779
               style="push"
1780
               tooltip="%command.tooltip.75">
1781
            <visibleWhen
1782
                  checkEnabled="false">
1783
               <reference
1784
                     definitionId="OneFileSelected">
1785
               </reference>
1786
            </visibleWhen>
1787
         </command>
1788
         <command
1789
               commandId="org.txm.rcp.commands.CreateFolder"
1790
               label="%command.label.123"
1791
               style="push"
1792
               tooltip="%command.tooltip.76">
1793
            <visibleWhen
1794
                  checkEnabled="false">
1795
               <reference
1796
                     definitionId="OneFileSelected">
1797
               </reference>
1798
            </visibleWhen>
1799
         </command>
1800
         <command
1801
               commandId="org.txm.rcp.commands.EditSelectedFile"
1802
               label="%command.label.186"
1803
               style="push"
1804
               tooltip="%command.tooltip.17">
1805
            <visibleWhen
1806
                  checkEnabled="false">
1807
               <reference
1808
                     definitionId="OneFileSelected">
1809
               </reference>
1810
            </visibleWhen>
1811
         </command>
1812
         <command
1813
               commandId="org.txm.rcp.commands.OpenBrowser"
1814
               label="%command.label.22"
1815
               style="push"
1816
               tooltip="%command.tooltip.18">
1817
            <visibleWhen
1818
                  checkEnabled="false">
1819
               <reference
1820
                     definitionId="OneFileSelected">
1821
               </reference>
1822
            </visibleWhen>
1823
         </command>
1824
         <command
1825
               commandId="org.txm.rcp.commands.ExecuteScript"
1826
               label="%command.label.23"
1827
               style="push"
1828
               tooltip="%command.tooltip.19">
1829
            <visibleWhen
1830
                  checkEnabled="false">
1831
               <reference
1832
                     definitionId="OneFileSelected">
1833
               </reference>
1834
            </visibleWhen>
1835
         </command>
1836
         <command
1837
               commandId="org.txm.rcp.commands.ShowSelected"
1838
               style="push">
1839
         </command>
1840
         <command
1841
               commandId="org.txm.rcp.commands.RenameFile"
1842
               style="push">
1843
            <visibleWhen
1844
                  checkEnabled="false">
1845
               <reference
1846
                     definitionId="OneFileSelected">
1847
               </reference>
1848
            </visibleWhen>
1849
         </command>
1850
         <command
1851
               commandId="org.txm.rcp.commands.DeleteFile"
1852
               style="push"
1853
               tooltip="%command.tooltip.15">
1854
            <visibleWhen
1855
                  checkEnabled="false">
1856
               <reference
1857
                     definitionId="OneFileSelected">
1858
               </reference>
1859
            </visibleWhen>
1860
         </command>
1861
         <command
1862
               commandId="org.txm.rcp.commands.CopyFile"
1863
               style="push"
1864
               tooltip="%command.tooltip.16">
1865
            <visibleWhen
1866
                  checkEnabled="false">
1867
               <reference
1868
                     definitionId="OneFileSelected">
1869
               </reference>
1870
            </visibleWhen>
1871
         </command>
1872
         <command
1873
               commandId="org.txm.rcp.commands.CutFile"
1874
               style="push"
1875
               tooltip="%command.tooltip.20">
1876
            <visibleWhen
1877
                  checkEnabled="false">
1878
               <reference
1879
                     definitionId="OneFileSelected">
1880
               </reference>
1881
            </visibleWhen>
1882
         </command>
1883
         <command
1884
               commandId="org.txm.rcp.commands.PasteFile"
1885
               style="push"
1886
               tooltip="%command.tooltip.21">
1887
            <visibleWhen
1888
                  checkEnabled="false">
1889
               <reference
1890
                     definitionId="OneFileSelected">
1891
               </reference>
1892
            </visibleWhen>
1893
         </command>
1894
      </menuContribution>
1895
      <menuContribution
1896
            locationURI="popup:#TextEditorContext">
1897
         <menu
1898
               label="%menu.label.10">
1899
            <command
1900
                  commandId="org.txm.rcp.commands.ExecuteGroovyText"
1901
                  label="%command.label.25"
1902
                  style="push">
1903
            </command>
1904
            <command
1905
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovy"
1906
                  label="%command.label.26"
1907
                  style="push">
1908
            </command>
1909
            <command
1910
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
1911
                  label="%command.label.156"
1912
                  style="push">
1913
            </command>
1914
         </menu>
1915
      </menuContribution>
1916
      <menuContribution
1917
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
1918
         <separator
1919
               name="org.txm.rcp.corporaview.begin"
1920
               visible="true"/>
1921
               <menu
1922
                     icon="icons/functions/export.png"
1923
                     id="org.txm.rcp.corporaview.export"
1924
                     label="Exporter">
1925
                     <command
1926
                  commandId="org.txm.rcp.commands.function.ExportResult"
1927
                  icon="icons/functions/export_data.png"
1928
                  label="%command.label.51"
1929
                  style="push">
1930
               <visibleWhen
1931
                     checkEnabled="false">
1932
                  <or>
1933
                     <reference
1934
                           definitionId="OneLexiconSelected">
1935
                     </reference>
1936
                     <reference
1937
                           definitionId="OneConcordanceSelected">
1938
                     </reference>
1939
                     <reference
1940
                           definitionId="OneSpecificitiesResultSelected">
1941
                     </reference>
1942
                     <reference
1943
                           definitionId="OneIndexSelected">
1944
                     </reference>
1945
                     <reference
1946
                           definitionId="OneReferencerSelected">
1947
                     </reference>
1948
                     <reference
1949
                           definitionId="OneProgressionSelected">
1950
                     </reference>
1951
                     <reference
1952
                           definitionId="OneCooccurrenceSelected">
1953
                     </reference>
1954
                     <reference
1955
                           definitionId="OneLexicalTableSelected">
1956
                     </reference>
1957
                     <reference
1958
                           definitionId="OneCASelected">
1959
                     </reference>
1960
                     <reference
1961
                           definitionId="OneCAHSelected">
1962
                     </reference>
1963
                     <reference
1964
                           definitionId="OneTXMResultSelected">
1965
                     </reference>
1966
                  </or>
1967
               </visibleWhen>
1968
            </command>
1969
            <command
1970
                  commandId="org.txm.rcp.commands.function.ExportSVG"
1971
                  icon="icons/functions/exportSVG.png"
1972
                  label="%command.label.101"
1973
                  style="push"
1974
                  tooltip="%command.tooltip.54">
1975
               <visibleWhen
1976
                     checkEnabled="false">
1977
                  <or>
1978
                     <reference
1979
                           definitionId="SVGEditorActive">
1980
                     </reference>
1981
                     <reference
1982
                           definitionId="OneCAHSelected">
1983
                     </reference>
1984
                     <reference
1985
                           definitionId="OneProgressionSelected">
1986
                     </reference>
1987
                     <reference
1988
                           definitionId="OneWordCloudSelected">
1989
                     </reference>
1990
                  </or>
1991
               </visibleWhen>
1992
            </command>
1993
               </menu>
1994
            
1995
            <separator
1996
                  name="org.txm.rcp.corporaview.corpus"
1997
                  visible="true">
1998
            </separator>
1999
            <separator
2000
                  name="org.txm.rcp.corporaview.corpus.read"
2001
                  visible="true">
2002
            </separator>
2003
            
2004
            <command
2005
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
2006
                  icon="icons/functions/Delete.png"
2007
                  style="push">
2008
               <visibleWhen
2009
                     checkEnabled="false">
2010
                  <or>
2011
                     <reference
2012
                           definitionId="OneBaseSelected">
2013
                     </reference>
2014
                     <reference
2015
                           definitionId="OneConcordanceSelected">
2016
                     </reference>
2017
                     <reference
2018
                           definitionId="OneCorpusSelected">
2019
                     </reference>
2020
                     <reference
2021
                           definitionId="OneLexicalTableSelected">
2022
                     </reference>
2023
                     <reference
2024
                           definitionId="OneLexiconSelected">
2025
                     </reference>
2026
                     <reference
2027
                           definitionId="OnePartitionSelected">
2028
                     </reference>
2029
                     <reference
2030
                           definitionId="OneTxmObjectSelected">
2031
                     </reference>
2032
                     <reference
2033
                           definitionId="OneTXMResultSelected">
2034
                     </reference>
2035
                  </or>
2036
               </visibleWhen>
2037
            </command>
2038
            <separator
2039
                  name="org.txm.rcp.corporaview.corpus.manage"
2040
                  visible="true">
2041
            </separator>
2042
            <separator
2043
                  name="org.txm.rcp.corporaview.annotation"
2044
                  visible="true">
2045
            </separator>
2046
            <separator
2047
                  name="org.txm.rcp.corporaview.tools"
2048
                  visible="true">
2049
            </separator>
2050
            <separator
2051
                  name="org.txm.rcp.corporaview.tools.doc"
2052
                  visible="true">
2053
            </separator>
2054
            <separator
2055
                  name="org.txm.rcp.corporaview.tools.stat"
2056
                  visible="true">
2057
            </separator>
2058
            <separator
2059
                  name="org.txm.rcp.corporaview.tools.misc"
2060
                  visible="true">
2061
            </separator>
2062
         <separator
2063
               name="org.txm.rcp.corporaview.text"
2064
               visible="true">
2065
         </separator>
2066
         <separator
2067
               name="org.txm.rcp.corporaview.file"
2068
               visible="true">
2069
         </separator>
2070
            <command
2071
                  commandId="org.txm.rcp.commands.function.RenameResult"
2072
                  label="Rename..."
2073
                  style="push">
2074
               <visibleWhen
2075
                     checkEnabled="false">
2076
                  <reference
2077
                        definitionId="OneTXMResultSelected">
2078
                  </reference>
2079
               </visibleWhen>
2080
            </command>
2081
            <command
2082
                  commandId="org.eclipse.ui.window.preferences"
2083
                  icon="icons/functions/prefs.png"
2084
                  label="%command.label.4"
2085
                  style="push">
2086
            </command>
2087

    
2088
      </menuContribution>
2089
      <menuContribution
2090
            locationURI="popup:org.txm.rcp.views.BasesView">
2091
         <separator
2092
               name="org.txm.rcp.separator1">
2093
         </separator>
2094
         <command
2095
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2096
               icon="icons/functions/Delete.png"
2097
               label="%command.label.65"
2098
               style="push"
2099
               tooltip="%command.tooltip.33">
2100
            <visibleWhen
2101
                  checkEnabled="false">
2102
               <or>
2103
                  <reference
2104
                        definitionId="OnePartitionSelected">
2105
                  </reference>
2106
                  <reference
2107
                        definitionId="OneSubCorpusSelected">
2108
                  </reference>
2109
                  <reference
2110
                        definitionId="OneBaseSelected">
2111
                  </reference>
2112
                  <reference
2113
                        definitionId="OneIndexSelected">
2114
                  </reference>
2115
                  <reference
2116
                        definitionId="OneLexiconSelected">
2117
                  </reference>
2118
                  <reference
2119
                        definitionId="OneConcordanceSelected">
2120
                  </reference>
2121
                  <reference
2122
                        definitionId="OneCASelected">
2123
                  </reference>
2124
                  <reference
2125
                        definitionId="OneSpecificitiesResultSelected">
2126
                  </reference>
2127
                  <reference
2128
                        definitionId="OneMainCorpusSelected">
2129
                  </reference>
2130
               </or>
2131
            </visibleWhen>
2132
         </command>
2133
        
2134
      </menuContribution>
2135

    
2136
      <menuContribution
2137
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2138
         <command
2139
               commandId="org.txm.rcp.commands.function.ExportSVG"
2140
               label="%command.label.101"
2141
               style="push"
2142
               tooltip="%command.tooltip.60">
2143
            <visibleWhen
2144
                  checkEnabled="false">
2145
               <reference
2146
                     definitionId="SVGEditorActive">
2147
               </reference>
2148
            </visibleWhen>
2149
         </command>
2150
      </menuContribution>
2151
      <menuContribution
2152
            locationURI="popup:org.txm.rcp.views.QueriesView">
2153
         <command
2154
               commandId="org.txm.rcp.commands.queryview.Copy"
2155
               label="%command.label.129"
2156
               style="push"
2157
               tooltip="%command.tooltip.81">
2158
            <visibleWhen
2159
                  checkEnabled="false">
2160
               <reference
2161
                     definitionId="OneQueryLogSelected">
2162
               </reference>
2163
            </visibleWhen>
2164
         </command>
2165
         <command
2166
               commandId="org.txm.rcp.commands.queryview.Paste"
2167
               label="%command.label.130"
2168
               style="push"
2169
               tooltip="%command.tooltip.82">
2170
            <visibleWhen
2171
                  checkEnabled="false">
2172
               <reference
2173
                     definitionId="OneBaseSelected">
2174
               </reference>
2175
            </visibleWhen>
2176
         </command>
2177
         <command
2178
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2179
               icon="icons/functions/Delete.png"
2180
               label="%command.label.65"
2181
               style="push"
2182
               tooltip="%command.tooltip.33">
2183
            <visibleWhen
2184
                  checkEnabled="false">
2185
               <reference
2186
                     definitionId="OneQueryLogSelected">
2187
               </reference>
2188
            </visibleWhen>
2189
         </command>
2190
      </menuContribution>
2191
      <menuContribution
2192
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2193
         <command
2194
               commandId="org.txm.rcp.commands.ExecuteMacro"
2195
               label="%command.label.23"
2196
               style="push"
2197
               tooltip="%command.tooltip.19">
2198
            <visibleWhen
2199
                  checkEnabled="false">
2200
               <reference
2201
                     definitionId="OneFileSelected">
2202
               </reference>
2203
            </visibleWhen>
2204
         </command>
2205
         <command
2206
               commandId="org.txm.rcp.commands.EditSelectedFile"
2207
               label="%command.label.186"
2208
               style="push"
2209
               tooltip="%command.tooltip.86">
2210
            <visibleWhen
2211
                  checkEnabled="false">
2212
               <reference
2213
                     definitionId="OneFileSelected">
2214
               </reference>
2215
            </visibleWhen>
2216
         </command>
2217
         <command
2218
               commandId="org.txm.rcp.commands.CreateMacro"
2219
               label="%command.label.187"
2220
               style="push"
2221
               tooltip="%command.tooltip.92">
2222
            <visibleWhen
2223
                  checkEnabled="false">
2224
               <reference
2225
                     definitionId="OneFileSelected">
2226
               </reference>
2227
            </visibleWhen>
2228
         </command>
2229
         <command
2230
               commandId="org.txm.rcp.commands.CreateFolder"
2231
               label="%command.label.123"
2232
               style="push"
2233
               tooltip="%command.tooltip.76">
2234
            <visibleWhen
2235
                  checkEnabled="false">
2236
               <reference
2237
                     definitionId="OneFileSelected">
2238
               </reference>
2239
            </visibleWhen>
2240
         </command>
2241
         <command
2242
               commandId="org.txm.rcp.commands.ShowSelected"
2243
               style="push">
2244
         </command>
2245
         <command
2246
               commandId="org.txm.rcp.commands.RenameFile"
2247
               style="push">
2248
            <visibleWhen
2249
                  checkEnabled="false">
2250
               <reference
2251
                     definitionId="OneFileSelected">
2252
               </reference>
2253
            </visibleWhen>
2254
         </command>
2255
         <command
2256
               commandId="org.txm.rcp.commands.DeleteFile"
2257
               style="push"
2258
               tooltip="%command.tooltip.15">
2259
            <visibleWhen
2260
                  checkEnabled="false">
2261
               <reference
2262
                     definitionId="OneFileSelected">
2263
               </reference>
2264
            </visibleWhen>
2265
         </command>
2266
         <command
2267
               commandId="org.txm.rcp.commands.CopyFile"
2268
               style="push"
2269
               tooltip="%command.tooltip.16">
2270
            <visibleWhen
2271
                  checkEnabled="false">
2272
               <reference
2273
                     definitionId="OneFileSelected">
2274
               </reference>
2275
            </visibleWhen>
2276
         </command>
2277
         <command
2278
               commandId="org.txm.rcp.commands.CutFile"
2279
               style="push"
2280
               tooltip="%command.tooltip.20">
2281
            <visibleWhen
2282
                  checkEnabled="false">
2283
               <reference
2284
                     definitionId="OneFileSelected">
2285
               </reference>
2286
            </visibleWhen>
2287
         </command>
2288
         <command
2289
               commandId="org.txm.rcp.commands.PasteFile"
2290
               style="push"
2291
               tooltip="%command.tooltip.21">
2292
            <visibleWhen
2293
                  checkEnabled="false">
2294
               <reference
2295
                     definitionId="OneFileSelected">
2296
               </reference>
2297
            </visibleWhen>
2298
         </command>
2299
      </menuContribution>
2300
      <menuContribution
2301
            allPopups="true"
2302
            locationURI="toolbar:TXMEditorTopToolBar">
2303
         <command
2304
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2305
               icon="icons/functions/run.png"
2306
               label="Compute"
2307
               style="push">
2308
         </command>
2309
      </menuContribution>
2310
      <menuContribution
2311
            allPopups="false"
2312
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2313
         <command
2314
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2315
               icon="icons/refresh.png"
2316
               style="push">
2317
         </command>
2318
      </menuContribution>
2319
   </extension>
2320
   <extension
2321
         id="general"
2322
         name="general"
2323
         point="org.eclipse.ui.commands">
2324
      <category
2325
            description="%category.description"
2326
            id="org.txm.rcp.category.txm"
2327
            name="%category.name.0">
2328
      </category>
2329
      <command
2330
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2331
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2332
            name="%command.name.22">
2333
         <commandParameter
2334
               id="org.txm.rcp.commands.commandParameter3"
2335
               name="%commandParameter.name.1"
2336
               optional="true">
2337
         </commandParameter>
2338
      </command>
2339
      
2340
      <command
2341
            categoryId="org.eclipse.ui.category.navigate"
2342
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2343
            id="org.txm.rcp.commands.OpenBrowser"
2344
            name="%command.name.8">
2345
         <commandParameter
2346
               id="org.txm.rcp.commands.commandParameter2"
2347
               name="%commandParameter.name"
2348
               optional="true">
2349
         </commandParameter>
2350
      </command>
2351
      <command
2352
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2353
            id="org.txm.rcp.commands.ShowSelected"
2354
            name="%command.name.9">
2355
      </command>
2356
      <command
2357
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2358
            description="%command.description"
2359
            id="org.txm.rcp.commands.RestartTXM"
2360
            name="%command.name.25">
2361
      </command>
2362
      
2363
      <command
2364
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2365
            id="org.txm.rcp.commands.ImportSelectedText"
2366
            name="%command.name.28">
2367
      </command>
2368
      <command
2369
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2370
            id="org.txm.rcp.commands.changelanguage"
2371
            name="%command.name.31">
2372
      </command>
2373
            
2374
      <command
2375
            categoryId="org.eclipse.ui.category.edit"
2376
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2377
            id="org.txm.rcp.commands.OpenImportForm"
2378
            name="%command.name.62">
2379
         <commandParameter
2380
               id="org.txm.rcp.commands.importscript"
2381
               name="%commandParameter.name.2"
2382
               optional="false">
2383
         </commandParameter>
2384
      </command>
2385
      <command
2386
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2387
            description="%command.description.0"
2388
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2389
            name="%command.name.3">
2390
      </command>
2391
      <command
2392
            defaultHandler="org.txm.rcp.commands.workspace.PurgeCorpora"
2393
            description="%command.description.1"
2394
            id="org.txm.rcp.commands.workspace.PurgeCorpora"
2395
            name="%command.name.18">
2396
      </command>
2397
      <command
2398
            categoryId="org.txm.rcp.category.txm"
2399
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2400
            id="org.txm.rcp.commands.OpenTestEditor"
2401
            name="%command.name.19">
2402
      </command>
2403
      <command
2404
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2405
            id="org.txm.rcp.commands.editor.SetEncoding"
2406
            name="%command.name.72">
2407
      </command>
2408
      <command
2409
            categoryId="org.eclipse.ui.category.navigate"
2410
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2411
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2412
            name="%command.name.74">
2413
         <commandParameter
2414
               id="org.txm.rcp.commands.commandParameter3"
2415
               name="%commandParameter.name.3"
2416
               optional="true">
2417
         </commandParameter>
2418
      </command>
2419
      <command
2420
            categoryId="org.eclipse.ui.category.navigate"
2421
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2422
            id="org.txm.rcp.commands.OpenWelcomePage"
2423
            name="%command.name.8">
2424
         <commandParameter
2425
               id="org.txm.rcp.commands.commandParameter2"
2426
               name="%commandParameter.name"
2427
               optional="true">
2428
         </commandParameter>
2429
      </command>
2430
      <command
2431
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2432
            description="%command.label.182"
2433
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2434
            name="%command.label.182">
2435
      </command>
2436
      <command
2437
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2438
            description="%command.description.3"
2439
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2440
            name="%command.name.87">
2441
                     <commandParameter
2442
               id="org.txm.rcp.parameters.update"
2443
               name="manualupdate"
2444
               optional="true">
2445
         </commandParameter>
2446
      </command>
2447
      <command
2448
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2449
            description="%command.description.4"
2450
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2451
            name="%command.name.88">
2452
      </command>
2453
      <command
2454
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2455
            id="org.txm.rcp.commands.CleanPerspective"
2456
            name="%command.name.94">
2457
      </command>
2458
      <command
2459
            defaultHandler="org.txm.rcp.commands.OpenManual"
2460
            id="org.txm.rcp.commands.OpenManual"
2461
            name="%command.name.95">
2462
      </command>
2463
      <command
2464
            categoryId="org.txm.rcp.category.txm"
2465
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2466
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2467
            name="%command.name.98">
2468
      </command>
2469

    
2470
      <command
2471
            categoryId="org.txm.rcp.category.txm"
2472
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2473
            id="org.txm.rcp.commands.ReloadCorporaView"
2474
            name="Reload">
2475
      </command>
2476
      <command
2477
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2478
            id="org.txm.rcp.commands.function.RenameResult"
2479
            name="Rename TXMResult">
2480
      </command>
2481
   </extension>
2482
   <extension
2483
         id="commands"
2484
         name="commands"
2485
         point="org.eclipse.ui.commands">
2486

    
2487
      <command
2488
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2489
            description="%command.description.2"
2490
            id="org.txm.rcp.commands.tests.NilsTest"
2491
            name="%command.name.85">
2492
      </command>
2493
      <command
2494
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2495
            id="org.txm.rcp.commands.function.ExportResult"
2496
            name="%command.name.24">
2497
      </command>
2498
      <command
2499
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2500
            id="org.txm.rcp.commands.function.ExportSVG"
2501
            name="%command.name.34">
2502
      </command>
2503
   </extension>
2504
   <extension
2505
         id="links"
2506
         name="links"
2507
         point="org.eclipse.ui.commands">
2508

    
2509
      <command
2510
            defaultHandler="org.txm.rcp.commands.editor.Copy"
2511
            id="org.txm.rcp.commands.editor.Copy"
2512
            name="%command.name.55">
2513
      </command>
2514
   </extension>
2515
   <extension
2516
         id="views"
2517
         name="views"
2518
         point="org.eclipse.ui.commands">
2519
      <command
2520
            defaultHandler="org.txm.rcp.commands.workspace.AddProject"
2521
            id="org.txm.rcp.commands.workspace.AddProject"
2522
            name="%command.name.11">
2523
      </command>
2524
      <command
2525
            defaultHandler="org.txm.rcp.commands.workspace.RemoveProject"
2526
            id="org.txm.rcp.commands.workspace.RemoveProject"
2527
            name="%command.name.12">
2528
      </command>
2529
      <command
2530
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
2531
            id="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
2532
            name="%command.name.13">
2533
      </command>
2534
      <command
2535
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2536
            id="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2537
            name="Add bases">
2538
      </command>
2539
      <command
2540
            defaultHandler="org.txm.rcp.commands.workspace.RemoveBase"
2541
            id="org.txm.rcp.commands.workspace.RemoveBase"
2542
            name="%command.name.14">
2543
      </command>
2544
      <command
2545
            defaultHandler="org.txm.rcp.commands.workspace.AddText"
2546
            id="org.txm.rcp.commands.workspace.AddText"
2547
            name="%command.name.15">
2548
      </command>
2549
      <command
2550
            defaultHandler="org.txm.rcp.commands.workspace.RemoveText"
2551
            id="org.txm.rcp.commands.workspace.RemoveText"
2552
            name="%command.name.16">
2553
      </command>
2554
      <command
2555
            defaultHandler="org.txm.rcp.commands.workspace.BuildCorpus"
2556
            id="org.txm.rcp.commands.workspace"
2557
            name="%command.name.17">
2558
      </command>
2559
      <command
2560
            defaultHandler="org.txm.rcp.commands.queryview.Copy"
2561
            id="org.txm.rcp.commands.queryview.Copy"
2562
            name="%command.name.55">
2563
      </command>
2564
      <command
2565
            defaultHandler="org.txm.rcp.commands.queryview.Paste"
2566
            id="org.txm.rcp.commands.queryview.Paste"
2567
            name="%command.name.56">
2568
      </command>
2569
      <command
2570
            defaultHandler="org.txm.rcp.handlers.files.DownloadFile"
2571
            id="org.txm.rcp.commands.DownloadFile"
2572
            name="%command.name.91">
2573
      </command>
2574
      <command
2575
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResult"
2576
            id="CloneTXMResult"
2577
            name="Clone result">
2578
      </command>
2579
      <command
2580
            defaultHandler="org.txm.rcp.views.debug.RefreshDebugView"
2581
            id="org.txm.rcp.views.debug.RefreshDebugView"
2582
            name="Refresh SWT Debug view">
2583
      </command>
2584
   </extension>
2585
   <extension
2586
         id="file"
2587
         name="file"
2588
         point="org.eclipse.ui.commands">
2589
      <category
2590
            description="File"
2591
            id="org.txm.rcp.categories.file"
2592
            name="File">
2593
      </category>
2594
      <command
2595
            categoryId="org.txm.rcp.categories.file"
2596
            defaultHandler="org.txm.rcp.handlers.files.CutFile"
2597
            id="org.txm.rcp.commands.CutFile"
2598
            name="%command.name.71">
2599
      </command>
2600
      <command
2601
            categoryId="org.txm.rcp.categories.file"
2602
            defaultHandler="org.txm.rcp.commands.editor.SaveAs"
2603
            id="org.txm.rcp.commands.editor.SaveAs"
2604
            name="%command.name.67">
2605
      </command>
2606
      <command
2607
            categoryId="org.txm.rcp.categories.file"
2608
            defaultHandler="org.txm.rcp.handlers.files.DeleteFile"
2609
            id="org.txm.rcp.commands.DeleteFile"
2610
            name="%command.name.68">
2611
      </command>
2612
      <command
2613
            categoryId="org.txm.rcp.categories.file"
2614
            defaultHandler="org.txm.rcp.handlers.files.CopyFile"
2615
            id="org.txm.rcp.commands.CopyFile"
2616
            name="%command.name.69">
2617
      </command>
2618
      <command
2619
            categoryId="org.txm.rcp.categories.file"
2620
            defaultHandler="org.txm.rcp.handlers.files.PasteFile"
2621
            id="org.txm.rcp.commands.PasteFile"
2622
            name="%command.name.70">
2623
      </command>
2624
      <command
2625
            categoryId="org.txm.rcp.categories.file"
2626
            defaultHandler="org.txm.rcp.handlers.files.RenameFile"
2627
            id="org.txm.rcp.commands.RenameFile"
2628
            name="%command.name.108">
2629
      </command>
2630
      <command
2631
            categoryId="org.txm.rcp.categories.file"
2632
            defaultHandler="org.txm.rcp.handlers.files.CreateFile"
2633
            id="org.txm.rcp.commands.CreateFile"
2634
            name="%command.name.47">
2635
      </command>
2636
      <command
2637
            categoryId="org.txm.rcp.categories.file"
2638
            defaultHandler="org.txm.rcp.handlers.files.CreateFolder"
2639
            id="org.txm.rcp.commands.CreateFolder"
2640
            name="%command.name.48">
2641
      </command>
2642
      <command
2643
            categoryId="org.txm.rcp.categories.file"
2644
            defaultHandler="org.txm.rcp.handlers.files.EditSelectedFile"
2645
            id="org.txm.rcp.commands.EditSelectedFile"
2646
            name="%command.name.106">
2647
      </command>
2648
      <command
2649
            categoryId="org.txm.rcp.categories.file"
2650
            defaultHandler="org.txm.rcp.handlers.files.EditFile"
2651
            id="org.txm.rcp.commands.EditFile"
2652
            name="%command.name">
2653
         <commandParameter
2654
               id="org.txm.rcp.commands.commandParameter2"
2655
               name="%commandParameter.name"
2656
               optional="true">
2657
         </commandParameter>
2658
      </command>
2659
   </extension>
2660
   <extension
2661
         id="results"
2662
         name="results"
2663
         point="org.eclipse.ui.commands">
2664
      <category
2665
            id="org.txm.rcp.categories.results"
2666
            name="Results">
2667
      </category>
2668
      <command
2669
            categoryId="org.txm.rcp.categories.results"
2670
            defaultHandler="org.txm.rcp.handlers.results.DeleteObject"
2671
            description="Delete an object"
2672
            id="org.txm.rcp.handlers.results.DeleteObject"
2673
            name="%command.name.26">
2674
      </command>
2675
      <command
2676
            categoryId="org.txm.rcp.categories.results"
2677
            defaultHandler="org.txm.rcp.handlers.results.ComputeTXMResult"
2678
            description="Compute/Update the TXMResult of a TXMEditor"
2679
            id="org.txm.rcp.handlers.ComputeTXMResult"
2680
            name="Compute">
2681
      </command>
2682
   </extension>
2683
   <extension
2684
         id="scripts"
2685
         name="scripts"
2686
         point="org.eclipse.ui.commands">
2687
      <category
2688
            id="org.txm.rcp.categories.scripts"
2689
            name="Script">
2690
      </category>
2691
      <command
2692
            categoryId="org.txm.rcp.categories.scripts"
2693
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScript"
2694
            id="org.txm.rcp.commands.ExecuteScriptGroovy"
2695
            name="%command.name.0">
2696
      </command>
2697
      <command
2698
            categoryId="org.txm.rcp.categories.scripts"
2699
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteLastGroovyScript"
2700
            id="org.txm.rcp.commands.ExecuteLastGroovyScript"
2701
            name="%command.name.89">
2702
      </command>
2703
      <command
2704
            categoryId="org.txm.rcp.categories.scripts"
2705
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyText"
2706
            id="org.txm.rcp.commands.ExecuteGroovyText"
2707
            name="%command.name.10">
2708
      </command>
2709
      <command
2710
            categoryId="org.txm.rcp.categories.scripts"
2711
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScriptFromFile"
2712
            id="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
2713
            name="%command.name.66">
2714
      </command>
2715
      <command
2716
            categoryId="org.txm.rcp.categories.scripts"
2717
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyMacro"
2718
            id="org.txm.rcp.commands.ExecuteMacro"
2719
            name="%command.name.79">
2720
         <commandParameter
2721
               id="org.txm.rcp.command.parameter.file"
2722
               name="Groovy file"
2723
               optional="true">
2724
         </commandParameter>
2725
      </command>
2726
      <command
2727
            categoryId="org.txm.rcp.categories.scripts"
2728
            defaultHandler="org.txm.rcp.handlers.scripts.CreateMacro"
2729
            id="org.txm.rcp.commands.CreateMacro"
2730
            name="%command.name.80">
2731
      </command>
2732
      <command
2733
            categoryId="org.txm.rcp.categories.scripts"
2734
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteScript"
2735
            id="org.txm.rcp.commands.ExecuteScript"
2736
            name="%command.name.21">
2737
         <commandParameter
2738
               id="org.txm.rcp.command.parameter.file"
2739
               name="Groovy file"
2740
               optional="true">
2741
         </commandParameter>
2742
      </command>
2743
      <command
2744
            categoryId="org.txm.rcp.categories.scripts"
2745
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteText"
2746
            id="org.txm.rcp.commands.ExecuteText"
2747
            name="%command.name.50">
2748
      </command>
2749
   </extension>
2750
   <extension
2751
         point="org.eclipse.core.expressions.definitions">
2752
      <definition
2753
            id="OneFileSelected">
2754
         <with
2755
               variable="selection">
2756
            <iterate
2757
                  ifEmpty="false"
2758
                  operator="and">
2759
               <instanceof
2760
                     value="java.io.File">
2761
               </instanceof>
2762
            </iterate>
2763
         </with>
2764
      </definition>
2765
      <definition
2766
            id="OneDirSelected">
2767
         <and>
2768
            <instanceof
2769
                  value="java.io.File">
2770
            </instanceof>
2771
            <test
2772
                  args="isDirectory()"
2773
                  property="org.txm.rcp.test2"
2774
                  value="true">
2775
            </test>
2776
         </and>
2777
      </definition>
2778
            <definition
2779
                  id="OneProjectSelected">
2780
               <with
2781
                     variable="selection">
2782
                  <iterate
2783
                        ifEmpty="false"
2784
                        operator="and">
2785
                     <instanceof
2786
                           value="org.txm.objects.Project">
2787
                     </instanceof>
2788
                  </iterate>
2789
               </with>
2790
            </definition>
2791
            <definition
2792
                  id="OneBaseSelected">
2793
               <with
2794
                     variable="selection">
2795
                  <iterate
2796
                        ifEmpty="false"
2797
                        operator="and">
2798
                     <instanceof
2799
                           value="org.txm.objects.Base">
2800
                     </instanceof>
2801
                  </iterate>
2802
               </with>
2803
            </definition>
2804
            <definition
2805
                  id="OneTextSelected">
2806
               <with
2807
                     variable="selection">
2808
                  <iterate
2809
                        ifEmpty="false"
2810
                        operator="and">
2811
                     <instanceof
2812
                           value="org.txm.objects.Text">
2813
                     </instanceof>
2814
                  </iterate>
2815
               </with>
2816
            </definition>
2817
            <definition
2818
                  id="OneScriptSelected">
2819
               <with
2820
                     variable="selection">
2821
                  <iterate
2822
                        ifEmpty="false"
2823
                        operator="and">
2824
                     <instanceof
2825
                           value="org.txm.objects.Script">
2826
                     </instanceof>
2827
                  </iterate>
2828
               </with>
2829
            </definition>
2830
            <definition
2831
                  id="OneResultSelected">
2832
               <visibleWhen
2833
                     checkEnabled="false">
2834
                  <or>
2835
                     <reference
2836
                           definitionId="OneSpecificitiesResultSelected">
2837
                     </reference>
2838
                     <reference
2839
                           definitionId="OneCASelected">
2840
                     </reference>
2841
                     <reference
2842
                           definitionId="OneLexiconSelected">
2843
                     </reference>
2844
                     <reference
2845
                           definitionId="OneConcordanceSelected">
2846
                     </reference>
2847
                     <reference
2848
                           definitionId="OneIndexSelected">
2849
                     </reference>
2850
                     <reference
2851
                           definitionId="OneReferencerSelected">
2852
                     </reference>
2853
                  </or>
2854
               </visibleWhen>
2855
            </definition>
2856
            <definition
2857
                  id="SVGEditorActive">
2858
               <with
2859
                     variable="activeEditorId">
2860
                  <equals
2861
                        value="org.txm.rcp.editors.SVGGraphicEditor">
2862
                  </equals>
2863
               </with>
2864
            </definition>
2865
            <definition
2866
                  id="OneTxmObjectSelected">
2867
               <with
2868
                     variable="selection">
2869
                  <iterate
2870
                        ifEmpty="false"
2871
                        operator="and">
2872
                     <instanceof
2873
                           value="org.txm.objects.TxmObject">
2874
                     </instanceof>
2875
                  </iterate>
2876
               </with>
2877
            </definition>
2878
            <definition
2879
                  id="OneQueryLogSelected">
2880
               <with
2881
                     variable="selection">
2882
                  <iterate
2883
                        ifEmpty="false"
2884
                        operator="and">
2885
                     <instanceof
2886
                           value="org.txm.objects.QueryLog">
2887
                     </instanceof>
2888
                  </iterate>
2889
               </with>
2890
            </definition>
2891
            <definition
2892
                  id="StatEngineReady">
2893
               <test
2894
                     forcePluginActivation="true"
2895
                     property="org.txm.rcp.testers.ToolboxTester"
2896
                     value="StateEngineReady">
2897
               </test>
2898
            </definition>
2899
            <definition
2900
                  id="LabPerspectiveSelected">
2901
               <with
2902
                     variable="activeWorkbenchWindow.activePerspective">
2903
                  <equals
2904
                        value="org.txm.rcp.perspective.LabPerspective">
2905
                  </equals>
2906
               </with>
2907
            </definition>
2908
            <definition
2909
                  id="OneLexicalTableAbleSelected">
2910
               <with
2911
                     variable="selection">
2912
                  <iterate
2913
                        ifEmpty="false"
2914
                        operator="and">
2915
                     <instanceof
2916
                           value="org.txm.functions.LexicalTableAble">
2917
                     </instanceof>
2918
                  </iterate>
2919
               </with>
2920
            </definition>
2921
            <definition
2922
                  id="NeedToSaveAnnotations">
2923
               <test
2924
                     forcePluginActivation="true"
2925
                     property="org.txm.rcp.testers.annotate.canSave">
2926
               </test>
2927
            </definition>
2928
            <definition
2929
                  id="ExpertEnabled">
2930
               <test
2931
                     forcePluginActivation="true"
2932
                     property="org.txm.rcp.testers.ExpertEnabled">
2933
               </test>
2934
            </definition>
2935
            <definition
2936
                  id="IsXTZCorpus">
2937
               <test
2938
                     forcePluginActivation="true"
2939
                     property="org.txm.rcp.testers.corpus.xtzCorpus">
2940
               </test>
2941
            </definition>
2942
            <definition
2943
                  id="TextEditorActive">
2944
               <or>
2945
               <with
2946
                     variable="activePartId">
2947
                  <equals
2948
                        value="org.txm.rcp.editors.TxtEditor">
2949
                  </equals>
2950
               </with>
2951
               <with
2952
                     variable="activePartId">
2953
                  <equals
2954
                        value=" org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart">
2955
                  </equals>
2956
               </with></or>
2957
            </definition>
2958
            <definition
2959
                  id="OneTXMResultSelected">
2960
               <with
2961
                     variable="selection">
2962
                  <iterate
2963
                        ifEmpty="false"
2964
                        operator="and">
2965
                     <instanceof
2966
                           value="org.txm.core.results.TXMResult">
2967
                     </instanceof>
2968
                  </iterate>
2969
               </with>
2970
            </definition>
2971
            <definition
2972
                  id="OneOrMoreElementSelected">
2973
               <with
2974
                     variable="activeMenuSelection">
2975
                  <count
2976
                        value="+">
2977
                  </count>
2978
               </with>
2979
            </definition>
2980
   </extension>
2981
  
2982
   <extension
2983
         point="org.eclipse.ui.popupMenus">
2984
      <viewerContribution
2985
            id="projmenu"
2986
            targetID="org.txm.rcp.views.BasesView">
2987
      </viewerContribution>
2988
   </extension>
2989
   
2990
   <extension
2991
         point="org.eclipse.ui.splashHandlers">
2992
      <splashHandler
2993
            class="org.txm.rcp.AbstractSplashHandler2"
2994
            id="org.txm.rcp.splashHandler2">
2995
      </splashHandler>
2996
      <splashHandlerProductBinding
2997
            productId="org.txm.rcp.product"
2998
            splashId="org.txm.rcp.splash">
2999
      </splashHandlerProductBinding>
3000
   </extension>
3001
   <extension
3002
         point="org.eclipse.core.expressions.propertyTesters">
3003
      <propertyTester
3004
            class="org.txm.rcp.testers.ToolboxTester"
3005
            id="org.txm.rcp.testers.ToolboxTester"
3006
            namespace="org.txm.rcp.testers"
3007
            properties="StatEngineReady,SearchEngineReady"
3008
            type="java.lang.Object">
3009
      </propertyTester>
3010
      <propertyTester
3011
            class="org.txm.rcp.testers.IsCorpusAnnotated"
3012
            id="org.txm.rcp.testers.IsCorpusAnnotated"
3013
            namespace="org.txm.rcp.testers.annotate"
3014
            properties="canSave"
3015
            type="java.lang.Object">
3016
      </propertyTester>
3017
      <propertyTester
3018
            class="org.txm.rcp.testers.ExpertEnabled"
3019
            id="org.txm.rcp.testers.ExpertEnabled"
3020
            namespace="org.txm.rcp.testers"
3021
            properties="ExpertEnabled"
3022
            type="java.lang.Object">
3023
      </propertyTester>
3024
      <propertyTester
3025
            class="org.txm.rcp.testers.IsXTZCorpus"
3026
            id="org.txm.rcp.testers.IsXTZCorpus"
3027
            namespace="org.txm.rcp.testers.corpus"
3028
            properties="xtzCorpus"
3029
            type="java.lang.Object">
3030
      </propertyTester>
3031
   </extension>
3032
   <extension
3033
         point="org.eclipse.ui.bindings">
3034
      <key
3035
            commandId="org.txm.rcp.commands.ExecuteText"
3036
            contextId="org.eclipse.ui.contexts.window"
3037
            schemeId="org.txm.rcp.scheme"
3038
            sequence="F11">
3039
      </key>
3040
      <key
3041
            commandId="org.txm.rcp.commands.ExecuteScript"
3042
            contextId="org.eclipse.ui.contexts.window"
3043
            schemeId="org.txm.rcp.scheme"
3044
            sequence="M1+F11">
3045
      </key>
3046
      <key
3047
            commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
3048
            contextId="org.eclipse.ui.contexts.window"
3049
            schemeId="org.txm.rcp.scheme"
3050
            sequence="F12">
3051
      </key>
3052
      <scheme
3053
            description="%scheme.description"
3054
            id="org.txm.rcp.scheme"
3055
            name="%scheme.name"
3056
            parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
3057
      </scheme>
3058
      <key
3059
            commandId="org.txm.rcp.commands.ReloadCorporaView"
3060
            contextId="org.txm.rcp.views.corpora.CorporaView"
3061
            schemeId="org.txm.rcp.scheme"
3062
            sequence="F5">
3063
      </key>
3064
      <key
3065
            commandId="org.txm.rcp.commands.function.RenameResult"
3066
            contextId="org.txm.rcp.views.corpora.CorporaView"
3067
            schemeId="org.txm.rcp.scheme"
3068
            sequence="F2">
3069
      </key>
3070
   </extension>
3071
   <extension
3072
         point="org.eclipse.e4.ui.css.swt.theme">
3073
      <theme
3074
            basestylesheeturi="css/default_linux.css"
3075
            id="org.txm.rcp.theme.default.linux"
3076
            label="TXM"
3077
            os="linux">
3078
      </theme>
3079
      <theme
3080
            basestylesheeturi="css/default_windows.css"
3081
            id="org.txm.rcp.theme.default.windows"
3082
            label="TXM"
3083
            os="win32">
3084
      </theme>
3085
      <theme
3086
            basestylesheeturi="css/default_mac.css"
3087
            id="org.txm.rcp.theme.default.mac"
3088
            label="TXM"
3089
            os="macosx">
3090
      </theme>
3091
   </extension>
3092
   <extension
3093
         point="org.eclipse.ui.contexts">
3094
      <context
3095
            description="Corpora view"
3096
            id="org.txm.rcp.views.corpora.CorporaViewContext"
3097
            name="Corpora view">
3098
      </context>
3099
   </extension>
3100
</plugin>