Statistiques
| Révision :

root / TXM / trunk / org.txm.rcp / plugin.xml @ 3572

Historique | Voir | Annoter | Télécharger (137,58 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>  
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
   <extension-point id="org.txm.rcp.importsection" name="%extension-point.name.1" schema="schema/org.txm.rcp.importsection.exsd"/>
7
 
8
   <extension
9
         id="Application"
10
         point="org.eclipse.core.runtime.applications">
11
      <application
12
            icon="icons/logo/TXM_logo.png">
13
         <run
14
               class="org.txm.rcp.Application">
15
         </run>
16
      </application>
17
   </extension>
18
   <extension
19
         point="org.eclipse.ui.perspectives">
20
      <perspective
21
            class="org.txm.rcp.perspective.TXMPerspective"
22
            icon="icons/objects/corpus.png"
23
            id="org.txm.rcp.perspective.TXMPerspective"
24
            name="%perspective.name">
25
      </perspective>
26
   </extension>
27
   <extension
28
         id="product"
29
         point="org.eclipse.core.runtime.products">
30
      <product
31
            application="org.txm.rcp.Application"
32
            description="%product.description"
33
            name="%product.name.3">
34
         <property
35
               name="appName"
36
               value="TXM 0.8.2">
37
         </property>
38
         <property
39
               name="windowImages"
40
               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">
41
         </property>
42
         <property
43
               name="startupForegroundColor"
44
               value="000000">
45
         </property>
46
         <property
47
               name="startupMessageRect"
48
               value="13,312,290,20">
49
         </property>
50
         <property
51
               name="aboutImage"
52
               value="icons/logo/about TXM.png">
53
         </property>
54
         <property
55
               name="aboutText"
56
               value="[Contrat d&apos;utilisation du logiciel TXM]&#x0A;&#x0A;TXM 0.8.2 Copyright © 2010-2021 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE INSTALLATION OU 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;[TXM Software User Agreement]&#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;">
57
         </property>
58
         <property
59
               name="startupProgressRect"
60
               value="13,332,290,15">
61
         </property>
62
         <property
63
               name="cssTheme"
64
               value="org.txm.rcp.theme.default.linux2">
65
         </property>
66
         <property
67
               name="preferenceCustomization"
68
               value="plugin_customization.ini">
69
         </property>
70
      </product>
71
   </extension>
72
   <extension
73
         point="org.eclipse.ui.perspectiveExtensions">
74
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
75
         <view
76
               closeable="false"
77
               id="org.txm.rcp.views.corpora.CorporaView"
78
               ratio="0.5"
79
               relationship="right"
80
               relative="org.eclipse.ui.views.TaskList"
81
               showTitle="true"/>
82
         <view
83
               closeable="true"
84
               id="org.eclipse.ui.views.ProgressView"
85
               ratio="0.5"
86
               relationship="bottom"
87
               showTitle="true"
88
               visible="true">
89
         </view>
90
         <view
91
               closeable="true"
92
               id="org.txm.rcp.views.GroovyConsole"
93
               minimized="false"
94
               ratio="0.5"
95
               relationship="bottom"
96
               visible="true">
97
         </view>
98
      </perspectiveExtension>
99
   </extension>
100
   <extension
101
         point="org.eclipse.ui.views">
102
      <category
103
            id="org.txm.rcp"
104
            name="%category.name"/>
105
      <view
106
            category="org.txm.rcp"
107
            class="org.txm.rcp.views.corpora.CorporaView"
108
            icon="icons/objects/corpus.png"
109
            id="org.txm.rcp.views.corpora.CorporaView"
110
            name="%view.name"/>
111
      <view
112
            allowMultiple="false"
113
            category="org.eclipse.ui"
114
            class="org.eclipse.ui.ExtensionFactory:progressView"
115
            id="org.eclipse.ui.views.ProgressView"
116
            name="%view.name.0"
117
            restorable="true">
118
      </view>
119
      <view
120
            allowMultiple="false"
121
            category="org.txm.rcp"
122
            class="org.txm.rcp.views.fileexplorer.Explorer"
123
            icon="icons/objects/folder.png"
124
            id="org.txm.rcp.views.fileexplorer.Explorer"
125
            name="%view.name.1"
126
            restorable="true">
127
      </view>
128
      <view
129
            category="org.txm.rcp.debug"
130
            class="org.txm.rcp.views.SummaryView"
131
            id="org.txm.rcp.views.InternalCorpusView"
132
            name="%view.name.7"
133
            restorable="true">
134
      </view>
135
      <view
136
            allowMultiple="false"
137
            category="org.txm.rcp"
138
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
139
            icon="icons/objects/script.png"
140
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
141
            name="%view.name.8"
142
            restorable="true">
143
      </view>
144
      <view
145
            category="org.txm.rcp.debug"
146
            class="org.txm.rcp.views.cmdparameters.TXMResultParametersView"
147
            icon="icons/functions/Properties.png"
148
            id="org.txm.rcp.views.cmdparameters.ParametersView"
149
            name="%view.name.3"
150
            restorable="true">
151
      </view>
152
      <view
153
            category="org.txm.rcp.debug"
154
            class="org.txm.rcp.views.debug.TXMResultDebugView"
155
            icon="icons/debug.png"
156
            id="org.txm.rcp.views.debug.TXMResultDebugView"
157
            name="%view.name.12"
158
            restorable="true">
159
      </view>
160
      <view
161
            category="org.txm.rcp.debug"
162
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
163
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
164
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
165
            name="%view.name.13"
166
            restorable="true">
167
      </view>
168
      <view
169
            allowMultiple="false"
170
            category="org.txm.rcp.debug"
171
            class="org.txm.rcp.views.debug.EnginesDebugView"
172
            icon="icons/functions/parameters.png"
173
            id="org.txm.rcp.views.debug.EnginesDebugView"
174
            name="%view.name.10"
175
            restorable="true">
176
      </view>
177
      <category
178
            id="org.txm.rcp.debug"
179
            name="%category.name.7"
180
            parentCategory="org.txm.rcp">
181
      </category>
182
      <view
183
            category="org.txm.rcp"
184
            class="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
185
            icon="icons/functions/Properties.png"
186
            id="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
187
            name="%view.name.14"
188
            restorable="true">
189
      </view>
190
   </extension>
191
   <extension
192
         point="org.eclipse.core.runtime.adapters">
193
      <factory
194
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
195
            class="org.txm.rcp.AdapterFactory">
196
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
197
      </factory>
198
      <factory
199
            adaptableType="org.txm.core.results.TXMResult"
200
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
201
         <adapter
202
               type="org.eclipse.ui.model.IWorkbenchAdapter">
203
         </adapter>
204
         <adapter
205
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
206
         </adapter>
207
      </factory>
208
      <factory
209
            adaptableType="org.txm.objects.Project"
210
            class="org.txm.rcp.adapters.ProjectAdapterFactory">
211
         <adapter
212
               type="org.eclipse.ui.model.IWorkbenchAdapter">
213
         </adapter>
214
      </factory>
215
      <factory
216
            adaptableType="org.eclipse.core.resources.IProject"
217
            class="org.txm.rcp.adapters.RCPProjectAdapterFactory">
218
         <adapter
219
               type="org.eclipse.ui.model.IWorkbenchAdapter">
220
         </adapter>
221
      </factory>
222

    
223

    
224

    
225

    
226

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

    
1636
            <command
1637
                  commandId="org.eclipse.ui.window.preferences"
1638
                  icon="icons/functions/prefs.png"
1639
                  label="%command.label.4"
1640
                  style="push"
1641
                  tooltip="%command.tooltip.0">
1642
            </command>
1643
            <separator
1644
                  name="org.txm.rcp.toolbars.tools.separators.extensions"
1645
                  visible="true">
1646
            </separator>
1647
         </toolbar>
1648
         <separator
1649
               name="org.txm.rcp.toolbar.separator2"
1650
               visible="true">
1651
         </separator>
1652
         <toolbar
1653
               id="org.txm.rcp.toolbartext">
1654
            <command
1655
                  commandId="org.txm.rcp.commands.CreateFile"
1656
                  icon="icons/functions/page_white_add.png"
1657
                  label="%command.label.83"
1658
                  tooltip="%command.tooltip.34">
1659
            </command>
1660
            <command
1661
                  commandId="org.txm.rcp.handlers.files.EditFile"
1662
                  icon="icons/functions/open.png"
1663
                  label="%command.label.45"
1664
                  style="push">
1665
            </command>
1666
            <command
1667
                  commandId="org.eclipse.ui.file.save"
1668
                  icon="icons/functions/save.png"
1669
                  label="%command.label.88"
1670
                  style="push">
1671
               <visibleWhen
1672
                     checkEnabled="false">
1673
                  <reference
1674
                        definitionId="TextEditorActive">
1675
                  </reference>
1676
               </visibleWhen>
1677
            </command>
1678
            <command
1679
                  commandId="org.txm.rcp.commands.editor.SaveAs"
1680
                  icon="icons/functions/saveas.png"
1681
                  label="%command.label.29">
1682
               <visibleWhen
1683
                     checkEnabled="false">
1684
                  <reference
1685
                        definitionId="TextEditorActive">
1686
                  </reference>
1687
               </visibleWhen>
1688
            </command>
1689
            <separator
1690
                  name="org.txm.rcp.separator3"
1691
                  visible="true">
1692
            </separator>
1693
            <command
1694
                  commandId="org.eclipse.ui.edit.undo"
1695
                  label="%command.label.16">
1696
               <visibleWhen
1697
                     checkEnabled="false">
1698
                  <reference
1699
                        definitionId="TextEditorActive">
1700
                  </reference>
1701
               </visibleWhen>
1702
            </command>
1703
            <command
1704
                  commandId="org.eclipse.ui.edit.redo"
1705
                  label="%command.label.17">
1706
               <visibleWhen
1707
                     checkEnabled="false">
1708
                  <reference
1709
                        definitionId="TextEditorActive">
1710
                  </reference>
1711
               </visibleWhen>
1712
            </command>
1713
            <command
1714
                  commandId="org.eclipse.ui.edit.cut"
1715
                  label="%command.label.18">
1716
               <visibleWhen
1717
                     checkEnabled="false">
1718
                  <reference
1719
                        definitionId="TextEditorActive">
1720
                  </reference>
1721
               </visibleWhen>
1722
            </command>
1723
            <command
1724
                  commandId="org.eclipse.ui.edit.copy"
1725
                  label="%command.label.19">
1726
               <visibleWhen
1727
                     checkEnabled="false">
1728
                  <reference
1729
                        definitionId="TextEditorActive">
1730
                  </reference>
1731
               </visibleWhen>
1732
            </command>
1733
            <command
1734
                  commandId="org.eclipse.ui.edit.paste"
1735
                  label="%command.label.20">
1736
               <visibleWhen
1737
                     checkEnabled="false">
1738
                  <reference
1739
                        definitionId="TextEditorActive">
1740
                  </reference>
1741
               </visibleWhen>
1742
            </command>
1743
            <command
1744
                  commandId="org.eclipse.ui.edit.delete"
1745
                  label="%command.label.27">
1746
               <visibleWhen
1747
                     checkEnabled="false">
1748
                  <reference
1749
                        definitionId="TextEditorActive">
1750
                  </reference>
1751
               </visibleWhen>
1752
            </command>
1753
            <command
1754
                  commandId="org.eclipse.ui.edit.selectAll"
1755
                  icon="icons/functions/page_allgreen.png"
1756
                  label="%command.label.165">
1757
               <visibleWhen
1758
                     checkEnabled="false">
1759
                  <reference
1760
                        definitionId="TextEditorActive">
1761
                  </reference>
1762
               </visibleWhen>
1763
            </command>
1764
            <separator
1765
                  name="org.txm.rcp.separator1"
1766
                  visible="true">
1767
            </separator>
1768
            <command
1769
                  commandId="org.eclipse.ui.edit.findReplace"
1770
                  icon="icons/functions/find.png"
1771
                  label="%command.label.159">
1772
               <visibleWhen
1773
                     checkEnabled="false">
1774
                  <reference
1775
                        definitionId="TextEditorActive">
1776
                  </reference>
1777
               </visibleWhen>
1778
            </command>
1779
            <command
1780
                  commandId="org.eclipse.ui.edit.findPrevious"
1781
                  icon="icons/functions/find_previous.png"
1782
                  label="%command.label.160"
1783
                  style="push">
1784
               <visibleWhen
1785
                     checkEnabled="false">
1786
                  <reference
1787
                        definitionId="TextEditorActive">
1788
                  </reference>
1789
               </visibleWhen>
1790
            </command>
1791
            <command
1792
                  commandId="org.eclipse.ui.edit.findNext"
1793
                  icon="icons/functions/find_next.png"
1794
                  label="%command.label.161"
1795
                  style="push">
1796
               <visibleWhen
1797
                     checkEnabled="false">
1798
                  <reference
1799
                        definitionId="TextEditorActive">
1800
                  </reference>
1801
               </visibleWhen>
1802
            </command>
1803
            <command
1804
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
1805
                  icon="icons/functions/find_incremental_reverse.png"
1806
                  label="%command.label.163"
1807
                  style="push">
1808
               <visibleWhen
1809
                     checkEnabled="false">
1810
                  <reference
1811
                        definitionId="TextEditorActive">
1812
                  </reference>
1813
               </visibleWhen>
1814
            </command>
1815
            <command
1816
                  commandId="org.eclipse.ui.edit.findIncremental"
1817
                  icon="icons/functions/find_incremental.png"
1818
                  label="%command.label.162"
1819
                  style="push">
1820
               <visibleWhen
1821
                     checkEnabled="false">
1822
                  <reference
1823
                        definitionId="TextEditorActive">
1824
                  </reference>
1825
               </visibleWhen>
1826
            </command>
1827
            <separator
1828
                  name="org.txm.rcp.separator2"
1829
                  visible="true">
1830
            </separator>
1831
            <command
1832
                  commandId="org.eclipse.ui.edit.text.goto.line"
1833
                  icon="icons/functions/goto.png"
1834
                  label="%command.label.166"
1835
                  style="push">
1836
               <visibleWhen
1837
                     checkEnabled="false">
1838
                  <reference
1839
                        definitionId="TextEditorActive">
1840
                  </reference>
1841
               </visibleWhen>
1842
            </command>
1843
            <command
1844
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
1845
                  icon="icons/functions/lines_number.png"
1846
                  label="%command.label.168"
1847
                  style="push">
1848
               <visibleWhen
1849
                     checkEnabled="false">
1850
                  <reference
1851
                        definitionId="TextEditorActive">
1852
                  </reference>
1853
               </visibleWhen>
1854
            </command>
1855
            <command
1856
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
1857
                  icon="icons/functions/paragraph.png"
1858
                  label="%command.label.169"
1859
                  style="push"
1860
                  tooltip="%command.tooltip.35">
1861
               <visibleWhen
1862
                     checkEnabled="false">
1863
                  <reference
1864
                        definitionId="TextEditorActive">
1865
                  </reference>
1866
               </visibleWhen>
1867
            </command>
1868
            <command
1869
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
1870
                  icon="icons/functions/world.png"
1871
                  label="%command.label.133"
1872
                  style="push">
1873
               <visibleWhen
1874
                     checkEnabled="false">
1875
                  <reference
1876
                        definitionId="TextEditorActive">
1877
                  </reference>
1878
               </visibleWhen>
1879
            </command>
1880
            <command
1881
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
1882
                  icon="icons/functions/encoding.png"
1883
                  label="%command.label.30">
1884
               <visibleWhen
1885
                     checkEnabled="false">
1886
                  <reference
1887
                        definitionId="TextEditorActive">
1888
                  </reference>
1889
               </visibleWhen>
1890
            </command>
1891
            <command
1892
                  commandId="org.eclipse.ui.file.revert"
1893
                  icon="icons/functions/page_refresh.png"
1894
                  label="%command.label.145"
1895
                  style="push">
1896
               <visibleWhen
1897
                     checkEnabled="false">
1898
                  <reference
1899
                        definitionId="TextEditorActive">
1900
                  </reference>
1901
               </visibleWhen>
1902
            </command>
1903
         </toolbar>
1904
         <separator
1905
               name="org.txm.rcp.toolbar.separator3"
1906
               visible="true">
1907
         </separator>
1908
         <toolbar
1909
               id="org.txm.rcp.toolbarscript">
1910
            <command
1911
                  commandId="org.txm.rcp.commands.ExecuteScript"
1912
                  icon="icons/functions/run.png"
1913
                  label="%command.label.170"
1914
                  style="push"
1915
                  tooltip="%command.tooltip.14">
1916
               <visibleWhen
1917
                     checkEnabled="false">
1918
                  <reference
1919
                        definitionId="TextEditorActive">
1920
                  </reference>
1921
               </visibleWhen>
1922
            </command>
1923
            <command
1924
                  commandId="org.txm.rcp.commands.ExecuteText"
1925
                  icon="icons/functions/page_select_go.png"
1926
                  label="%command.label.171"
1927
                  style="push"
1928
                  tooltip="%command.tooltip.36">
1929
               <visibleWhen
1930
                     checkEnabled="false">
1931
                  <reference
1932
                        definitionId="TextEditorActive">
1933
                  </reference>
1934
               </visibleWhen>
1935
            </command>
1936
            <command
1937
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
1938
                  icon="icons/functions/page_go.png"
1939
                  label="%command.label.172"
1940
                  style="push"
1941
                  tooltip="%command.tooltip.37">
1942
            </command>
1943
            <command
1944
                  commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
1945
                  icon="icons/functions/rerun.png"
1946
                  label="%command.label.40"
1947
                  style="push"
1948
                  tooltip="%command.tooltip.50">
1949
            </command>
1950
         </toolbar>
1951
         <separator
1952
               name="org.txm.rcp.toolbar.separator4"
1953
               visible="true">
1954
         </separator>
1955
          <toolbar
1956
               id="org.txm.rcp.toolbarfile">
1957
         </toolbar>
1958
      </menuContribution>
1959
      <menuContribution
1960
            locationURI="popup:org.txm.rcp.views.fileexplorer.Explorer">
1961
         <command
1962
               commandId="org.txm.rcp.commands.CreateFile"
1963
               label="%command.label.122"
1964
               style="push"
1965
               tooltip="%command.tooltip.75">
1966
            <visibleWhen
1967
                  checkEnabled="false">
1968
               <reference
1969
                     definitionId="OneFileSelected">
1970
               </reference>
1971
            </visibleWhen>
1972
         </command>
1973
         <command
1974
               commandId="org.txm.rcp.commands.CreateFolder"
1975
               label="%command.label.123"
1976
               style="push"
1977
               tooltip="%command.tooltip.76">
1978
            <visibleWhen
1979
                  checkEnabled="false">
1980
               <reference
1981
                     definitionId="OneFileSelected">
1982
               </reference>
1983
            </visibleWhen>
1984
         </command>
1985
         <command
1986
               commandId="org.txm.rcp.commands.EditSelectedFile"
1987
               label="%command.label.186"
1988
               style="push"
1989
               tooltip="%command.tooltip.17">
1990
            <visibleWhen
1991
                  checkEnabled="false">
1992
               <reference
1993
                     definitionId="OneFileSelected">
1994
               </reference>
1995
            </visibleWhen>
1996
         </command>
1997
         <command
1998
               commandId="org.txm.rcp.commands.OpenBrowser"
1999
               label="%command.label"
2000
               style="push"
2001
               tooltip="%command.tooltip.18">
2002
            <visibleWhen
2003
                  checkEnabled="false">
2004
               <reference
2005
                     definitionId="OneFileSelected">
2006
               </reference>
2007
            </visibleWhen>
2008
         </command>
2009
         <command
2010
               commandId="org.txm.rcp.commands.ExecuteScript"
2011
               label="%command.label.23"
2012
               style="push"
2013
               tooltip="%command.tooltip.19">
2014
            <visibleWhen
2015
                  checkEnabled="false">
2016
               <reference
2017
                     definitionId="OneFileSelected">
2018
               </reference>
2019
            </visibleWhen>
2020
         </command>
2021
         <command
2022
               commandId="org.txm.rcp.commands.ShowSelected"
2023
               style="push">
2024
         </command>
2025
         <command
2026
               commandId="org.txm.rcp.commands.RenameFile"
2027
               style="push">
2028
            <visibleWhen
2029
                  checkEnabled="false">
2030
               <reference
2031
                     definitionId="OneFileSelected">
2032
               </reference>
2033
            </visibleWhen>
2034
         </command>
2035
         <command
2036
               commandId="org.txm.rcp.commands.CopyFile"
2037
               style="push"
2038
               tooltip="%command.tooltip.16">
2039
            <visibleWhen
2040
                  checkEnabled="false">
2041
               <reference
2042
                     definitionId="OneFileSelected">
2043
               </reference>
2044
            </visibleWhen>
2045
         </command>
2046
         <command
2047
               commandId="org.txm.rcp.commands.CutFile"
2048
               style="push"
2049
               tooltip="%command.tooltip.20">
2050
            <visibleWhen
2051
                  checkEnabled="false">
2052
               <reference
2053
                     definitionId="OneFileSelected">
2054
               </reference>
2055
            </visibleWhen>
2056
         </command>
2057
         <command
2058
               commandId="org.txm.rcp.commands.PasteFile"
2059
               style="push"
2060
               tooltip="%command.tooltip.21">
2061
            <visibleWhen
2062
                  checkEnabled="false">
2063
               <reference
2064
                     definitionId="OneFileSelected">
2065
               </reference>
2066
            </visibleWhen>
2067
         </command>
2068
      </menuContribution>
2069
      <menuContribution
2070
            locationURI="popup:#TextEditorContext">
2071
         <menu
2072
               label="%menu.label.10">
2073
            <command
2074
                  commandId="org.txm.rcp.commands.ExecuteGroovyText"
2075
                  label="%command.label.25"
2076
                  style="push">
2077
            </command>
2078
            <command
2079
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovy"
2080
                  label="%command.name.21"
2081
                  style="push">
2082
            </command>
2083
            <command
2084
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
2085
                  label="%command.label.156"
2086
                  style="push">
2087
            </command>
2088
         </menu>
2089
      </menuContribution>
2090
      <menuContribution
2091
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
2092
         <separator
2093
               name="org.txm.rcp.corporaview.begin"
2094
               visible="true"/>
2095
               <menu
2096
                     icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/export_wiz.png"
2097
                     id="org.txm.rcp.corporaview.export"
2098
                     label="%menu.label.13">
2099
                  <command
2100
                        commandId="org.txm.rcp.commands.function.ExportResult"
2101
                        icon="icons/functions/export_data.png"
2102
                        label="%command.label.51"
2103
                        style="push">
2104
                     <visibleWhen
2105
                           checkEnabled="false">
2106
                        <and>
2107
                           <reference
2108
                                 definitionId="OneTXMResultSelected">
2109
                           </reference>
2110
                           <not>
2111
                              <or>
2112
                                 <reference
2113
                                       definitionId="OnePartitionSelected">
2114
                                 </reference>
2115
                                 <reference
2116
                                       definitionId="OneCorpusSelected">
2117
                                 </reference>
2118
                              </or>
2119
                           </not>
2120
                        </and>
2121
                     </visibleWhen>
2122
                  </command>
2123
                  <command
2124
                        commandId="org.txm.rcp.handlers.export.ExportResultParameters"
2125
                        icon="icons/functions/export_parameters.png"
2126
                        label="%command.label.194"
2127
                        style="push"
2128
                        tooltip="Export the command in a &quot;.txmcmd&quot; file">
2129
                     <visibleWhen
2130
                           checkEnabled="false">
2131
                        <and>
2132
                           <reference
2133
                                 definitionId="OneTXMResultSelected">
2134
                           </reference>
2135
                           <not>
2136
                              <reference
2137
                                    definitionId="OneMainCorpusSelected">
2138
                              </reference>
2139
                           </not>
2140
                        </and>
2141
                     </visibleWhen>
2142
                  </command>
2143
               </menu>
2144
            <command
2145
                  commandId="org.txm.rcp.handlers.export.ImportResultParameters"
2146
                  icon="icons/functions/import_parameters.png"
2147
                  label="%command.label.195"
2148
                  style="push"
2149
                  tooltip="Compute a command from a &quot;.txmcmd&quot; file">
2150
               <visibleWhen
2151
                     checkEnabled="false">
2152
                  <and>
2153
                     <reference
2154
                           definitionId="OneTXMResultSelected">
2155
                     </reference>
2156
                  </and>
2157
               </visibleWhen>
2158
            </command>
2159
            
2160
            <separator
2161
                  name="org.txm.rcp.corporaview.corpus"
2162
                  visible="true">
2163
            </separator>
2164
            <separator
2165
                  name="org.txm.rcp.corporaview.corpus.read"
2166
                  visible="true">
2167
            </separator>
2168
            <separator
2169
                  name="org.txm.rcp.corporaview.corpus.manage"
2170
                  visible="true">
2171
            </separator>
2172
            <separator
2173
                  name="org.txm.rcp.corporaview.annotation"
2174
                  visible="true">
2175
            </separator>
2176
            <separator
2177
                  name="org.txm.rcp.corporaview.tools"
2178
                  visible="true">
2179
            </separator>
2180
            <separator
2181
                  name="org.txm.rcp.corporaview.tools.doc"
2182
                  visible="true">
2183
            </separator>
2184
            <separator
2185
                  name="org.txm.rcp.corporaview.tools.stat"
2186
                  visible="true">
2187
            </separator>
2188
            <separator
2189
                  name="org.txm.rcp.corporaview.tools.misc"
2190
                  visible="true">
2191
            </separator>
2192
         <separator
2193
               name="org.txm.rcp.corporaview.text"
2194
               visible="true">
2195
         </separator>
2196
         <separator
2197
               name="org.txm.rcp.corporaview.file"
2198
               visible="true">
2199
         </separator>
2200
            <command
2201
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2202
                  mode="FORCE_TEXT"
2203
                  style="toggle">
2204
               <visibleWhen
2205
                     checkEnabled="false">
2206
                  <and>
2207
                     <reference
2208
                           definitionId="OneTXMResultSelected">
2209
                     </reference>
2210
                     <test
2211
                           property="org.txm.rcp.testers.persistable"
2212
                           value="true">
2213
                     </test>
2214
                     <test
2215
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
2216
                     </test>
2217
                  </and>
2218
               </visibleWhen>
2219
            </command>
2220
            
2221
            <command
2222
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
2223
                  icon="icons/functions/Delete.png"
2224
                  style="push">
2225
               <visibleWhen
2226
                     checkEnabled="false">
2227
                  <or>
2228
                     <reference
2229
                           definitionId="OneTXMResultSelected">
2230
                     </reference>
2231
                  </or>
2232
               </visibleWhen>
2233
            </command>
2234
            <command
2235
                  commandId="org.txm.rcp.commands.function.RenameResult"
2236
                  label="%command.label.26"
2237
                  style="push">
2238
               <visibleWhen
2239
                     checkEnabled="false">
2240
                  <reference
2241
                        definitionId="OneTXMResultSelected">
2242
                  </reference>
2243
               </visibleWhen>
2244
            </command>
2245
            <command
2246
                  commandId="org.txm.rcp.handlers.results.CopyTXMResult"
2247
                  label="%command.label.196"
2248
                  style="push">
2249
               <visibleWhen
2250
                     checkEnabled="false">
2251
                  <and>
2252
                     <reference
2253
                           definitionId="OneTXMResultSelected">
2254
                     </reference>
2255
                     <not>
2256
                        <reference
2257
                              definitionId="OneMainCorpusSelected">
2258
                        </reference>
2259
                     </not>
2260
                     <reference
2261
                           definitionId="ExpertEnabled">
2262
                     </reference>
2263
                  </and>
2264
               </visibleWhen>
2265
            </command>
2266
            <command
2267
                  commandId="org.txm.rcp.handlers.results.CopyTXMResultTree"
2268
                  label="%command.label.197"
2269
                  style="push">
2270
               <visibleWhen
2271
                     checkEnabled="false">
2272
                  <and>
2273
                     <reference
2274
                           definitionId="OneTXMResultSelected">
2275
                     </reference>
2276
                     <not>
2277
                        <reference
2278
                              definitionId="OneMainCorpusSelected">
2279
                        </reference>
2280
                     </not>
2281
                     <reference
2282
                           definitionId="ExpertEnabled">
2283
                     </reference>
2284
                  </and>
2285
               </visibleWhen>
2286
            </command>
2287
            <command
2288
                  commandId="org.txm.rcp.handlers.results.CutTXMResultTree"
2289
                  label="%command.label.198"
2290
                  style="push">
2291
               <visibleWhen
2292
                     checkEnabled="false">
2293
                  <and>
2294
                     <reference
2295
                           definitionId="OneTXMResultSelected">
2296
                     </reference>
2297
                     <not>
2298
                        <reference
2299
                              definitionId="OneMainCorpusSelected">
2300
                        </reference>
2301
                     </not>
2302
                     <reference
2303
                           definitionId="ExpertEnabled">
2304
                     </reference>
2305
                  </and>
2306
               </visibleWhen>
2307
            </command>
2308
            <command
2309
                  commandId="org.txm.rcp.handlers.results.PasteTXMResultTree"
2310
                  label="%command.label.199"
2311
                  style="push">
2312
               <visibleWhen
2313
                     checkEnabled="false">
2314
                  <and>
2315
                     <reference
2316
                           definitionId="OneTXMResultSelected">
2317
                     </reference>
2318
                     <reference
2319
                           definitionId="ExpertEnabled">
2320
                     </reference>
2321
                  </and>
2322
               </visibleWhen>
2323
            </command>
2324
            <command
2325
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
2326
                  label="%command.label.372"
2327
                  style="push">
2328
               <visibleWhen
2329
                     checkEnabled="false">
2330
                  <and>
2331
                     <reference
2332
                           definitionId="OneTXMResultSelected">
2333
                     </reference>
2334
                     <not>
2335
                        <reference
2336
                              definitionId="OneMainCorpusSelected">
2337
                        </reference>
2338
                     </not>
2339
                  </and>
2340
               </visibleWhen>
2341
            </command>
2342
            <command
2343
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
2344
                  label="%command.label.85"
2345
                  style="push">
2346
               <visibleWhen
2347
                     checkEnabled="false">
2348
                  <and>
2349
                     <reference
2350
                           definitionId="OneTXMResultSelected">
2351
                     </reference>
2352
                     <not>
2353
                        <reference
2354
                              definitionId="OneMainCorpusSelected">
2355
                        </reference>
2356
                     </not>
2357
                  </and>
2358
               </visibleWhen>
2359
            </command>
2360
            <command
2361
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
2362
                  label="%command.label.91"
2363
                  style="push">
2364
               <visibleWhen
2365
                     checkEnabled="false">
2366
                  <and>
2367
                     <reference
2368
                           definitionId="OneTXMResultSelected">
2369
                     </reference>
2370
                     <test
2371
                           property="org.txm.rcp.testers.IsParentHidden">
2372
                     </test>
2373
                  </and>
2374
               </visibleWhen>
2375
            </command>
2376
            <command
2377
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
2378
                  label="%command.label.95"
2379
                  style="push">
2380
               <visibleWhen
2381
                     checkEnabled="false">
2382
                  <and>
2383
                     <reference
2384
                           definitionId="OneTXMResultSelected">
2385
                     </reference>
2386
                     <test
2387
                           property="org.txm.rcp.testers.IsParentVisible"
2388
                           value="true">
2389
                     </test>
2390
                  </and>
2391
               </visibleWhen>
2392
            </command>
2393
            <command
2394
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
2395
                  label="%command.label.97"
2396
                  style="push">
2397
               <visibleWhen
2398
                     checkEnabled="false">
2399
                  <or>
2400
                     <reference
2401
                           definitionId="OneIProjectSelected">
2402
                     </reference>
2403
                  </or>
2404
               </visibleWhen>
2405
            </command>
2406
            <command
2407
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
2408
                  label="%command.label.99"
2409
                  style="push">
2410
               <visibleWhen
2411
                     checkEnabled="false">
2412
                  <iterate>
2413
                     <and>
2414
                        <instanceof
2415
                              value="org.txm.searchengine.cqp.corpus.MainCorpus">
2416
                        </instanceof>
2417
                     </and>
2418
                  </iterate>
2419
               </visibleWhen>
2420
            </command>
2421
            <separator
2422
                  name="org.txm.rcp.corporaview.preferences"
2423
                  visible="true">
2424
            </separator>
2425
            <command
2426
                  commandId="org.txm.rcp.handlers.results.OpenPreferences"
2427
                  icon="icons/functions/prefs.png"
2428
                  label="%command.label.4"
2429
                  style="push">
2430
            </command>
2431

    
2432
      </menuContribution>
2433

    
2434
      <menuContribution
2435
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2436
         <command
2437
               commandId="org.txm.rcp.commands.function.ExportSVG"
2438
               label="%command.label.101"
2439
               style="push"
2440
               tooltip="%command.tooltip.60">
2441
            <visibleWhen
2442
                  checkEnabled="false">
2443
               <reference
2444
                     definitionId="SVGEditorActive">
2445
               </reference>
2446
            </visibleWhen>
2447
         </command>
2448
      </menuContribution>
2449
      <menuContribution
2450
            locationURI="popup:org.txm.rcp.views.QueriesView">
2451
         <command
2452
               commandId="org.txm.rcp.commands.queryview.Copy"
2453
               label="%command.label.129"
2454
               style="push"
2455
               tooltip="%command.tooltip.81">
2456
            <visibleWhen
2457
                  checkEnabled="false">
2458
               <reference
2459
                     definitionId="OneQueryLogSelected">
2460
               </reference>
2461
            </visibleWhen>
2462
         </command>
2463
         <command
2464
               commandId="org.txm.rcp.commands.queryview.Paste"
2465
               label="%command.label.130"
2466
               style="push"
2467
               tooltip="%command.tooltip.82">
2468
            <visibleWhen
2469
                  checkEnabled="false">
2470
               <reference
2471
                     definitionId="OneBaseSelected">
2472
               </reference>
2473
            </visibleWhen>
2474
         </command>
2475
         <command
2476
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2477
               icon="icons/functions/Delete.png"
2478
               label="%command.label.65"
2479
               style="push"
2480
               tooltip="%command.tooltip.33">
2481
            <visibleWhen
2482
                  checkEnabled="false">
2483
               <reference
2484
                     definitionId="OneQueryLogSelected">
2485
               </reference>
2486
            </visibleWhen>
2487
         </command>
2488
      </menuContribution>
2489
      <menuContribution
2490
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2491
         <command
2492
               commandId="org.txm.rcp.commands.ExecuteMacro"
2493
               label="%command.label.23"
2494
               style="push"
2495
               tooltip="%command.tooltip.19">
2496
            <visibleWhen
2497
                  checkEnabled="false">
2498
               <reference
2499
                     definitionId="OneFileSelected">
2500
               </reference>
2501
            </visibleWhen>
2502
         </command>
2503
         <command
2504
               commandId="org.txm.rcp.commands.EditSelectedFile"
2505
               label="%command.label.186"
2506
               style="push"
2507
               tooltip="%command.tooltip.86">
2508
            <visibleWhen
2509
                  checkEnabled="false">
2510
               <reference
2511
                     definitionId="OneFileSelected">
2512
               </reference>
2513
            </visibleWhen>
2514
         </command>
2515
         <command
2516
               commandId="org.txm.rcp.commands.CreateMacro"
2517
               label="%command.label.187"
2518
               style="push"
2519
               tooltip="%command.tooltip.92">
2520
            <visibleWhen
2521
                  checkEnabled="false">
2522
               <reference
2523
                     definitionId="OneFileSelected">
2524
               </reference>
2525
            </visibleWhen>
2526
         </command>
2527
         <command
2528
               commandId="org.txm.rcp.commands.CreateFolder"
2529
               label="%command.label.123"
2530
               style="push"
2531
               tooltip="%command.tooltip.76">
2532
            <visibleWhen
2533
                  checkEnabled="false">
2534
               <reference
2535
                     definitionId="OneFileSelected">
2536
               </reference>
2537
            </visibleWhen>
2538
         </command>
2539
         <command
2540
               commandId="org.txm.rcp.commands.ShowSelected"
2541
               style="push">
2542
         </command>
2543
         <command
2544
               commandId="org.txm.rcp.commands.RenameFile"
2545
               style="push">
2546
            <visibleWhen
2547
                  checkEnabled="false">
2548
               <reference
2549
                     definitionId="OneFileSelected">
2550
               </reference>
2551
            </visibleWhen>
2552
         </command>
2553
         <command
2554
               commandId="org.txm.rcp.commands.DeleteFile"
2555
               style="push"
2556
               tooltip="%command.tooltip.15">
2557
            <visibleWhen
2558
                  checkEnabled="false">
2559
               <reference
2560
                     definitionId="OneFileSelected">
2561
               </reference>
2562
            </visibleWhen>
2563
         </command>
2564
         <command
2565
               commandId="org.txm.rcp.commands.CopyFile"
2566
               style="push"
2567
               tooltip="%command.tooltip.16">
2568
            <visibleWhen
2569
                  checkEnabled="false">
2570
               <reference
2571
                     definitionId="OneFileSelected">
2572
               </reference>
2573
            </visibleWhen>
2574
         </command>
2575
         <command
2576
               commandId="org.txm.rcp.commands.CutFile"
2577
               style="push"
2578
               tooltip="%command.tooltip.20">
2579
            <visibleWhen
2580
                  checkEnabled="false">
2581
               <reference
2582
                     definitionId="OneFileSelected">
2583
               </reference>
2584
            </visibleWhen>
2585
         </command>
2586
         <command
2587
               commandId="org.txm.rcp.commands.PasteFile"
2588
               style="push"
2589
               tooltip="%command.tooltip.21">
2590
            <visibleWhen
2591
                  checkEnabled="false">
2592
               <reference
2593
                     definitionId="OneFileSelected">
2594
               </reference>
2595
            </visibleWhen>
2596
         </command>
2597
      </menuContribution>
2598
      <menuContribution
2599
            allPopups="true"
2600
            locationURI="toolbar:TXMEditorTopToolBar">
2601
         <command
2602
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2603
               icon="icons/functions/run.png"
2604
               id="compute"
2605
               style="push"
2606
               tooltip="%command.tooltip.55">
2607
         </command>
2608
      </menuContribution>
2609
      <menuContribution
2610
            allPopups="false"
2611
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2612
         <command
2613
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2614
               icon="icons/refresh.png"
2615
               style="push">
2616
         </command>
2617
      </menuContribution>
2618
   </extension>
2619
   <extension
2620
         id="general"
2621
         name="%extension.name.0"
2622
         point="org.eclipse.ui.commands">
2623
      <category
2624
            description="%category.description"
2625
            id="org.txm.rcp.category.txm"
2626
            name="%category.name.0">
2627
      </category>
2628
      <command
2629
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2630
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2631
            name="%command.name.22">
2632
         <commandParameter
2633
               id="org.txm.rcp.commands.importscript"
2634
               name="%commandParameter.name.1"
2635
               optional="true">
2636
         </commandParameter>
2637
         <commandParameter
2638
               id="org.txm.rcp.commands.importupdatemode"
2639
               name="%commandParameter.name.7"
2640
               optional="true">
2641
         </commandParameter>
2642
         <commandParameter
2643
               id="org.txm.rcp.commands.usecorporaselection"
2644
               name="%commandParameter.name.8"
2645
               optional="true">
2646
         </commandParameter>
2647
      </command>
2648
      
2649
      <command
2650
            categoryId="org.eclipse.ui.category.navigate"
2651
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2652
            id="org.txm.rcp.commands.OpenBrowser"
2653
            name="%command.name.8">
2654
         <commandParameter
2655
               id="org.txm.rcp.commands.commandParameter2"
2656
               name="%commandParameter.name"
2657
               optional="true">
2658
         </commandParameter>
2659
      </command>
2660
      <command
2661
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2662
            id="org.txm.rcp.commands.ShowSelected"
2663
            name="%command.name.9">
2664
      </command>
2665
      <command
2666
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2667
            description="%command.description"
2668
            id="org.txm.rcp.commands.RestartTXM"
2669
            name="%command.name.25">
2670
      </command>
2671
      
2672
      <command
2673
            defaultHandler="org.txm.rcp.commands.ImportClipboardText"
2674
            id="org.txm.rcp.commands.ImportClipboardText"
2675
            name="%command.name.28">
2676
      </command>
2677
      <command
2678
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2679
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2680
            name="%command.name.31">
2681
      </command>
2682
            
2683
      <command
2684
            categoryId="org.eclipse.ui.category.edit"
2685
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2686
            id="org.txm.rcp.commands.OpenImportForm"
2687
            name="%command.name.62">
2688
         <commandParameter
2689
               id="org.txm.rcp.commands.importscript"
2690
               name="%commandParameter.name.2"
2691
               optional="false">
2692
         </commandParameter>
2693
         <commandParameter
2694
               id="org.txm.rcp.commands.importupdatemode"
2695
               name="%commandParameter.name.9"
2696
               optional="false">
2697
         </commandParameter>
2698
         <commandParameter
2699
               id="org.txm.rcp.commands.usecorporaselection"
2700
               name="%commandParameter.name.10"
2701
               optional="true">
2702
         </commandParameter>
2703
      </command>
2704
      <command
2705
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2706
            description="%command.description.0"
2707
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2708
            name="%command.name.3">
2709
      </command>
2710
      <command
2711
            categoryId="org.txm.rcp.category.txm"
2712
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2713
            id="org.txm.rcp.commands.OpenTestEditor"
2714
            name="%command.name.19">
2715
      </command>
2716
      <command
2717
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2718
            id="org.txm.rcp.commands.editor.SetEncoding"
2719
            name="%command.name.72">
2720
      </command>
2721
      <command
2722
            categoryId="org.eclipse.ui.category.navigate"
2723
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2724
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2725
            name="%command.name.74">
2726
         <commandParameter
2727
               id="org.txm.rcp.commands.commandParameter3"
2728
               name="%commandParameter.name.3"
2729
               optional="true">
2730
         </commandParameter>
2731
      </command>
2732
      <command
2733
            categoryId="org.eclipse.ui.category.navigate"
2734
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2735
            id="org.txm.rcp.commands.OpenWelcomePage"
2736
            name="%command.name.8">
2737
         <commandParameter
2738
               id="org.txm.rcp.commands.commandParameter2"
2739
               name="%commandParameter.name"
2740
               optional="true">
2741
         </commandParameter>
2742
      </command>
2743
      <command
2744
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2745
            description="%command.label.182"
2746
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2747
            name="%command.label.182">
2748
      </command>
2749
      <command
2750
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2751
            description="%command.description.3"
2752
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2753
            name="%command.name.87">
2754
                     <commandParameter
2755
               id="org.txm.rcp.parameters.update"
2756
               name="%commandParameter.name.4"
2757
               optional="true">
2758
         </commandParameter>
2759
      </command>
2760
      <command
2761
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2762
            description="%command.description.4"
2763
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2764
            name="%command.name.88">
2765
      </command>
2766
      <command
2767
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2768
            id="org.txm.rcp.commands.CleanPerspective"
2769
            name="%command.name.94">
2770
      </command>
2771
      <command
2772
            defaultHandler="org.txm.rcp.commands.OpenManual"
2773
            id="org.txm.rcp.commands.OpenManual"
2774
            name="%command.name.95">
2775
      </command>
2776
      <command
2777
            categoryId="org.txm.rcp.category.txm"
2778
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2779
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2780
            name="%command.name.98">
2781
         <commandParameter
2782
               id="org.txm.rcp.commands.workspace.UpdateCorpus.force"
2783
               name="%commandParameter.name.11"
2784
               optional="true">
2785
         </commandParameter>
2786
      </command>
2787

    
2788
      <command
2789
            categoryId="org.txm.rcp.category.txm"
2790
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2791
            id="org.txm.rcp.commands.ReloadCorporaView"
2792
            name="%command.name.2">
2793
      </command>
2794
      <command
2795
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2796
            id="org.txm.rcp.commands.function.RenameResult"
2797
            name="%command.name.4">
2798
      </command>
2799
      <command
2800
            categoryId="org.txm.rcp.category.txm"
2801
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2802
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2803
            name="%command.name.64">
2804
      </command>
2805
      <command
2806
            defaultHandler="org.txm.rcp.commands.editor.PrintHexacode"
2807
            id="org.txm.rcp.commands.editor.PrintHexacode"
2808
            name="%command.name.93">
2809
      </command>
2810
   </extension>
2811
   <extension
2812
         id="commands"
2813
         name="%extension.name.1"
2814
         point="org.eclipse.ui.commands">
2815

    
2816
      <command
2817
            defaultHandler="org.txm.rcp.handlers.export.ExportResultData"
2818
            id="org.txm.rcp.commands.function.ExportResult"
2819
            name="%command.name.24">
2820
      </command>
2821
      <command
2822
            defaultHandler="org.txm.rcp.handlers.export.ExportCommand"
2823
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2824
            name="%command.name.35">
2825
      </command>
2826
      <command
2827
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2828
            id="org.txm.rcp.commands.function.ExportSVG"
2829
            name="%command.name.34">
2830
      </command>
2831
      <command
2832
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameter"
2833
            id="org.txm.rcp.handlers.export.ImportResult"
2834
            name="%command.name.39">
2835
      </command>
2836
      <command
2837
            defaultHandler="org.txm.rcp.handlers.export.ImportCommand"
2838
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2839
            name="%command.name.40">
2840
      </command>
2841
      <command
2842
            defaultHandler="org.txm.rcp.commands.ExportXMLTXMFiles"
2843
            id="org.txm.rcp.commands.ExportXMLTXMFiles"
2844
            name="%command.name.65">
2845
      </command>
2846
      <command
2847
            categoryId="org.txm.rcp.category.txm"
2848
            defaultHandler="org.txm.rcp.commands.function.WordPropertiesFromTable"
2849
            id="org.txm.rcp.commands.function.WordPropertiesFromTable"
2850
            name="%command.name.75">
2851
      </command>
2852
      <command
2853
            categoryId="org.txm.rcp.category.txm"
2854
            defaultHandler="org.txm.rcp.commands.function.WordPropertiestoTable"
2855
            id="org.txm.rcp.commands.function.WordPropertiesToTable"
2856
            name="%command.name.76">
2857
      </command>
2858
   </extension>
2859
   <extension
2860
         id="links"
2861
         name="%extension.name.2"
2862
         point="org.eclipse.ui.commands">
2863

    
2864
      <command
2865
            defaultHandler="org.txm.rcp.commands.editor.Copy"
2866
            id="org.txm.rcp.commands.editor.Copy"
2867
            name="%command.name.55">
2868
      </command>
2869
   </extension>
2870
   <extension
2871
         id="views"
2872
         name="%extension.name.3"
2873
         point="org.eclipse.ui.commands">
2874
      <command
2875
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2876
            id="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2877
            name="%command.name.5">
2878
      </command>
2879
      <command
2880
            defaultHandler="org.txm.rcp.commands.queryview.Copy"
2881
            id="org.txm.rcp.commands.queryview.Copy"
2882
            name="%command.name.55">
2883
      </command>
2884
      <command
2885
            defaultHandler="org.txm.rcp.commands.queryview.Paste"
2886
            id="org.txm.rcp.commands.queryview.Paste"
2887
            name="%command.name.56">
2888
      </command>
2889
      <command
2890
            defaultHandler="org.txm.rcp.handlers.files.DownloadFile"
2891
            id="org.txm.rcp.commands.DownloadFile"
2892
            name="%command.name.91">
2893
      </command>
2894
      <command
2895
            defaultHandler="org.txm.rcp.views.debug.RefreshDebugView"
2896
            id="org.txm.rcp.views.debug.RefreshDebugView"
2897
            name="%command.name.27">
2898
      </command>
2899
   </extension>
2900
   <extension
2901
         id="file"
2902
         name="%extension.name.4"
2903
         point="org.eclipse.ui.commands">
2904
      <category
2905
            description="%category.description.0"
2906
            id="org.txm.rcp.categories.file"
2907
            name="%category.name.4">
2908
      </category>
2909
      <command
2910
            categoryId="org.txm.rcp.categories.file"
2911
            defaultHandler="org.txm.rcp.handlers.files.CutFile"
2912
            id="org.txm.rcp.commands.CutFile"
2913
            name="%command.name.71">
2914
      </command>
2915
      <command
2916
            categoryId="org.txm.rcp.categories.file"
2917
            defaultHandler="org.txm.rcp.commands.editor.SaveAs"
2918
            id="org.txm.rcp.commands.editor.SaveAs"
2919
            name="%command.name.67">
2920
      </command>
2921
      <command
2922
            categoryId="org.txm.rcp.categories.file"
2923
            defaultHandler="org.txm.rcp.handlers.files.DeleteFile"
2924
            id="org.txm.rcp.commands.DeleteFile"
2925
            name="%command.name.68">
2926
      </command>
2927
      <command
2928
            categoryId="org.txm.rcp.categories.file"
2929
            defaultHandler="org.txm.rcp.handlers.files.CopyFile"
2930
            id="org.txm.rcp.commands.CopyFile"
2931
            name="%command.name.69">
2932
      </command>
2933
      <command
2934
            categoryId="org.txm.rcp.categories.file"
2935
            defaultHandler="org.txm.rcp.handlers.files.PasteFile"
2936
            id="org.txm.rcp.commands.PasteFile"
2937
            name="%command.name.70">
2938
      </command>
2939
      <command
2940
            categoryId="org.txm.rcp.categories.file"
2941
            defaultHandler="org.txm.rcp.handlers.files.RenameFile"
2942
            id="org.txm.rcp.commands.RenameFile"
2943
            name="%command.name.108">
2944
      </command>
2945
      <command
2946
            categoryId="org.txm.rcp.categories.file"
2947
            defaultHandler="org.txm.rcp.handlers.files.CreateFile"
2948
            id="org.txm.rcp.commands.CreateFile"
2949
            name="%command.name.47">
2950
      </command>
2951
      <command
2952
            categoryId="org.txm.rcp.categories.file"
2953
            defaultHandler="org.txm.rcp.handlers.files.CreateFolder"
2954
            id="org.txm.rcp.commands.CreateFolder"
2955
            name="%command.name.48">
2956
      </command>
2957
      <command
2958
            categoryId="org.txm.rcp.categories.file"
2959
            defaultHandler="org.txm.rcp.handlers.files.EditSelectedFile"
2960
            id="org.txm.rcp.commands.EditSelectedFile"
2961
            name="%command.name.106">
2962
      </command>
2963
      <command
2964
            categoryId="org.txm.rcp.categories.file"
2965
            defaultHandler="org.txm.rcp.handlers.files.EditFile"
2966
            id="org.txm.rcp.handlers.files.EditFile"
2967
            name="%command.name">
2968
         <commandParameter
2969
               id="org.txm.rcp.commands.commandParameter2"
2970
               name="%commandParameter.name"
2971
               optional="true">
2972
         </commandParameter>
2973
      </command>
2974
   </extension>
2975
   <extension
2976
         id="results"
2977
         name="%extension.name.5"
2978
         point="org.eclipse.ui.commands">
2979
      <category
2980
            id="org.txm.rcp.categories.results"
2981
            name="%category.name.5">
2982
      </category>
2983
      <command
2984
            categoryId="org.txm.rcp.categories.results"
2985
            defaultHandler="org.txm.rcp.handlers.results.DeleteObject"
2986
            description="%command.description.5"
2987
            id="org.txm.rcp.handlers.results.DeleteObject"
2988
            name="%command.name.26">
2989
      </command>
2990
      <command
2991
            categoryId="org.txm.rcp.categories.results"
2992
            defaultHandler="org.txm.rcp.handlers.results.ComputeTXMResult"
2993
            description="%command.description.6"
2994
            id="org.txm.rcp.handlers.ComputeTXMResult"
2995
            name="%command.name.32">
2996
      </command>
2997
      <command
2998
            categoryId="org.txm.rcp.categories.results"
2999
            defaultHandler="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
3000
            id="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
3001
            name="%command.name.33">
3002
      </command>
3003
            <command
3004
            categoryId="org.txm.rcp.categories.results"
3005
            defaultHandler="org.txm.rcp.handlers.results.SetTXMResultLockState"
3006
            id="org.txm.rcp.handlers.results.SetTXMResultLockState"
3007
            name="%command.name.44">
3008
      </command>
3009
      <command
3010
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResult"
3011
            id="org.txm.rcp.handlers.results.CloneTXMResult"
3012
            name="%command.name.45">
3013
      </command>
3014
            <command
3015
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResultTree"
3016
            id="org.txm.rcp.handlers.results.CloneTXMResultTree"
3017
            name="%command.name.46">
3018
      </command>
3019
            <command
3020
                  defaultHandler="org.txm.rcp.handlers.results.ShowHiddenParents"
3021
                  id="org.txm.rcp.handlers.results.ShowHiddenParents"
3022
                  name="%command.name.49">
3023
            </command>
3024
            <command
3025
                  defaultHandler="org.txm.rcp.handlers.results.HideIntermediateParents"
3026
                  id="org.txm.rcp.handlers.results.HideIntermediateParents"
3027
                  name="%command.name.53">
3028
            </command>
3029
            <command
3030
                  categoryId="org.txm.rcp.categories.results"
3031
                  defaultHandler="org.txm.rcp.handlers.results.OpenPreferences"
3032
                  description="%command.description.7"
3033
                  id="org.txm.rcp.handlers.results.OpenPreferences"
3034
                  name="%command.name.57">
3035
            </command>
3036
            <command
3037
                  categoryId="org.txm.rcp.categories.results"
3038
                  defaultHandler="org.txm.rcp.commands.workspace.OpenCorpus"
3039
                  description="%command.description.2"
3040
                  id="org.txm.rcp.commands.workspace.OpenCorpus"
3041
                  name="%command.name.77">
3042
            </command>
3043
            <command
3044
                  categoryId="org.txm.rcp.categories.results"
3045
                  defaultHandler="org.txm.rcp.commands.workspace.CloseCorpus"
3046
                  description="%command.description.8"
3047
                  id="org.txm.rcp.commands.workspace.CloseCorpus"
3048
                  name="%command.name.85">
3049
            </command>
3050
            <command
3051
                  defaultHandler="org.txm.rcp.handlers.results.CopyTXMResult"
3052
                  id="org.txm.rcp.handlers.results.CopyTXMResult"
3053
                  name="%command.name.109">
3054
            </command>
3055
            <command
3056
                  defaultHandler="org.txm.rcp.handlers.results.CopyTXMResultTree"
3057
                  id="org.txm.rcp.handlers.results.CopyTXMResultTree"
3058
                  name="%command.name.110">
3059
            </command>
3060
            <command
3061
                  defaultHandler="org.txm.rcp.handlers.results.PasteTXMResultTree"
3062
                  id="org.txm.rcp.handlers.results.PasteTXMResultTree"
3063
                  name="%command.name.111">
3064
            </command>
3065
            <command
3066
                  defaultHandler="org.txm.rcp.handlers.results.CutTXMResultTree"
3067
                  id="org.txm.rcp.handlers.results.CutTXMResultTree"
3068
                  name="%command.name.112">
3069
            </command>
3070
   </extension>
3071
   <extension
3072
         id="scripts"
3073
         name="%extension.name.6"
3074
         point="org.eclipse.ui.commands">
3075
      <category
3076
            id="org.txm.rcp.categories.scripts"
3077
            name="%category.name.6">
3078
      </category>
3079
      <command
3080
            categoryId="org.txm.rcp.categories.scripts"
3081
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScript"
3082
            id="org.txm.rcp.commands.ExecuteScriptGroovy"
3083
            name="%command.name.0">
3084
      </command>
3085
      <command
3086
            categoryId="org.txm.rcp.categories.scripts"
3087
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteLastGroovyScript"
3088
            id="org.txm.rcp.commands.ExecuteLastGroovyScript"
3089
            name="%command.name.89">
3090
      </command>
3091
      <command
3092
            categoryId="org.txm.rcp.categories.scripts"
3093
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyText"
3094
            id="org.txm.rcp.commands.ExecuteGroovyText"
3095
            name="%command.name.10">
3096
      </command>
3097
      <command
3098
            categoryId="org.txm.rcp.categories.scripts"
3099
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScriptFromFile"
3100
            id="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
3101
            name="%command.name.66">
3102
      </command>
3103
      <command
3104
            categoryId="org.txm.rcp.categories.scripts"
3105
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyMacro"
3106
            id="org.txm.rcp.commands.ExecuteMacro"
3107
            name="%command.name.79">
3108
         <commandParameter
3109
               id="org.txm.rcp.command.parameter.file"
3110
               name="%commandParameter.name.5"
3111
               optional="true">
3112
         </commandParameter>
3113
         <commandParameter
3114
               id="args"
3115
               name="%commandParameter.name.12"
3116
               optional="true">
3117
         </commandParameter>
3118
      </command>
3119
      <command
3120
            categoryId="org.txm.rcp.categories.scripts"
3121
            defaultHandler="org.txm.rcp.handlers.scripts.CreateMacro"
3122
            id="org.txm.rcp.commands.CreateMacro"
3123
            name="%command.name.80">
3124
      </command>
3125
      <command
3126
            categoryId="org.txm.rcp.categories.scripts"
3127
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteScript"
3128
            id="org.txm.rcp.commands.ExecuteScript"
3129
            name="%command.name.21">
3130
         <commandParameter
3131
               id="org.txm.rcp.command.parameter.file"
3132
               name="%commandParameter.name.6"
3133
               optional="true">
3134
         </commandParameter>
3135
         <commandParameter
3136
               id="args"
3137
               name="%commandParameter.name.13"
3138
               optional="true">
3139
         </commandParameter>
3140
      </command>
3141
      <command
3142
            categoryId="org.txm.rcp.categories.scripts"
3143
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteText"
3144
            id="org.txm.rcp.commands.ExecuteText"
3145
            name="%command.name.50">
3146
      </command>
3147
      <command
3148
            defaultHandler="org.txm.rcp.commands.workspace.RebuildCorpus"
3149
            id="org.txm.rcp.commands.workspace.RebuildCorpus"
3150
            name="%command.name.59">
3151
      </command>
3152
      <command
3153
            categoryId="org.txm.rcp.category.txm"
3154
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
3155
            id="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
3156
            name="%command.name.61">
3157
         <commandParameter
3158
               id="url"
3159
               name="%commandParameter.name.14"
3160
               optional="true">
3161
         </commandParameter>
3162
      </command>
3163
   </extension>
3164
   <extension
3165
         point="org.eclipse.core.expressions.definitions">
3166
      <definition
3167
            id="OneFileSelected">
3168
         <with
3169
               variable="selection">
3170
            <iterate
3171
                  ifEmpty="false"
3172
                  operator="and">
3173
               <instanceof
3174
                     value="java.io.File">
3175
               </instanceof>
3176
            </iterate>
3177
         </with>
3178
      </definition>
3179
      <definition
3180
            id="OneDirSelected">
3181
         <and>
3182
            <instanceof
3183
                  value="java.io.File">
3184
            </instanceof>
3185
            <test
3186
                  args="isDirectory()"
3187
                  property="org.txm.rcp.test2"
3188
                  value="true">
3189
            </test>
3190
         </and>
3191
      </definition>
3192
            <definition
3193
                  id="OneProjectSelected">
3194
               <with
3195
                     variable="corporaSelection">
3196
                  <iterate
3197
                        ifEmpty="false"
3198
                        operator="and">
3199
                     <instanceof
3200
                           value="org.txm.objects.Project">
3201
                     </instanceof>
3202
                  </iterate>
3203
               </with>
3204
            </definition>
3205
            <definition
3206
                  id="OneIProjectSelected">
3207
               <with
3208
                     variable="corporaSelection">
3209
                  <iterate
3210
                        ifEmpty="false"
3211
                        operator="and">
3212
                     <instanceof
3213
                           value="org.eclipse.core.resources.IProject">
3214
                     </instanceof>
3215
                  </iterate>
3216
               </with>
3217
            </definition>
3218
            <definition
3219
                  id="OneTextSelected">
3220
               <with
3221
                     variable="corporaSelection">
3222
                  <iterate
3223
                        ifEmpty="false"
3224
                        operator="and">
3225
                     <instanceof
3226
                           value="org.txm.objects.Text">
3227
                     </instanceof>
3228
                  </iterate>
3229
               </with>
3230
            </definition>
3231
           
3232
            <definition
3233
                  id="OneResultSelected">
3234
               <visibleWhen
3235
                     checkEnabled="false">
3236
                  <or>
3237
                     <reference
3238
                           definitionId="OneSpecificitiesResultSelected">
3239
                     </reference>
3240
                     <reference
3241
                           definitionId="OneCASelected">
3242
                     </reference>
3243
                     <reference
3244
                           definitionId="OneLexiconSelected">
3245
                     </reference>
3246
                     <reference
3247
                           definitionId="OneConcordanceSelected">
3248
                     </reference>
3249
                     <reference
3250
                           definitionId="OneIndexSelected">
3251
                     </reference>
3252
                     <reference
3253
                           definitionId="OneReferencerSelected">
3254
                     </reference>
3255
                  </or>
3256
               </visibleWhen>
3257
            </definition>
3258
            <definition
3259
                  id="SVGEditorActive">
3260
               <with
3261
                     variable="activeEditorId">
3262
                  <equals
3263
                        value="org.txm.rcp.editors.SVGGraphicEditor">
3264
                  </equals>
3265
               </with>
3266
            </definition>
3267
            <definition
3268
                  id="StatEngineReady">
3269
               <test
3270
                     forcePluginActivation="true"
3271
                     property="org.txm.rcp.testers.ToolboxTester"
3272
                     value="StateEngineReady">
3273
               </test>
3274
            </definition>
3275
            <definition
3276
                  id="LabPerspectiveSelected">
3277
               <with
3278
                     variable="activeWorkbenchWindow.activePerspective">
3279
                  <equals
3280
                        value="org.txm.rcp.perspective.LabPerspective">
3281
                  </equals>
3282
               </with>
3283
            </definition>
3284
            <definition
3285
                  id="OneLexicalTableAbleSelected">
3286
               <with
3287
                     variable="corporaSelection">
3288
                  <iterate
3289
                        ifEmpty="false"
3290
                        operator="and">
3291
                     <instanceof
3292
                           value="org.txm.functions.LexicalTableAble">
3293
                     </instanceof>
3294
                  </iterate>
3295
               </with>
3296
            </definition>
3297
            <definition
3298
                  id="NeedToSaveAnnotations">
3299
               <test
3300
                     forcePluginActivation="true"
3301
                     property="org.txm.rcp.testers.annotate.canSave">
3302
               </test>
3303
            </definition>
3304
            <definition
3305
                  id="ExpertEnabled">
3306
               <test
3307
                     forcePluginActivation="true"
3308
                     property="org.txm.rcp.testers.ExpertEnabled">
3309
               </test>
3310
            </definition>
3311
            <definition
3312
                  id="IsXTZCorpus">
3313
               <test
3314
                     forcePluginActivation="true"
3315
                     property="org.txm.rcp.testers.corpus.xtzCorpus">
3316
               </test>
3317
            </definition>
3318
            <definition
3319
                  id="TextEditorActive">
3320
               <or>
3321
               <with
3322
                     variable="activePartId">
3323
                  <equals
3324
                        value="org.txm.rcp.editors.TxtEditor">
3325
                  </equals>
3326
               </with>
3327
               <with
3328
                     variable="activePartId">
3329
                  <equals
3330
                        value=" org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart">
3331
                  </equals>
3332
               </with></or>
3333
            </definition>
3334
            <definition
3335
                  id="OneTXMResultSelected">
3336
               <with
3337
                     variable="corporaSelection">
3338
                  <iterate
3339
                        ifEmpty="false"
3340
                        operator="and">
3341
                     <instanceof
3342
                           value="org.txm.core.results.TXMResult">
3343
                     </instanceof>
3344
                  </iterate>
3345
               </with>
3346
            </definition>
3347
            <definition
3348
                  id="OneOrMoreElementSelected">
3349
               <with
3350
                     variable="activeMenuSelection">
3351
                  <count
3352
                        value="+">
3353
                  </count>
3354
               </with>
3355
            </definition>
3356
            <definition
3357
                  id="IscorpusProject">
3358
               <adapt
3359
                     type="org.eclipse.core.resources.IProject">
3360
                  <test
3361
                        property="org.eclipse.core.resources.projectNature"
3362
                        value="org.txm.core.project.corpus">
3363
                  </test>
3364
               </adapt>
3365
            </definition>
3366
            <definition
3367
                  id="TXMEditorActive">
3368
               <with
3369
                     variable="activePart">
3370
                  <instanceof
3371
                        value="org.txm.rcp.editors.TXMEditor">
3372
                  </instanceof>
3373
               </with>
3374
            </definition>
3375
            <definition
3376
                  id="OneProjectSelected">
3377
               <with
3378
                     variable="corporaSelection">
3379
                  <iterate
3380
                        ifEmpty="false"
3381
                        operator="and">
3382
                     <instanceof
3383
                           value="org.eclipse.core.resources.IProject">
3384
                     </instanceof>
3385
                  </iterate>
3386
               </with>
3387
            </definition>
3388
            <definition
3389
                  id="SelectionIsNotEmpty">
3390
               <with
3391
                     variable="selection">
3392
                  <iterate
3393
                        ifEmpty="false"
3394
                        operator="and">
3395
                     <instanceof
3396
                           value="java.lang.Object">
3397
                     </instanceof>
3398
                  </iterate>
3399
               </with>
3400
            </definition>
3401
   </extension>
3402
  
3403
   <extension
3404
         point="org.eclipse.ui.splashHandlers">
3405
      <splashHandler
3406
            class="org.txm.rcp.splashHandlers.TXMSplashHandler"
3407
            id="org.txm.rcp.splashHandlers.TXMSplashHandler">
3408
      </splashHandler>
3409
      <splashHandlerProductBinding
3410
            productId="org.txm.rcp.product"
3411
            splashId="org.txm.rcp.splashHandlers.TXMSplashHandler">
3412
      </splashHandlerProductBinding>
3413
   </extension>
3414
   <extension
3415
         point="org.eclipse.core.expressions.propertyTesters">
3416
      <propertyTester
3417
            class="org.txm.rcp.testers.ToolboxTester"
3418
            id="org.txm.rcp.testers.ToolboxTester"
3419
            namespace="org.txm.rcp.testers"
3420
            properties="StatEngineReady,SearchEngineReady,computable,persistable"
3421
            type="java.lang.Object">
3422
      </propertyTester>
3423
      <propertyTester
3424
            class="org.txm.rcp.testers.IsCorpusAnnotated"
3425
            id="org.txm.rcp.testers.IsCorpusAnnotated"
3426
            namespace="org.txm.rcp.testers.annotate"
3427
            properties="canSave"
3428
            type="java.lang.Object">
3429
      </propertyTester>
3430
      <propertyTester
3431
            class="org.txm.rcp.testers.ExpertEnabled"
3432
            id="org.txm.rcp.testers.ExpertEnabled"
3433
            namespace="org.txm.rcp.testers"
3434
            properties="ExpertEnabled"
3435
            type="java.lang.Object">
3436
      </propertyTester>
3437
      <propertyTester
3438
            class="org.txm.rcp.testers.IsXTZCorpus"
3439
            id="org.txm.rcp.testers.IsXTZCorpus"
3440
            namespace="org.txm.rcp.testers.corpus"
3441
            properties="xtzCorpus"
3442
            type="java.lang.Object">
3443
      </propertyTester>
3444
      <propertyTester
3445
            class="org.txm.rcp.testers.AutoPersistenceDisabled"
3446
            id="org.txm.rcp.testers.AutoPersistenceDisabled"
3447
            namespace="org.txm.rcp.testers"
3448
            properties="AutoPersistenceDisabled"
3449
            type="java.lang.Object">
3450
      </propertyTester>
3451
      <propertyTester
3452
            class="org.txm.rcp.testers.IsParentVisible"
3453
            id="org.txm.rcp.testers.IsParentVisible"
3454
            namespace="org.txm.rcp.testers"
3455
            properties="IsParentVisible"
3456
            type="java.lang.Object">
3457
      </propertyTester>
3458
      <propertyTester
3459
            class="org.txm.rcp.testers.IsParentHidden"
3460
            id="org.txm.rcp.testers.IsParentHidden"
3461
            namespace="org.txm.rcp.testers"
3462
            properties="IsParentHidden"
3463
            type="java.lang.Object">
3464
      </propertyTester>
3465
   </extension>
3466
   <extension
3467
         point="org.eclipse.ui.bindings">
3468
      <scheme
3469
            description="%scheme.description"
3470
            id="org.txm.rcp.scheme"
3471
            name="%scheme.name"
3472
            parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
3473
      </scheme>
3474
      <key
3475
            commandId="org.txm.rcp.commands.ExecuteText"
3476
            contextId="org.eclipse.ui.contexts.window"
3477
            schemeId="org.txm.rcp.scheme"
3478
            sequence="F11">
3479
      </key>
3480
      <key
3481
            commandId="org.txm.rcp.commands.ExecuteScript"
3482
            contextId="org.eclipse.ui.contexts.window"
3483
            schemeId="org.txm.rcp.scheme"
3484
            sequence="M1+F11">
3485
      </key>
3486
      <key
3487
            commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
3488
            contextId="org.eclipse.ui.contexts.window"
3489
            schemeId="org.txm.rcp.scheme"
3490
            sequence="F12">
3491
      </key>
3492
      <key
3493
            commandId="org.txm.rcp.commands.ReloadCorporaView"
3494
            contextId="org.txm.rcp.views.corpora.CorporaView"
3495
            schemeId="org.txm.rcp.scheme"
3496
            sequence="F5">
3497
      </key>
3498
      <key
3499
            commandId="org.txm.rcp.commands.function.RenameResult"
3500
            contextId="org.txm.rcp.views.corpora.CorporaView"
3501
            schemeId="org.txm.rcp.scheme"
3502
            sequence="F2">
3503
      </key>
3504
      <key
3505
            commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
3506
            contextId="org.txm.rcp.views.corpora.CorporaView"
3507
            schemeId="org.txm.rcp.scheme"
3508
            sequence="M1+S">
3509
      </key>
3510
   </extension>
3511
<!--   <extension
3512
         point="org.eclipse.e4.ui.css.swt.theme">
3513
      <theme
3514
            basestylesheeturi="css/default_linux.css"
3515
            id="org.txm.rcp.theme.default.linux"
3516
            label="TXM"
3517
            os="linux">
3518
      </theme>
3519
      <theme
3520
            basestylesheeturi="css/default_windows.css"
3521
            id="org.txm.rcp.theme.default.windows"
3522
            label="TXM"
3523
            os="win32">
3524
      </theme>
3525
      <theme
3526
            basestylesheeturi="css/default_mac.css"
3527
            id="org.txm.rcp.theme.default.mac"
3528
            label="TXM"
3529
            os="macosx">
3530
      </theme>
3531
   </extension>-->
3532
   <extension
3533
         point="org.eclipse.ui.contexts">
3534
      <context
3535
            description="%context.description.0"
3536
            id="org.txm.rcp.views.corpora.CorporaView"
3537
            name="%context.name.0">
3538
      </context>
3539
   </extension>
3540
   <extension
3541
         point="org.eclipse.ui.newWizards">
3542
      <category
3543
            id="org.txm.rcp.corpus"
3544
            name="%category.name.7">
3545
      </category>
3546
      <primaryWizard
3547
            id="org.txm.rcp.corpuswizard.TxtWizard">
3548
      </primaryWizard>
3549
      <primaryWizard
3550
            id="org.txm.rcp.corpuswizard.XMLXTZWizard">
3551
      </primaryWizard>
3552
      <primaryWizard
3553
            id="org.txm.rcp.corpuswizard.FactivaWizard">
3554
      </primaryWizard>
3555
      <wizard
3556
            category="org.txm.rcp.corpus"
3557
            class="org.txm.rcp.corpuswizard.ImportWizard"
3558
            descriptionImage="icons/wizard/txt.png"
3559
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3560
            icon="icons/objects/file.png"
3561
            id="org.txm.rcp.corpuswizard.TxtWizard"
3562
            name="%wizard.name.2"
3563
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3564
            project="true">
3565
      </wizard>
3566
      <wizard
3567
            category="org.txm.rcp.corpus"
3568
            class="org.txm.rcp.corpuswizard.ImportWizard"
3569
            descriptionImage="icons/wizard/factiva.png"
3570
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3571
            icon="icons/objects/xml.png"
3572
            id="org.txm.rcp.corpuswizard.FactivaWizard"
3573
            name="%wizard.name.3"
3574
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3575
            project="true">
3576
      </wizard>
3577
      <wizard
3578
            category="org.txm.rcp.corpus"
3579
            class="org.txm.rcp.corpuswizard.ImportWizard"
3580
            descriptionImage="icons/wizard/xtz.png"
3581
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3582
            icon="icons/objects/xml.png"
3583
            id="org.txm.rcp.corpuswizard.XMLXTZWizard"
3584
            name="%wizard.name.4"
3585
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3586
            project="true">
3587
      </wizard>
3588
   </extension>
3589
   <extension
3590
         point="org.eclipse.ui.ide.projectNatureImages">
3591
      <image
3592
            icon="icons/objects/project.png"
3593
            id="org.txm.rcp.image1"
3594
            natureId="org.txm.core.CorpusNature">
3595
      </image>
3596
   </extension>
3597
   <extension
3598
         id="id1"
3599
         point="org.eclipse.core.resources.natures">
3600
      <runtime>
3601
         <run
3602
               class="org.txm.core.CorpusNature">
3603
         </run>
3604
      </runtime>
3605
   </extension>
3606
   <extension
3607
         point="org.eclipse.ui.installationPages">
3608
      <page
3609
            class="org.txm.rcp.InstallationPage.PathsInstallationPage"
3610
            id="org.txm.rcp.installationPages.paths"
3611
            name="%page.name.3">
3612
      </page>
3613
   </extension>
3614
   <extension
3615
         point="org.eclipse.ui.services">
3616
      <sourceProvider
3617
            provider="org.txm.rcp.CorporaSourceProvider">
3618
         <variable
3619
               name="corporaSelection"
3620
               priorityLevel="workbench">
3621
         </variable>
3622
      </sourceProvider>
3623
   </extension>
3624

    
3625
</plugin>