Statistics
| Revision:

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

History | View | Annotate | Download (116.6 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
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="org.txm.rcp.editors.TXMEditorExtension" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
 
7
   <extension
8
         id="Application"
9
         point="org.eclipse.core.runtime.applications">
10
      <application
11
            icon="icons/logo/TXM logo.png">
12
         <run
13
               class="org.txm.rcp.Application">
14
         </run>
15
      </application>
16
   </extension>
17
   <extension
18
         point="org.eclipse.ui.perspectives">
19
      <perspective
20
            class="org.txm.rcp.perspective.TXMPerspective"
21
            icon="icons/objects/corpus.png"
22
            id="org.txm.rcp.perspective.TXMPerspective"
23
            name="%perspective.name">
24
      </perspective>
25
   </extension>
26
   <extension
27
         id="product"
28
         point="org.eclipse.core.runtime.products">
29
      <product
30
            application="org.txm.rcp.Application"
31
            description="TXM desktop application"
32
            name="TXM">
33
         <property
34
               name="appName"
35
               value="TXM">
36
         </property>
37
         <property
38
               name="preferenceCustomization"
39
               value="plugin_customization.ini">
40
         </property>
41
         <property
42
               name="windowImages"
43
               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">
44
         </property>
45
         <property
46
               name="startupForegroundColor"
47
               value="000000">
48
         </property>
49
         <property
50
               name="startupMessageRect"
51
               value="13,312,290,20">
52
         </property>
53
         <property
54
               name="aboutImage"
55
               value="icons/logo/about TXM.png">
56
         </property>
57
         <property
58
               name="aboutText"
59
               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;">
60
         </property>
61
         <property
62
               name="startupProgressRect"
63
               value="13,332,290,15">
64
         </property>
65
         <property
66
               name="cssTheme"
67
               value="org.txm.rcp.theme.default.linux">
68
         </property>
69
      </product>
70
   </extension>
71
   <extension
72
         point="org.eclipse.ui.perspectiveExtensions">
73
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
74
         <view
75
               closeable="false"
76
               id="org.txm.rcp.views.corpora.CorporaView"
77
               ratio="0.5"
78
               relationship="right"
79
               relative="org.eclipse.ui.views.TaskList"/>
80
         <view
81
               closeable="true"
82
               id="org.eclipse.ui.views.ProgressView"
83
               ratio="0.5"
84
               relationship="bottom"
85
               showTitle="true"
86
               visible="true">
87
         </view>
88
         <view
89
               closeable="true"
90
               id="org.txm.rcp.views.GroovyConsole"
91
               minimized="false"
92
               ratio="0.5"
93
               relationship="bottom"
94
               visible="true">
95
         </view>
96
         <view
97
               closeable="true"
98
               id="org.txm.rcp.views.QueriesView"
99
               ratio="0.5"
100
               relationship="right"
101
               relative="org.eclipse.ui.views.TaskList">
102
         </view>
103
      </perspectiveExtension>
104
   </extension>
105
   <extension
106
         point="org.eclipse.ui.views">
107
      <category
108
            id="org.txm.rcp"
109
            name="%category.name"/>
110
      <view
111
            category="org.txm.rcp"
112
            class="org.txm.rcp.views.corpora.CorporaView"
113
            icon="icons/objects/corpus.png"
114
            id="org.txm.rcp.views.corpora.CorporaView"
115
            name="%view.name"/>
116
      <view
117
            allowMultiple="false"
118
            category="org.eclipse.ui"
119
            class="org.eclipse.ui.ExtensionFactory:progressView"
120
            id="org.eclipse.ui.views.ProgressView"
121
            name="%view.name.0"
122
            restorable="true">
123
      </view>
124
      <view
125
            allowMultiple="false"
126
            category="org.txm.rcp"
127
            class="org.txm.rcp.views.fileexplorer.Explorer"
128
            icon="icons/objects/folder.png"
129
            id="org.txm.rcp.views.fileexplorer.Explorer"
130
            name="%view.name.1"
131
            restorable="true">
132
      </view>
133
      <view
134
            allowMultiple="false"
135
            category="org.txm.rcp"
136
            class="org.txm.rcp.views.GroovyConsole"
137
            id="org.txm.rcp.views.GroovyConsole"
138
            name="%view.name.2"
139
            restorable="true">
140
      </view>
141
      <view
142
            category="org.txm.rcp"
143
            class="org.txm.rcp.views.BasesView"
144
            id="org.txm.rcp.views.BasesView"
145
            name="%view.name.3"
146
            restorable="true">
147
      </view>
148
      <view
149
            category="org.txm.rcp"
150
            class="org.txm.rcp.views.QueriesView"
151
            icon="icons/objects/query.png"
152
            id="org.txm.rcp.views.QueriesView"
153
            name="%view.name.4"
154
            restorable="true">
155
      </view>
156
      <view
157
            category="org.txm.rcp"
158
            class="org.txm.rcp.views.SummaryView"
159
            id="org.txm.rcp.views.InternalCorpusView"
160
            name="%view.name.7"
161
            restorable="true">
162
      </view>
163
      <view
164
            allowMultiple="false"
165
            category="org.txm.rcp"
166
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
167
            icon="icons/objects/script.png"
168
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
169
            name="%view.name.8"
170
            restorable="true">
171
      </view>
172
      <view
173
            category="org.txm.rcp"
174
            class="org.txm.rcp.views.cmdparameters.ParametersView"
175
            icon="icons/functions/Properties.png"
176
            id="org.txm.rcp.views.cmdparameters.ParametersView"
177
            name="ParametersView"
178
            restorable="true">
179
      </view>
180
      <view
181
            category="org.txm.rcp"
182
            class="org.txm.rcp.views.debug.TXMResultDebugView"
183
            icon="icons/functions/Properties.png"
184
            id="org.txm.rcp.views.debug.TXMResultDebugView"
185
            name="TXMResultDebugView"
186
            restorable="true">
187
      </view>
188
      <view
189
            category="org.txm.rcp"
190
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
191
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
192
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
193
            name="SWT debug view"
194
            restorable="true">
195
      </view>
196
   </extension>
197
   <extension
198
         point="org.eclipse.core.runtime.adapters">
199
      <factory
200
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
201
            class="org.txm.rcp.AdapterFactory">
202
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
203
      </factory>
204

    
205

    
206

    
207

    
208

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

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

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

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

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

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

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