Statistics
| Revision:

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

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

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

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

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

    
2460
      <command
2461
            categoryId="org.txm.rcp.category.txm"
2462
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2463
            id="org.txm.rcp.commands.ReloadCorporaView"
2464
            name="Reload">
2465
      </command>
2466
      <command
2467
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2468
            id="org.txm.rcp.commands.function.RenameResult"
2469
            name="Rename TXMResult">
2470
      </command>
2471
   </extension>
2472
   <extension
2473
         id="commands"
2474
         name="commands"
2475
         point="org.eclipse.ui.commands">
2476

    
2477
      <command
2478
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2479
            description="%command.description.2"
2480
            id="org.txm.rcp.commands.tests.NilsTest"
2481
            name="%command.name.85">
2482
      </command>
2483
      <command
2484
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2485
            id="org.txm.rcp.commands.function.ExportResult"
2486
            name="%command.name.24">
2487
      </command>
2488
      <command
2489
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2490
            id="org.txm.rcp.commands.function.ExportSVG"
2491
            name="%command.name.34">
2492
      </command>
2493
   </extension>
2494
   <extension
2495
         id="links"
2496
         name="links"
2497
         point="org.eclipse.ui.commands">
2498

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