Statistics
| Revision:

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

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

    
206

    
207

    
208

    
209

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

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

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

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

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

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

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