Statistics
| Revision:

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

History | View | Annotate | Download (115.4 kB)

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

    
196

    
197

    
198

    
199

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

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

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

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

    
2455
      <command
2456
            categoryId="org.txm.rcp.category.txm"
2457
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2458
            id="org.txm.rcp.commands.ReloadCorporaView"
2459
            name="Reload">
2460
      </command>
2461
      <command
2462
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2463
            id="org.txm.rcp.commands.function.RenameResult"
2464
            name="Rename TXMResult">
2465
      </command>
2466
   </extension>
2467
   <extension
2468
         id="commands"
2469
         name="commands"
2470
         point="org.eclipse.ui.commands">
2471

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

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