Statistics
| Revision:

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

History | View | Annotate | Download (114 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
            <command
491
                  commandId="org.txm.rcp.commands.workspace.AddBase"
492
                  label="%command.label.50"
493
                  style="push">
494
            </command>
495
            <menu
496
                  icon="icons/functions/export.png"
497
                  id="menu.file.export"
498
                  label="%menu.label.5">
499
               <command
500
                     commandId="org.txm.rcp.commands.function.ExportResult"
501
                     icon="icons/functions/export_data.png"
502
                     label="%command.label.51"
503
                     style="push">
504
                  <visibleWhen
505
                        checkEnabled="false">
506
                     <or>
507
                        <reference
508
                              definitionId="OneLexiconSelected">
509
                        </reference>
510
                        <reference
511
                              definitionId="OneConcordanceSelected">
512
                        </reference>
513
                        <reference
514
                              definitionId="OneSpecificitiesResultSelected">
515
                        </reference>
516
                        <reference
517
                              definitionId="OneIndexSelected">
518
                        </reference>
519
                        <reference
520
                              definitionId="OneCooccurrenceSelected">
521
                        </reference>
522
                        <reference
523
                              definitionId="OneReferencerSelected">
524
                        </reference>
525
                        <reference
526
                              definitionId="OneProgressionSelected">
527
                        </reference>
528
                        <reference
529
                              definitionId="OneLexicalTableSelected">
530
                        </reference>
531
                        <reference
532
                              definitionId="OneCASelected">
533
                        </reference>
534
                        <reference
535
                              definitionId="OneCAHSelected">
536
                        </reference>
537
                        <reference
538
                              definitionId="OneTXMResultSelected">
539
                        </reference>
540
                     </or>
541
                  </visibleWhen>
542
               </command>
543
               <command
544
                     commandId="org.txm.rcp.commands.function.ExportSVG"
545
                     icon="icons/functions/exportSVG.png"
546
                     label="%command.label.101"
547
                     style="push"
548
                     tooltip="%command.tooltip.54">
549
                  <visibleWhen
550
                        checkEnabled="false">
551
                     <or>
552
                        <reference
553
                              definitionId="SVGEditorActive">
554
                        </reference>
555
                        <reference
556
                              definitionId="OneCAHSelected">
557
                        </reference>
558
                        <reference
559
                              definitionId="OneProgressionSelected">
560
                        </reference>
561
                        <reference
562
                              definitionId="OneWordCloudSelected">
563
                        </reference>
564
                     </or>
565
                  </visibleWhen>
566
               </command>
567
            </menu>
568
            <separator
569
                  name="menu.file.separator.file"
570
                  visible="true">
571
            </separator>
572
            <command
573
                  commandId="org.txm.rcp.commands.CreateFile"
574
                  icon="icons/functions/page_white_add.png"
575
                  label="%command.label.83">
576
            </command>
577
            <command
578
                  commandId="org.txm.rcp.commands.EditFile"
579
                  icon="icons/functions/open.png"
580
                  id="file.open"
581
                  label="%command.label.45"
582
                  style="push">
583
            </command>
584
            <command
585
                  commandId="org.eclipse.ui.file.save"
586
                  icon="icons/functions/save.png"
587
                  label="%command.label.86">
588
            </command>
589
            <command
590
                  commandId="org.eclipse.ui.file.saveAll"
591
                  icon="icons/functions/saveall.png"
592
                  label="%command.label.88">
593
            </command>
594
            <command
595
                  commandId="org.txm.rcp.commands.editor.SaveAs"
596
                  icon="icons/functions/saveas.png"
597
                  label="%command.label.29">
598
               <visibleWhen
599
                     checkEnabled="false">
600
                  <reference
601
                        definitionId="TextEditorActive">
602
                  </reference>
603
               </visibleWhen>
604
            </command>
605
            <command
606
                  commandId="org.eclipse.ui.file.close"
607
                  label="%command.label.90">
608
            </command>
609
            <command
610
                  commandId="org.eclipse.ui.file.closeAll"
611
                  label="%command.label.93">
612
            </command>
613
            <separator
614
                  name="menu.file.separator.open"
615
                  visible="true">
616
            </separator>
617
            <command
618
                  commandId="org.txm.rcp.commands.OpenBrowser"
619
                  label="%command.label"
620
                  style="push"
621
                  tooltip="%command.tooltip">
622
            </command>
623
            <separator
624
                  name="menu.file.separator.lang"
625
                  visible="true">
626
            </separator>
627
            <command
628
                  commandId="org.txm.rcp.commands.changelanguage"
629
                  label="%command.label.75"
630
                  style="push"
631
                  tooltip="%command.tooltip.42">
632
            </command>
633
            <separator
634
                  name="menu.file.separator.update"
635
                  visible="true">
636
            </separator>
637
            <command
638
                  commandId="org.txm.rcp.p2.plugins.TXMUpdateHandler"
639
                  label="%command.label.181"
640
                  style="push">
641
               <visibleWhen
642
                     checkEnabled="false">
643
                  <reference
644
                        definitionId="WasNotFirstTXMRun">
645
                  </reference>
646
               </visibleWhen>
647
               <parameter
648
                     name="org.txm.rcp.parameters.update"
649
                     value="true">
650
               </parameter>
651
            </command>
652
            <command
653
                  commandId="org.txm.rcp.p2.plugins.InstallPluginHandler"
654
                  label="%command.label.182"
655
                  style="push">
656
               <visibleWhen
657
                     checkEnabled="false">
658
                  <reference
659
                        definitionId="WasNotFirstTXMRun">
660
                  </reference>
661
               </visibleWhen>
662
            </command>
663
            <command
664
                  commandId="org.eclipse.equinox.p2.ui.sdk.install"
665
                  label="%command.label.34"
666
                  style="push">
667
               <visibleWhen
668
                     checkEnabled="false">
669
                  <reference
670
                        definitionId="WasNotFirstTXMRun">
671
                  </reference>
672
               </visibleWhen>
673
            </command>
674
            <separator
675
                  name="menu.file.separator.close"
676
                  visible="true">
677
            </separator>
678
            <command
679
                  commandId="org.txm.rcp.commands.RestartTXM"
680
                  label="%command.label.59"
681
                  style="push"
682
                  tooltip="%command.tooltip.26">
683
            </command>
684
            <command
685
                  commandId="org.eclipse.ui.file.exit"
686
                  label="%command.label.6"
687
                  style="push"
688
                  tooltip="%command.tooltip.2">
689
            </command>
690
         </menu>
691
         <menu
692
               id="menu.edit"
693
               label="%menu.label.3">
694
            <command
695
                  commandId="org.eclipse.ui.edit.findReplace"
696
                  label="%command.label.15">
697
               <visibleWhen
698
                     checkEnabled="false">
699
                  <reference
700
                        definitionId="TextEditorActive">
701
                  </reference>
702
               </visibleWhen>
703
            </command>
704
            <command
705
                  commandId="org.eclipse.ui.edit.findNext"
706
                  label="%command.label.98"
707
                  style="push">
708
               <visibleWhen
709
                     checkEnabled="false">
710
                  <reference
711
                        definitionId="TextEditorActive">
712
                  </reference>
713
               </visibleWhen>
714
            </command>
715
            <command
716
                  commandId="org.eclipse.ui.edit.findPrevious"
717
                  label="%command.label.100"
718
                  style="push">
719
               <visibleWhen
720
                     checkEnabled="false">
721
                  <reference
722
                        definitionId="TextEditorActive">
723
                  </reference>
724
               </visibleWhen>
725
            </command>
726
            <command
727
                  commandId="org.eclipse.ui.edit.findIncremental"
728
                  label="%command.label.109"
729
                  style="push">
730
               <visibleWhen
731
                     checkEnabled="false">
732
                  <reference
733
                        definitionId="TextEditorActive">
734
                  </reference>
735
               </visibleWhen>
736
            </command>
737
            <command
738
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
739
                  label="%command.label.110"
740
                  style="push">
741
               <visibleWhen
742
                     checkEnabled="false">
743
                  <reference
744
                        definitionId="TextEditorActive">
745
                  </reference>
746
               </visibleWhen>
747
            </command>
748
            <separator
749
                  name="org.txm.rcp.separator1"
750
                  visible="true">
751
            </separator>
752
            <command
753
                  commandId="org.eclipse.ui.edit.undo"
754
                  label="%command.label.16">
755
               <visibleWhen
756
                     checkEnabled="false">
757
                  <reference
758
                        definitionId="TextEditorActive">
759
                  </reference>
760
               </visibleWhen>
761
            </command>
762
            <command
763
                  commandId="org.eclipse.ui.edit.redo"
764
                  label="%command.label.17">
765
               <visibleWhen
766
                     checkEnabled="false">
767
                  <reference
768
                        definitionId="TextEditorActive">
769
                  </reference>
770
               </visibleWhen>
771
            </command>
772
            <separator
773
                  name="org.txm.rcp.separator2"
774
                  visible="true">
775
            </separator>
776
            <command
777
                  commandId="org.eclipse.ui.edit.cut"
778
                  label="%command.label.18">
779
               <visibleWhen
780
                     checkEnabled="false">
781
                  <reference
782
                        definitionId="TextEditorActive">
783
                  </reference>
784
               </visibleWhen>
785
            </command>
786
            <command
787
                  commandId="org.eclipse.ui.edit.copy"
788
                  label="%command.label.19">
789
               <visibleWhen
790
                     checkEnabled="false">
791
                  <reference
792
                        definitionId="TextEditorActive">
793
                  </reference>
794
               </visibleWhen>
795
            </command>
796
            <command
797
                  commandId="org.eclipse.ui.edit.paste"
798
                  label="%command.label.20">
799
               <visibleWhen
800
                     checkEnabled="false">
801
                  <reference
802
                        definitionId="TextEditorActive">
803
                  </reference>
804
               </visibleWhen>
805
            </command>
806
            <command
807
                  commandId="org.eclipse.ui.edit.delete"
808
                  label="%command.label.27">
809
               <visibleWhen
810
                     checkEnabled="false">
811
                  <reference
812
                        definitionId="TextEditorActive">
813
                  </reference>
814
               </visibleWhen>
815
            </command>
816
            <command
817
                  commandId="org.eclipse.ui.edit.selectAll"
818
                  label="%command.label.28">
819
               <visibleWhen
820
                     checkEnabled="false">
821
                  <reference
822
                        definitionId="TextEditorActive">
823
                  </reference>
824
               </visibleWhen>
825
            </command>
826
            <separator
827
                  name="org.txm.rcp.separator3"
828
                  visible="true">
829
            </separator>
830
            <command
831
                  commandId="org.eclipse.ui.edit.text.goto.line"
832
                  icon="icons/functions/goto.png"
833
                  label="%command.label.113"
834
                  style="push">
835
               <visibleWhen
836
                     checkEnabled="false">
837
                  <reference
838
                        definitionId="TextEditorActive">
839
                  </reference>
840
               </visibleWhen>
841
            </command>
842
            <command
843
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
844
                  icon="icons/functions/world.png"
845
                  label="%command.label.133"
846
                  style="push">
847
               <visibleWhen
848
                     checkEnabled="false">
849
                  <reference
850
                        definitionId="TextEditorActive">
851
                  </reference>
852
               </visibleWhen>
853
            </command>
854
            <command
855
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
856
                  icon="icons/functions/encoding.png"
857
                  label="%command.label.30">
858
               <visibleWhen
859
                     checkEnabled="false">
860
                  <reference
861
                        definitionId="TextEditorActive">
862
                  </reference>
863
               </visibleWhen>
864
            </command>
865
            <separator
866
                  name="org.txm.rcp.separator3"
867
                  visible="true">
868
            </separator>
869
            <command
870
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
871
                  icon="icons/functions/lines_number.png"
872
                  label="%command.label.140"
873
                  style="push">
874
               <visibleWhen
875
                     checkEnabled="false">
876
                  <reference
877
                        definitionId="TextEditorActive">
878
                  </reference>
879
               </visibleWhen>
880
            </command>
881
            <command
882
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
883
                  icon="icons/functions/paragraph.png"
884
                  label="%command.label.144"
885
                  style="push"
886
                  tooltip="%command.tooltip.31">
887
               <visibleWhen
888
                     checkEnabled="false">
889
                  <reference
890
                        definitionId="TextEditorActive">
891
                  </reference>
892
               </visibleWhen>
893
            </command>
894
            <command
895
                  commandId="org.eclipse.ui.file.revert"
896
                  icon="icons/functions/page_refresh.png"
897
                  label="%command.label.145"
898
                  style="push">
899
               <visibleWhen
900
                     checkEnabled="false">
901
                  <reference
902
                        definitionId="TextEditorActive">
903
                  </reference>
904
               </visibleWhen>
905
            </command>
906
         </menu>
907
         <menu
908
               id="menu.corpus"
909
               label="%menu.label.1"
910
               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;">
911
            <separator
912
                  name="menu.corpus.read"
913
                  visible="true">
914
            </separator>
915
            <separator
916
                  name="menu.corpus.manage"
917
                  visible="true">
918
            </separator>
919
            
920
            <command
921
                  commandId="org.txm.rcp.commands.base.DeleteObject"
922
                  icon="icons/functions/Delete.png"
923
                  style="push">
924
               <visibleWhen
925
                     checkEnabled="false">
926
                 
927
                     <or>
928
                        <reference
929
                              definitionId="OneBaseSelected">
930
                        </reference>
931
                        <reference
932
                              definitionId="OneCASelected">
933
                        </reference>
934
                        <reference
935
                              definitionId="OneConcordanceSelected">
936
                        </reference>
937
                        <reference
938
                              definitionId="OneCorpusSelected">
939
                        </reference>
940
                        <reference
941
                              definitionId="OneLexicalTableSelected">
942
                        </reference>
943
                        <reference
944
                              definitionId="OneLexiconSelected">
945
                        </reference>
946
                        <reference
947
                              definitionId="OnePartitionSelected">
948
                        </reference>
949
                        <reference
950
                              definitionId="OneSpecificitiesResultSelected">
951
                        </reference>
952
                        <reference
953
                              definitionId="OneTxmObjectSelected">
954
                        </reference>
955
                        <reference
956
                              definitionId="OneIndexSelected">
957
                        </reference>
958
                        <reference
959
                              definitionId="OneCooccurrenceSelected">
960
                        </reference>
961
                        <reference
962
                              definitionId="OneReferencerSelected">
963
                        </reference>
964
                        <reference
965
                              definitionId="OneProgressionSelected">
966
                        </reference>
967
                        <reference
968
                              definitionId="OneCAHSelected">
969
                        </reference>
970
                     </or>
971
                 
972
               </visibleWhen>
973
            </command>
974
            <separator
975
                  name="menu.corpus.build"
976
                  visible="true">
977
            </separator>
978
            
979
         </menu>
980
         <menu
981
               id="menu.tools"
982
               label="%menu.label.6">
983
            <separator
984
                  name="menu.tools.separator.doc"
985
                  visible="true">
986
            </separator>
987
            
988
            <separator
989
                  name="menu.tools.separator.stats"
990
                  visible="true">
991
            </separator>
992
            <separator
993
                  name="menu.tools.separator.misc"
994
                  visible="true">
995
            </separator>
996
            <separator
997
                  name="menu.tools.separator.end"
998
                  visible="true">
999
            </separator>
1000
            <command
1001
                  commandId="org.eclipse.ui.window.preferences"
1002
                  icon="icons/functions/prefs.png"
1003
                  label="%command.label.4"
1004
                  style="push"
1005
                  tooltip="%command.tooltip.0">
1006
            </command>
1007
         </menu>
1008
         <menu
1009
               id="menu.display"
1010
               label="%menu.label.7"
1011
               tooltip="%menu.tooltip.0">
1012
            <menu
1013
                  id="menu.display.views"
1014
                  label="%menu.label.9">
1015
               <command
1016
                     commandId="org.eclipse.ui.views.showView"
1017
                     label="%command.label.134"
1018
                     style="push">
1019
                  <parameter
1020
                        name="org.eclipse.ui.views.showView.viewId"
1021
                        value="org.txm.rcp.views.corpora.CorporaView">
1022
                  </parameter>
1023
               </command>
1024
               <command
1025
                     commandId="org.eclipse.ui.views.showView"
1026
                     label="%command.label.135"
1027
                     style="push">
1028
                  <parameter
1029
                        name="org.eclipse.ui.views.showView.viewId"
1030
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1031
                  </parameter>
1032
               </command>
1033
               <command
1034
                     commandId="org.eclipse.ui.views.showView"
1035
                     label="%command.label.177"
1036
                     style="push">
1037
                  <parameter
1038
                        name="org.eclipse.ui.views.showView.viewId"
1039
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1040
                  </parameter>
1041
               </command>
1042
               <command
1043
                     commandId="org.eclipse.ui.views.showView"
1044
                     label="%command.label.136"
1045
                     style="push">
1046
                  <parameter
1047
                        name="org.eclipse.ui.views.showView.viewId"
1048
                        value="org.txm.rcp.views.QueriesView">
1049
                  </parameter>
1050
               </command>
1051
               <command
1052
                     commandId="org.eclipse.ui.views.showView"
1053
                     label="%command.label.43"
1054
                     style="push">
1055
                  <parameter
1056
                        name="org.eclipse.ui.views.showView.viewId"
1057
                        value="org.eclipse.ui.console.ConsoleView">
1058
                  </parameter>
1059
               </command>
1060
               <command
1061
                     commandId="org.eclipse.ui.views.showView"
1062
                     label="%command.label.139"
1063
                     style="push">
1064
               </command>
1065
            </menu>
1066
            <menu
1067
                  label="%menu.label.8">
1068
               <command
1069
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1070
                     label="%command.label.131"
1071
                     style="push">
1072
                  <parameter
1073
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1074
                        value="org.txm.rcp.perspective.TXMPerspective">
1075
                  </parameter>
1076
               </command>
1077
               <command
1078
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1079
                     label="%command.label.132"
1080
                     style="push">
1081
                  <parameter
1082
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1083
                        value="org.txm.rcp.perspective.RPerspective">
1084
                  </parameter>
1085
               </command>
1086
            </menu>
1087
            <command
1088
                  commandId="org.txm.rcp.commands.CleanPerspective"
1089
                  style="push">
1090
            </command>
1091
            <command
1092
                  commandId="org.eclipse.ui.window.newWindow"
1093
                  label="%command.label.157">
1094
            </command>
1095
         </menu>
1096
         <menu
1097
               id="menu.help"
1098
               label="%menu.label.2"
1099
               tooltip="%menu.tooltip">
1100
            <command
1101
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1102
                  label="%command.label.173"
1103
                  style="push">
1104
            </command>
1105
            <separator
1106
                  name="org.txm.rcp.separator1"
1107
                  visible="true">
1108
            </separator>
1109
            <command
1110
                  commandId="org.eclipse.ui.window.showKeyAssist"
1111
                  label="%command.label.52"
1112
                  style="push">
1113
            </command>
1114
            <command
1115
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1116
                  label="%command.label.68"
1117
                  style="push"
1118
                  tooltip="%command.tooltip.23">
1119
               <parameter
1120
                     name="org.txm.rcp.commands.commandParameter3"
1121
                     value="refman">
1122
               </parameter>
1123
            </command>
1124
            <command
1125
                  commandId="org.txm.rcp.commands.OpenManual"
1126
                  label="%command.label.63"
1127
                  style="push"
1128
                  tooltip="%command.tooltip.64">
1129
            </command>
1130
            <command
1131
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1132
                  label="%command.label.33"
1133
                  style="push"
1134
                  tooltip="%command.tooltip.13">
1135
               <parameter
1136
                     name="org.txm.rcp.commands.commandParameter3"
1137
                     value="macros">
1138
               </parameter>
1139
            </command>
1140
            <menu
1141
                  id="menu.help.plugins"
1142
                  label="%menu.label.4">
1143
            </menu>
1144
            <command
1145
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1146
                  label="%command.label.70"
1147
                  style="push">
1148
               <parameter
1149
                     name="org.txm.rcp.commands.commandParameter3"
1150
                     value="sf_docs">
1151
               </parameter>
1152
            </command>
1153
            <command
1154
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1155
                  label="%command.label.178"
1156
                  style="push"
1157
                  tooltip="%command.tooltip.41">
1158
               <parameter
1159
                     name="org.txm.rcp.commands.commandParameter3"
1160
                     value="faq">
1161
               </parameter>
1162
            </command>
1163
            <command
1164
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1165
                  label="%command.label.35"
1166
                  style="push"
1167
                  tooltip="%command.tooltip.43">
1168
               <parameter
1169
                     name="org.txm.rcp.commands.commandParameter3"
1170
                     value="txm-users wiki">
1171
               </parameter>
1172
            </command>
1173
            <command
1174
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1175
                  label="%command.label.55"
1176
                  style="push"
1177
                  tooltip="%command.tooltip">
1178
               <parameter
1179
                     name="org.txm.rcp.commands.commandParameter3"
1180
                     value="mailinglist">
1181
               </parameter>
1182
            </command>
1183
            <command
1184
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1185
                  label="%command.label.76"
1186
                  style="push"
1187
                  tooltip="%command.tooltip.65">
1188
               <parameter
1189
                     name="org.txm.rcp.commands.commandParameter3"
1190
                     value="http://webchat.freenode.net/?channels=txm">
1191
               </parameter>
1192
            </command>
1193
            <separator
1194
                  name="helpSeparator1"
1195
                  visible="true">
1196
            </separator>
1197
            <command
1198
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1199
                  label="%command.label.56"
1200
                  style="push"
1201
                  tooltip="%command.tooltip">
1202
               <parameter
1203
                     name="org.txm.rcp.commands.commandParameter3"
1204
                     value="sf">
1205
               </parameter>
1206
            </command>
1207
            <command
1208
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1209
                  label="%command.label.69"
1210
                  style="push">
1211
               <parameter
1212
                     name="org.txm.rcp.commands.commandParameter3"
1213
                     value="textometrie">
1214
               </parameter>
1215
            </command>
1216
            <command
1217
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1218
                  label="%command.label.72"
1219
                  style="push">
1220
               <parameter
1221
                     name="org.txm.rcp.commands.commandParameter3"
1222
                     value="textometrie_docs">
1223
               </parameter>
1224
            </command>
1225
            <separator
1226
                  name="helpSeparator3"
1227
                  visible="true">
1228
            </separator>
1229
            <command
1230
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1231
                  label="%command.label.67"
1232
                  style="push"
1233
                  tooltip="%command.tooltip">
1234
               <parameter
1235
                     name="org.txm.rcp.commands.commandParameter3"
1236
                     value="treetagger">
1237
               </parameter>
1238
            </command>
1239
            <command
1240
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1241
                  label="%command.label.53"
1242
                  style="push"
1243
                  tooltip="%command.tooltip">
1244
               <parameter
1245
                     name="org.txm.rcp.commands.commandParameter3"
1246
                     value="bug">
1247
               </parameter>
1248
            </command>
1249
            <command
1250
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1251
                  label="%command.label.54"
1252
                  style="push"
1253
                  tooltip="%command.tooltip">
1254
               <parameter
1255
                     name="org.txm.rcp.commands.commandParameter3"
1256
                     value="feature">
1257
               </parameter>
1258
            </command>
1259
            <command
1260
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1261
                  label="%command.label.179"
1262
                  style="push"
1263
                  tooltip="%command.tooltip.47">
1264
               <parameter
1265
                     name="org.txm.rcp.commands.commandParameter3"
1266
                     value="contrib">
1267
               </parameter>
1268
            </command>
1269
            <separator
1270
                  name="org.txm.rcp.separator4"
1271
                  visible="true">
1272
            </separator>
1273
            <command
1274
                  commandId="org.eclipse.ui.help.aboutAction"
1275
                  label="%command.label.14"
1276
                  style="push"
1277
                  tooltip="%command.tooltip.10">
1278
            </command>
1279
         </menu>
1280
         <menu
1281
               id="menu.recettes"
1282
               label="%menu.label.12"
1283
               tooltip="%menu.tooltip.1">
1284
            <visibleWhen
1285
                  checkEnabled="false">
1286
               <or>
1287
                  <reference
1288
                        definitionId="ExpertEnabled">
1289
                  </reference>
1290
               </or>
1291
            </visibleWhen>
1292
         </menu>
1293
      </menuContribution>
1294
      <menuContribution
1295
            allPopups="true"
1296
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1297
         <separator
1298
               name="org.txm.rcp.toolbars.begin"
1299
               visible="false">
1300
         </separator>
1301
         <toolbar
1302
               id="org.txm.rcp.toolbars.result">
1303
            <command
1304
                  commandId="org.txm.rcp.commands.function.ExportResult"
1305
                  icon="icons/functions/export_data.png"
1306
                  style="push">
1307
               <visibleWhen
1308
                     checkEnabled="false">
1309
                  <or>
1310
                     <reference
1311
                           definitionId="OneLexiconSelected">
1312
                     </reference>
1313
                     <reference
1314
                           definitionId="OneIndexSelected">
1315
                     </reference>
1316
                     <reference
1317
                           definitionId="OneConcordanceSelected">
1318
                     </reference>
1319
                     <reference
1320
                           definitionId="OneSpecificitiesResultSelected">
1321
                     </reference>
1322
                     <reference
1323
                           definitionId="OneReferencerSelected">
1324
                     </reference>
1325
                     <reference
1326
                           definitionId="OneProgressionSelected">
1327
                     </reference>
1328
                     <reference
1329
                           definitionId="OneCooccurrenceSelected">
1330
                     </reference>
1331
                     <reference
1332
                           definitionId="OneLexicalTableSelected">
1333
                     </reference>
1334
                     <reference
1335
                           definitionId="OneCASelected">
1336
                     </reference>
1337
                     <reference
1338
                           definitionId="OneCAHSelected">
1339
                     </reference>
1340
                  </or>
1341
               </visibleWhen>
1342
            </command>
1343
            <command
1344
                  commandId="org.txm.rcp.commands.function.ExportSVG"
1345
                  icon="icons/functions/exportSVG.png"
1346
                  style="push"
1347
                  tooltip="%command.tooltip.54">
1348
               <visibleWhen
1349
                     checkEnabled="false">
1350
                  <or>
1351
                     <reference
1352
                           definitionId="SVGEditorActive">
1353
                     </reference>
1354
                  </or>
1355
               </visibleWhen>
1356
            </command>
1357
         </toolbar>
1358
         <separator
1359
               name="org.txm.rcp.toolbar.separator1"
1360
               visible="false">
1361
         </separator>
1362
         <toolbar
1363
               id="org.txm.rcp.toolbarcorpus">
1364
            <separator
1365
                  name="org.txm.rcp.toolbarcorpus.read"
1366
                  visible="false">
1367
            </separator>
1368
            <command
1369
                  commandId="org.txm.rcp.handlers.results.DeleteObject?after=org.txm.information.rcp.handlers.ComputeInformation"
1370
                  icon="icons/functions/Delete.png"
1371
                  style="push"
1372
                  tooltip="%command.tooltip.33">
1373
               <visibleWhen
1374
                     checkEnabled="false">
1375
                  <or>
1376
                     <reference
1377
                           definitionId="OneBaseSelected">
1378
                     </reference>
1379
                     <reference
1380
                           definitionId="OneConcordanceSelected">
1381
                     </reference>
1382
                     <reference
1383
                           definitionId="OneCorpusSelected">
1384
                     </reference>
1385
                     <reference
1386
                           definitionId="OneLexicalTableSelected">
1387
                     </reference>
1388
                     <reference
1389
                           definitionId="OneLexiconSelected">
1390
                     </reference>
1391
                     <reference
1392
                           definitionId="OnePartitionSelected">
1393
                     </reference>
1394
                     <reference
1395
                           definitionId="OneTxmObjectSelected">
1396
                     </reference>
1397
                     <reference
1398
                           definitionId="OneTXMResultSelected">
1399
                     </reference>
1400
                  </or>
1401
               </visibleWhen>
1402
            </command>
1403
            
1404
            <separator
1405
                  name="org.txm.rcp.toolbarcorpus.corpus"
1406
                  visible="false">
1407
            </separator>
1408
            <separator
1409
                  name="org.txm.rcp.toolbarcorpus.annotation"
1410
                  visible="false">
1411
            </separator>
1412
         </toolbar>
1413
         <separator
1414
               name="org.txm.rcp.toolbar.separator1"
1415
               visible="true">
1416
         </separator>
1417
         <toolbar
1418
               id="org.txm.rcp.toolbartools">
1419
            <separator
1420
                  name="org.txm.rcp.separator1"
1421
                  visible="true">
1422
            </separator>
1423

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

    
2058
      </menuContribution>
2059
      <menuContribution
2060
            locationURI="popup:org.txm.rcp.views.BasesView">
2061
         <separator
2062
               name="org.txm.rcp.separator1">
2063
         </separator>
2064
         <command
2065
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2066
               icon="icons/functions/Delete.png"
2067
               label="%command.label.65"
2068
               style="push"
2069
               tooltip="%command.tooltip.33">
2070
            <visibleWhen
2071
                  checkEnabled="false">
2072
               <or>
2073
                  <reference
2074
                        definitionId="OnePartitionSelected">
2075
                  </reference>
2076
                  <reference
2077
                        definitionId="OneSubCorpusSelected">
2078
                  </reference>
2079
                  <reference
2080
                        definitionId="OneBaseSelected">
2081
                  </reference>
2082
                  <reference
2083
                        definitionId="OneIndexSelected">
2084
                  </reference>
2085
                  <reference
2086
                        definitionId="OneLexiconSelected">
2087
                  </reference>
2088
                  <reference
2089
                        definitionId="OneConcordanceSelected">
2090
                  </reference>
2091
                  <reference
2092
                        definitionId="OneCASelected">
2093
                  </reference>
2094
                  <reference
2095
                        definitionId="OneSpecificitiesResultSelected">
2096
                  </reference>
2097
                  <reference
2098
                        definitionId="OneMainCorpusSelected">
2099
                  </reference>
2100
               </or>
2101
            </visibleWhen>
2102
         </command>
2103
        
2104
      </menuContribution>
2105

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

    
2431
      <command
2432
            categoryId="org.txm.rcp.category.txm"
2433
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2434
            id="org.txm.rcp.commands.ReloadCorporaView"
2435
            name="Reload">
2436
      </command>
2437
   </extension>
2438
   <extension
2439
         id="commands"
2440
         name="commands"
2441
         point="org.eclipse.ui.commands">
2442

    
2443
      <command
2444
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2445
            description="%command.description.2"
2446
            id="org.txm.rcp.commands.tests.NilsTest"
2447
            name="%command.name.85">
2448
      </command>
2449
      <command
2450
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2451
            id="org.txm.rcp.commands.function.ExportResult"
2452
            name="%command.name.24">
2453
      </command>
2454
      <command
2455
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2456
            id="org.txm.rcp.commands.function.ExportSVG"
2457
            name="%command.name.34">
2458
      </command>
2459
   </extension>
2460
   <extension
2461
         id="links"
2462
         name="links"
2463
         point="org.eclipse.ui.commands">
2464

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