Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (142,42 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="TXM 0.8.3">
34
         <property
35
               name="appName"
36
               value="TXM 0.8.3">
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.3 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="Import a calculus from a .txmcmd 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
               <command
580
                     commandId="org.txm.rcp.commands.RecoverCorporaFromInstalls"
581
                     label="Recover corpora"
582
                     style="push">
583
               </command>
584
               <separator
585
                     name="menu.file.load.separator.end"
586
                     visible="false">
587
               </separator>
588
            </menu>
589
            <menu
590
                  icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/export_wiz.png"
591
                  id="menu.file.export"
592
                  label="%menu.label.5">
593
               <separator
594
                     name="menu.file.export.begin"
595
                     visible="false">
596
               </separator>
597
               <menu
598
                     icon="icons/objects/corpus.png"
599
                     id="menu.file.export.corpus"
600
                     label="%menu.label.16">
601
                  <command
602
                        commandId="org.txm.rcp.commands.ExportXMLTXMFiles"
603
                        icon="icons/objects/script.png"
604
                        style="push">
605
                     <visibleWhen
606
                           checkEnabled="false">
607
                        <and>
608
                           <reference
609
                                 definitionId="OneMainCorpusSelected">
610
                           </reference>
611
                        </and>
612
                     </visibleWhen>
613
                  </command>
614
               </menu>
615
               <menu
616
                     id="menu.file.export.properties"
617
                     label="%menu.label.17">
618
                  <command
619
                        commandId="org.txm.rcp.commands.function.WordPropertiesToTable"
620
                        style="push">
621
                     <visibleWhen
622
                           checkEnabled="false">
623
                        <reference
624
                              definitionId="OneMainCorpusSelected">
625
                        </reference>
626
                     </visibleWhen>
627
                  </command>
628
               </menu>
629
               <menu
630
                     icon="icons/functions/pencil.png"
631
                     id="menu.file.export.annotations"
632
                     label="%menu.label.18">
633
               </menu>
634
               <command
635
                     commandId="org.txm.rcp.commands.function.ExportResult"
636
                     icon="icons/functions/export_data.png"
637
                     label="%command.label.51"
638
                     style="push">
639
                  <visibleWhen
640
                        checkEnabled="false">
641
                     <and>
642
                        <reference
643
                              definitionId="OneTXMResultSelected">
644
                        </reference>
645
                        <not>
646
                           <or>
647
                              <reference
648
                                    definitionId="OnePartitionSelected">
649
                              </reference>
650
                              <reference
651
                                    definitionId="OneCorpusSelected">
652
                              </reference>
653
                           </or>
654
                        </not>
655
                     </and>
656
                  </visibleWhen>
657
               </command>
658
               <command
659
                     commandId="org.txm.rcp.handlers.export.ExportResultParameters"
660
                     icon="icons/functions/export_parameters.png"
661
                     label="%command.label.103"
662
                     style="push"
663
                     tooltip="Export a calculus to a .txmcmd file">
664
                  <visibleWhen
665
                        checkEnabled="false">
666
                     <and>
667
                        <reference
668
                              definitionId="OneTXMResultSelected">
669
                        </reference>
670
                        <not>
671
                           <reference
672
                                 definitionId="OneMainCorpusSelected">
673
                           </reference>
674
                        </not>
675
                     </and>
676
                  </visibleWhen>
677
               </command>
678
            </menu>
679
            <separator
680
                  name="menu.file.separator.file"
681
                  visible="true">
682
            </separator>
683
            <command
684
                  commandId="org.txm.rcp.commands.CreateFile"
685
                  icon="icons/functions/page_white_add.png"
686
                  label="%command.label.83">
687
            </command>
688
            <command
689
                  commandId="org.txm.rcp.handlers.files.EditFile"
690
                  icon="icons/functions/open.png"
691
                  id="file.open"
692
                  label="%command.label.45"
693
                  style="push">
694
            </command>
695
            <command
696
                  commandId="org.eclipse.ui.file.save"
697
                  icon="icons/functions/save.png"
698
                  label="%command.label.86">
699
            </command>
700
            <command
701
                  commandId="org.eclipse.ui.file.saveAll"
702
                  icon="icons/functions/saveall.png"
703
                  label="%command.label.88">
704
            </command>
705
            <command
706
                  commandId="org.txm.rcp.commands.editor.SaveAs"
707
                  icon="icons/functions/saveas.png"
708
                  label="%command.label.29">
709
               <visibleWhen
710
                     checkEnabled="false">
711
                  <reference
712
                        definitionId="TextEditorActive">
713
                  </reference>
714
               </visibleWhen>
715
            </command>
716
            <command
717
                  commandId="org.eclipse.ui.file.close"
718
                  label="%command.label.90">
719
            </command>
720
            <command
721
                  commandId="org.eclipse.ui.file.closeAll"
722
                  label="%command.label.93">
723
            </command>
724
            <separator
725
                  name="menu.file.separator.open"
726
                  visible="true">
727
            </separator>
728
            <command
729
                  commandId="org.txm.rcp.commands.OpenBrowser"
730
                  label="%command.label"
731
                  style="push"
732
                  tooltip="%command.tooltip">
733
            </command>
734
            <separator
735
                  name="menu.file.separator.lang"
736
                  visible="true">
737
            </separator>
738
            <separator
739
                  name="menu.file.separator.update"
740
                  visible="true">
741
            </separator>
742
            <command
743
                  commandId="org.txm.rcp.p2.plugins.TXMUpdateHandler"
744
                  label="%command.label.181"
745
                  style="push">
746
               <parameter
747
                     name="org.txm.rcp.parameters.update"
748
                     value="true">
749
               </parameter>
750
            </command>
751
            <command
752
                  commandId="org.txm.rcp.p2.plugins.InstallPluginHandler"
753
                  label="%command.label.182"
754
                  style="push">
755
            </command>
756
            <command
757
                  commandId="org.eclipse.equinox.p2.ui.sdk.install"
758
                  label="%command.label.34"
759
                  style="push">
760
            </command>
761
            <separator
762
                  name="menu.file.separator.close"
763
                  visible="true">
764
            </separator>
765
            <command
766
                  commandId="org.txm.rcp.commands.RestartTXM"
767
                  label="%command.label.59"
768
                  style="push"
769
                  tooltip="%command.tooltip.26">
770
            </command>
771
            <command
772
                  commandId="org.txm.rcp.commands.ChangeTXMWorkspace"
773
                  style="push">
774
            </command>
775
            <command
776
                  commandId="org.eclipse.ui.file.exit"
777
                  label="%command.label.6"
778
                  style="push"
779
                  tooltip="%command.tooltip.2">
780
            </command>
781
         </menu>
782
         <menu
783
               id="menu.edit"
784
               label="%menu.label.3">
785
               
786
               <command
787
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
788
                  mode="FORCE_TEXT"
789
                  style="toggle">
790
               <visibleWhen
791
                     checkEnabled="false">
792
                  <and>
793
                     <reference
794
                           definitionId="OneTXMResultSelected">
795
                     </reference>
796
                     <test
797
                           property="org.txm.rcp.testers.persistable"
798
                           value="true">
799
                     </test>
800
                     <test
801
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
802
                     </test>
803
                  </and>
804
               </visibleWhen>
805
            </command>
806
            <command
807
                  commandId="org.txm.rcp.commands.function.RenameResult"
808
                  label="%command.label.26"
809
                  style="push">
810
               <visibleWhen
811
                     checkEnabled="false">
812
                  <reference
813
                        definitionId="OneTXMResultSelected">
814
                  </reference>
815
               </visibleWhen>
816
            </command>
817
            <command
818
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
819
                  label="%command.label.37"
820
                  style="push">
821
               <visibleWhen
822
                     checkEnabled="false">
823
                  <and>
824
                     <reference
825
                           definitionId="OneTXMResultSelected">
826
                     </reference>
827
                     <not>
828
                        <reference
829
                              definitionId="OneMainCorpusSelected">
830
                        </reference>
831
                     </not>
832
                  </and>
833
               </visibleWhen>
834
            </command>
835
            <command
836
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
837
                  label="%command.label.38"
838
                  style="push">
839
               <visibleWhen
840
                     checkEnabled="false">
841
                  <and>
842
                     <reference
843
                           definitionId="OneTXMResultSelected">
844
                     </reference>
845
                     <not>
846
                        <reference
847
                              definitionId="OneMainCorpusSelected">
848
                        </reference>
849
                     </not>
850
                  </and>
851
               </visibleWhen>
852
            </command>
853
            <command
854
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
855
                  label="%command.label.42"
856
                  style="push">
857
               <visibleWhen
858
                     checkEnabled="false">
859
                  <and>
860
                     <reference
861
                           definitionId="OneTXMResultSelected">
862
                     </reference>
863
                     <test
864
                           property="org.txm.rcp.testers.IsParentHidden">
865
                     </test>
866
                  </and>
867
               </visibleWhen>
868
            </command>
869
            <command
870
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
871
                  label="%command.label.48"
872
                  style="push">
873
               <visibleWhen
874
                     checkEnabled="false">
875
                  <and>
876
                     <reference
877
                           definitionId="OneTXMResultSelected">
878
                     </reference>
879
                     <test
880
                           property="org.txm.rcp.testers.IsParentVisible"
881
                           value="true">
882
                     </test>
883
                  </and>
884
               </visibleWhen>
885
            </command>
886
            <separator
887
                  name="org.txm.rcp.separator1">
888
            </separator>
889
            
890
            <command
891
                  commandId="org.eclipse.ui.edit.findReplace"
892
                  icon="icons/functions/find.png"
893
                  label="%command.label.159">
894
               <visibleWhen
895
                     checkEnabled="false">
896
                  <reference
897
                        definitionId="TextEditorActive">
898
                  </reference>
899
               </visibleWhen>
900
            </command>
901
            <command
902
                  commandId="org.eclipse.ui.edit.findPrevious"
903
                  icon="icons/functions/find_previous.png"
904
                  label="%command.label.160"
905
                  style="push">
906
               <visibleWhen
907
                     checkEnabled="false">
908
                  <reference
909
                        definitionId="TextEditorActive">
910
                  </reference>
911
               </visibleWhen>
912
            </command>
913
            <command
914
                  commandId="org.eclipse.ui.edit.findNext"
915
                  icon="icons/functions/find_next.png"
916
                  label="%command.label.161"
917
                  style="push">
918
               <visibleWhen
919
                     checkEnabled="false">
920
                  <reference
921
                        definitionId="TextEditorActive">
922
                  </reference>
923
               </visibleWhen>
924
            </command>
925
            <command
926
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
927
                  icon="icons/functions/find_incremental_reverse.png"
928
                  label="%command.label.110"
929
                  style="push">
930
               <visibleWhen
931
                     checkEnabled="false">
932
                  <reference
933
                        definitionId="TextEditorActive">
934
                  </reference>
935
               </visibleWhen>
936
            </command>
937
            <command
938
                  commandId="org.eclipse.ui.edit.findIncremental"
939
                  icon="icons/functions/find_incremental.png"
940
                  label="%command.label.109"
941
                  style="push">
942
               <visibleWhen
943
                     checkEnabled="false">
944
                  <reference
945
                        definitionId="TextEditorActive">
946
                  </reference>
947
               </visibleWhen>
948
            </command>
949
            <separator
950
                  name="org.txm.rcp.separator1"
951
                  visible="true">
952
            </separator>
953
            <command
954
                  commandId="org.eclipse.ui.edit.undo"
955
                  label="%command.label.16">
956
               <visibleWhen
957
                     checkEnabled="false">
958
                  <reference
959
                        definitionId="TextEditorActive">
960
                  </reference>
961
               </visibleWhen>
962
            </command>
963
            <command
964
                  commandId="org.eclipse.ui.edit.redo"
965
                  label="%command.label.17">
966
               <visibleWhen
967
                     checkEnabled="false">
968
                  <reference
969
                        definitionId="TextEditorActive">
970
                  </reference>
971
               </visibleWhen>
972
            </command>
973
            <separator
974
                  name="org.txm.rcp.separator2"
975
                  visible="true">
976
            </separator>
977
            <command
978
                  commandId="org.eclipse.ui.edit.cut"
979
                  label="%command.label.18">
980
               <visibleWhen
981
                     checkEnabled="false">
982
                  <reference
983
                        definitionId="TextEditorActive">
984
                  </reference>
985
               </visibleWhen>
986
            </command>
987
            <command
988
                  commandId="org.eclipse.ui.edit.copy"
989
                  label="%command.label.19">
990
               <visibleWhen
991
                     checkEnabled="false">
992
                  <reference
993
                        definitionId="TextEditorActive">
994
                  </reference>
995
               </visibleWhen>
996
            </command>
997
            <command
998
                  commandId="org.eclipse.ui.edit.paste"
999
                  label="%command.label.20">
1000
               <visibleWhen
1001
                     checkEnabled="false">
1002
                  <reference
1003
                        definitionId="TextEditorActive">
1004
                  </reference>
1005
               </visibleWhen>
1006
            </command>
1007
            <command
1008
                  commandId="org.eclipse.ui.edit.delete"
1009
                  label="%command.label.27">
1010
               <visibleWhen
1011
                     checkEnabled="false">
1012
                  <reference
1013
                        definitionId="TextEditorActive">
1014
                  </reference>
1015
               </visibleWhen>
1016
            </command>
1017
            <command
1018
                  commandId="org.eclipse.ui.edit.selectAll"
1019
                  icon="icons/functions/page_allgreen.png"
1020
                  label="%command.label.165">
1021
               <visibleWhen
1022
                     checkEnabled="false">
1023
                  <reference
1024
                        definitionId="TextEditorActive">
1025
                  </reference>
1026
               </visibleWhen>
1027
            </command>
1028
            <separator
1029
                  name="org.txm.rcp.separator3"
1030
                  visible="true">
1031
            </separator>
1032
            <command
1033
                  commandId="org.eclipse.ui.edit.text.goto.line"
1034
                  icon="icons/functions/goto.png"
1035
                  label="%command.label.166"
1036
                  style="push">
1037
               <visibleWhen
1038
                     checkEnabled="false">
1039
                  <reference
1040
                        definitionId="TextEditorActive">
1041
                  </reference>
1042
               </visibleWhen>
1043
            </command>
1044
            <command
1045
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
1046
                  icon="icons/functions/world.png"
1047
                  label="%command.label.133"
1048
                  style="push">
1049
               <visibleWhen
1050
                     checkEnabled="false">
1051
                  <reference
1052
                        definitionId="TextEditorActive">
1053
                  </reference>
1054
               </visibleWhen>
1055
            </command>
1056
            <command
1057
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
1058
                  icon="icons/functions/encoding.png"
1059
                  label="%command.label.30">
1060
               <visibleWhen
1061
                     checkEnabled="false">
1062
                  <reference
1063
                        definitionId="TextEditorActive">
1064
                  </reference>
1065
               </visibleWhen>
1066
            </command>
1067
            <separator
1068
                  name="org.txm.rcp.separator3"
1069
                  visible="true">
1070
            </separator>
1071
            <command
1072
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
1073
                  icon="icons/functions/lines_number.png"
1074
                  label="%command.label.168"
1075
                  style="push">
1076
               <visibleWhen
1077
                     checkEnabled="false">
1078
                  <reference
1079
                        definitionId="TextEditorActive">
1080
                  </reference>
1081
               </visibleWhen>
1082
            </command>
1083
            <command
1084
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
1085
                  icon="icons/functions/paragraph.png"
1086
                  label="%command.label.169"
1087
                  style="push"
1088
                  tooltip="%command.tooltip.31">
1089
               <visibleWhen
1090
                     checkEnabled="false">
1091
                  <reference
1092
                        definitionId="TextEditorActive">
1093
                  </reference>
1094
               </visibleWhen>
1095
            </command>
1096
            <command
1097
                  commandId="org.eclipse.ui.file.revert"
1098
                  icon="icons/functions/page_refresh.png"
1099
                  label="%command.label.145"
1100
                  style="push">
1101
               <visibleWhen
1102
                     checkEnabled="false">
1103
                  <reference
1104
                        definitionId="TextEditorActive">
1105
                  </reference>
1106
               </visibleWhen>
1107
            </command>
1108
            <command
1109
                  commandId="org.eclipse.ui.window.preferences"
1110
                  icon="icons/functions/prefs.png"
1111
                  label="%command.label.4"
1112
                  style="push"
1113
                  tooltip="%command.tooltip.0">
1114
            </command>
1115
         </menu>
1116
         <menu
1117
               id="menu.corpus"
1118
               label="%menu.label.1"
1119
               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;">
1120
            <separator
1121
                  name="menu.corpus.read"
1122
                  visible="true">
1123
            </separator>
1124
            
1125
            <separator
1126
                  name="menu.corpus.build"
1127
                  visible="true">
1128
            </separator>
1129
            <command
1130
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1131
                  icon="icons/functions/update.png"
1132
                  label="%command.name.98"
1133
                  style="push">
1134
               <visibleWhen
1135
                     checkEnabled="false">
1136
                  <or>
1137
                     <reference
1138
                           definitionId="OneMainCorpusSelected">
1139
                     </reference>
1140
                  </or>
1141
               </visibleWhen>
1142
            </command>
1143
            <command
1144
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1145
                  icon="icons/functions/Delete.png"
1146
                  style="push">
1147
               <visibleWhen
1148
                     checkEnabled="false">
1149
                  <or>
1150
                     <reference
1151
                           definitionId="OneTXMResultSelected">
1152
                     </reference>
1153
                  </or>
1154
               </visibleWhen>
1155
            </command>
1156
            <separator
1157
                  name="menu.corpus.manage"
1158
                  visible="true">
1159
            </separator>
1160
            <command
1161
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
1162
                  label="%command.label.80"
1163
                  style="push">
1164
               <visibleWhen
1165
                     checkEnabled="false">
1166
                  <or>
1167
                     <reference
1168
                           definitionId="OneIProjectSelected">
1169
                     </reference>
1170
                  </or>
1171
               </visibleWhen>
1172
            </command>
1173
            <command
1174
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
1175
                  label="%command.label.96"
1176
                  style="push">
1177
               <visibleWhen
1178
                     checkEnabled="false">
1179
                  <iterate>
1180
                     <and>
1181
                        <instanceof
1182
                              value="org.txm.searchengine.cqp.corpus.MainCorpus">
1183
                        </instanceof>
1184
                     </and>
1185
                  </iterate>
1186
               </visibleWhen>
1187
            </command>
1188
            
1189
         </menu>
1190
         <menu
1191
               id="menu.tools"
1192
               label="%menu.label.6">
1193
            <separator
1194
                  name="menu.tools.separator.doc"
1195
                  visible="true">
1196
            </separator>
1197
            
1198
            <separator
1199
                  name="menu.tools.separator.stats"
1200
                  visible="true">
1201
            </separator>
1202
            <separator
1203
                  name="menu.tools.separator.misc"
1204
                  visible="true">
1205
            </separator>
1206
            <separator
1207
                  name="menu.tools.separator.end"
1208
                  visible="true">
1209
            </separator>
1210
         </menu>
1211
         <menu
1212
               id="menu.utilities"
1213
               label="%menu.label.19">
1214
            <dynamic
1215
                  class="org.txm.rcp.menu.MacrosMenuContribution"
1216
                  id="menu.utilities.contribution">
1217
            </dynamic>
1218
         </menu>
1219
         <menu
1220
               id="menu.display"
1221
               label="%menu.label.7"
1222
               tooltip="%menu.tooltip.0">
1223
            <menu
1224
                  id="menu.display.views"
1225
                  label="%menu.label.9">
1226
               <command
1227
                     commandId="org.eclipse.ui.views.showView"
1228
                     icon="icons/objects/corpus.png"
1229
                     label="%command.label.134"
1230
                     style="push">
1231
                  <parameter
1232
                        name="org.eclipse.ui.views.showView.viewId"
1233
                        value="org.txm.rcp.views.corpora.CorporaView">
1234
                  </parameter>
1235
               </command>
1236
               <command
1237
                     commandId="org.eclipse.ui.views.showView"
1238
                     icon="icons/objects/folder.png"
1239
                     label="%command.label.135"
1240
                     style="push">
1241
                  <parameter
1242
                        name="org.eclipse.ui.views.showView.viewId"
1243
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1244
                  </parameter>
1245
               </command>
1246
               <command
1247
                     commandId="org.eclipse.ui.views.showView"
1248
                     icon="icons/objects/script.png"
1249
                     label="%command.label.177"
1250
                     style="push">
1251
                  <parameter
1252
                        name="org.eclipse.ui.views.showView.viewId"
1253
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1254
                  </parameter>
1255
               </command>
1256
               <command
1257
                     commandId="org.eclipse.ui.views.showView"
1258
                     icon="platform:/plugin/org.eclipse.ui.console/icons/full/eview16/console_view.png"
1259
                     label="%command.label.43"
1260
                     style="push">
1261
                  <parameter
1262
                        name="org.eclipse.ui.views.showView.viewId"
1263
                        value="org.eclipse.ui.console.ConsoleView">
1264
                  </parameter>
1265
               </command>
1266
               <separator
1267
                     name="menu.display.views.separator">
1268
               </separator>
1269
               <command
1270
                     commandId="org.eclipse.ui.views.showView"
1271
                     id="org.eclipse.ui.views.showView"
1272
                     label="%command.label.139"
1273
                     style="push">
1274
               </command>
1275
            </menu>
1276
            <menu
1277
                  id="menu.display.perspectives"
1278
                  label="%menu.label.8">
1279
               <command
1280
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1281
                     icon="icons/objects/corpus.png"
1282
                     label="%command.label.131"
1283
                     style="push">
1284
                  <parameter
1285
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1286
                        value="org.txm.rcp.perspective.TXMPerspective">
1287
                  </parameter>
1288
               </command>
1289
            </menu>
1290
            <command
1291
                  commandId="org.txm.rcp.commands.CleanPerspective"
1292
                  style="push">
1293
            </command>
1294
            <command
1295
                  commandId="org.eclipse.ui.window.newWindow"
1296
                  label="%command.label.157">
1297
            </command>
1298
            <command
1299
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1300
                  label="%command.label.75"
1301
                  style="push"
1302
                  tooltip="%command.tooltip.42">
1303
            </command>
1304
         </menu>
1305
         <menu
1306
               id="menu.help"
1307
               label="%menu.label.2"
1308
               tooltip="%menu.tooltip">
1309
            <command
1310
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1311
                  label="%command.label.173"
1312
                  style="push">
1313
            </command>
1314
            <separator
1315
                  name="org.txm.rcp.separator1"
1316
                  visible="true">
1317
            </separator>
1318
            <menu
1319
                  id="menu.help.documentation"
1320
                  label="%menu.label.20">
1321
               <command
1322
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1323
                     label="%command.label.68"
1324
                     style="push"
1325
                     tooltip="%command.tooltip.23">
1326
                  <parameter
1327
                        name="org.txm.rcp.commands.commandParameter3"
1328
                        value="refman">
1329
                  </parameter>
1330
               </command>
1331
               <command
1332
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1333
                     label="%command.label.70"
1334
                     style="push">
1335
                  <parameter
1336
                        name="org.txm.rcp.commands.commandParameter3"
1337
                        value="sf_docs">
1338
                  </parameter>
1339
               </command>
1340
               <command
1341
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1342
                     label="%command.label.35"
1343
                     style="push"
1344
                     tooltip="%command.tooltip.43">
1345
                  <parameter
1346
                        name="org.txm.rcp.commands.commandParameter3"
1347
                        value="txm-users wiki">
1348
                  </parameter>
1349
               </command>
1350
               <command
1351
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1352
                     label="%command.label.178"
1353
                     style="push"
1354
                     tooltip="%command.tooltip.41">
1355
                  <parameter
1356
                        name="org.txm.rcp.commands.commandParameter3"
1357
                        value="faq">
1358
                  </parameter>
1359
               </command>
1360
               <command
1361
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1362
                     label="%command.label.33"
1363
                     style="push"
1364
                     tooltip="%command.tooltip.13">
1365
                  <parameter
1366
                        name="org.txm.rcp.commands.commandParameter3"
1367
                        value="macros">
1368
                  </parameter>
1369
               </command>
1370
               <menu
1371
                     id="menu.help.plugins"
1372
                     label="%menu.label.4">
1373
               </menu>
1374
               <command
1375
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1376
                     label="%command.label.67"
1377
                     style="push"
1378
                     tooltip="%command.tooltip">
1379
                  <parameter
1380
                        name="org.txm.rcp.commands.commandParameter3"
1381
                        value="treetagger">
1382
                  </parameter>
1383
               </command>
1384
            </menu>
1385
            <command
1386
                  commandId="org.eclipse.ui.window.showKeyAssist"
1387
                  label="%command.label.52"
1388
                  style="push">
1389
            </command>
1390
            <separator
1391
                  name="helpSeparator1"
1392
                  visible="true">
1393
            </separator>
1394
            <menu
1395
                  id="menu.help.ressources"
1396
                  label="%menu.label.21">
1397
               <command
1398
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1399
                     label="%command.label.49"
1400
                     style="push"
1401
                     tooltip="%command.tooltip">
1402
                  <parameter
1403
                        name="org.txm.rcp.commands.commandParameter3"
1404
                        value="corpora">
1405
                  </parameter>
1406
               </command>
1407
               <command
1408
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1409
                     label="%command.label.56"
1410
                     style="push"
1411
                     tooltip="%command.tooltip">
1412
                  <parameter
1413
                        name="org.txm.rcp.commands.commandParameter3"
1414
                        value="sf">
1415
                  </parameter>
1416
               </command>
1417
            </menu>
1418
            <menu
1419
                  id="menu.help.community"
1420
                  label="%menu.label.22">
1421
               <command
1422
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1423
                     label="%command.label.55"
1424
                     style="push"
1425
                     tooltip="%command.tooltip">
1426
                  <parameter
1427
                        name="org.txm.rcp.commands.commandParameter3"
1428
                        value="mailinglist">
1429
                  </parameter>
1430
               </command>
1431
               <command
1432
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1433
                     label="%command.label.76"
1434
                     style="push"
1435
                     tooltip="%command.tooltip.65">
1436
                  <parameter
1437
                        name="org.txm.rcp.commands.commandParameter3"
1438
                        value="http://webchat.freenode.net/?channels=txm">
1439
                  </parameter>
1440
               </command>
1441
            </menu>
1442
            <separator
1443
                  name="helpSeparator3"
1444
                  visible="true">
1445
            </separator>
1446
            <menu
1447
                  id="menu.help.textometry"
1448
                  label="%menu.label.23">
1449
               <command
1450
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1451
                     label="%command.label.69"
1452
                     style="push">
1453
                  <parameter
1454
                        name="org.txm.rcp.commands.commandParameter3"
1455
                        value="textometrie">
1456
                  </parameter>
1457
               </command>
1458
               <command
1459
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1460
                     label="%command.label.72"
1461
                     style="push">
1462
                  <parameter
1463
                        name="org.txm.rcp.commands.commandParameter3"
1464
                        value="textometrie_docs">
1465
                  </parameter>
1466
               </command>
1467
            </menu>
1468
            <menu
1469
                  id="menu.help.participate"
1470
                  label="%menu.label.24">
1471
               <command
1472
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1473
                     label="%command.label.53"
1474
                     style="push"
1475
                     tooltip="%command.tooltip">
1476
                  <parameter
1477
                        name="org.txm.rcp.commands.commandParameter3"
1478
                        value="bug">
1479
                  </parameter>
1480
               </command>
1481
               <command
1482
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1483
                     label="%command.label.54"
1484
                     style="push"
1485
                     tooltip="%command.tooltip">
1486
                  <parameter
1487
                        name="org.txm.rcp.commands.commandParameter3"
1488
                        value="feature">
1489
                  </parameter>
1490
               </command>
1491
               <command
1492
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1493
                     label="%command.label.179"
1494
                     style="push"
1495
                     tooltip="%command.tooltip.47">
1496
                  <parameter
1497
                        name="org.txm.rcp.commands.commandParameter3"
1498
                        value="contrib">
1499
                  </parameter>
1500
               </command>
1501
            </menu>
1502
            <separator
1503
                  name="org.txm.rcp.separator4"
1504
                  visible="true">
1505
            </separator>
1506
            <command
1507
                  commandId="org.eclipse.ui.help.aboutAction"
1508
                  label="%command.label.14"
1509
                  style="push"
1510
                  tooltip="%command.tooltip.10">
1511
            </command>
1512
         </menu>
1513
         <menu
1514
               id="menu.recettes"
1515
               label="%menu.label.12"
1516
               tooltip="%menu.tooltip.1">
1517
            <visibleWhen
1518
                  checkEnabled="false">
1519
               <or>
1520
                  <reference
1521
                        definitionId="ExpertEnabled">
1522
                  </reference>
1523
               </or>
1524
            </visibleWhen>
1525
         </menu>
1526
      </menuContribution>
1527
      <menuContribution
1528
            allPopups="true"
1529
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1530
         <separator
1531
               name="org.txm.rcp.toolbars.begin"
1532
               visible="false">
1533
         </separator>
1534
         <toolbar
1535
               id="org.txm.rcp.toolbars.result">
1536
            <command
1537
                  commandId="org.txm.rcp.commands.function.ExportResult"
1538
                  icon="icons/functions/export_data.png"
1539
                  label="%command.label.51"
1540
                  style="push">
1541
               <visibleWhen
1542
                     checkEnabled="false">
1543
                  <and>
1544
                     <reference
1545
                           definitionId="OneTXMResultSelected">
1546
                     </reference>
1547
                     <not>
1548
                        <or>
1549
                           <reference
1550
                                 definitionId="OnePartitionSelected">
1551
                           </reference>
1552
                           <reference
1553
                                 definitionId="OneCorpusSelected">
1554
                           </reference>
1555
                        </or>
1556
                     </not>
1557
                  </and>
1558
               </visibleWhen>
1559
            </command>
1560
         </toolbar>
1561
         <toolbar
1562
               id="org.txm.rcp.toolbarcorpus">
1563
            <separator
1564
                  name="org.txm.rcp.toolbarcorpus.read"
1565
                  visible="false">
1566
            </separator>
1567
            <command
1568
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1569
                  icon="icons/functions/Delete.png"
1570
                  style="push"
1571
                  tooltip="%command.tooltip.33">
1572
               <visibleWhen
1573
                     checkEnabled="false">
1574
                  <or>
1575
                     <reference
1576
                           definitionId="OneTXMResultSelected">
1577
                     </reference>
1578
                  </or>
1579
               </visibleWhen>
1580
            </command>
1581
            
1582
            <separator
1583
                  name="org.txm.rcp.toolbarcorpus.corpus"
1584
                  visible="false">
1585
            </separator>
1586
            <separator
1587
                  name="org.txm.rcp.toolbarcorpus.annotation"
1588
                  visible="false">
1589
            </separator>
1590
         </toolbar>
1591
         <separator
1592
               name="org.txm.rcp.toolbar.separator1"
1593
               visible="true">
1594
         </separator>
1595
         <toolbar
1596
               id="org.txm.rcp.toolbartools">
1597
            <separator
1598
                  name="org.txm.rcp.separator1"
1599
                  visible="true">
1600
            </separator>
1601
            <separator
1602
                  name="org.txm.rcp.toolbartools.stats"
1603
                  visible="true">
1604
            </separator>
1605

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

    
2437
      </menuContribution>
2438

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

    
2793
      <command
2794
            categoryId="org.txm.rcp.category.txm"
2795
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2796
            id="org.txm.rcp.commands.ReloadCorporaView"
2797
            name="%command.name.2">
2798
      </command>
2799
      <command
2800
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2801
            id="org.txm.rcp.commands.function.RenameResult"
2802
            name="%command.name.4">
2803
      </command>
2804
      <command
2805
            categoryId="org.txm.rcp.category.txm"
2806
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2807
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2808
            name="%command.name.64">
2809
      </command>
2810
      <command
2811
            defaultHandler="org.txm.rcp.commands.editor.PrintHexacode"
2812
            id="org.txm.rcp.commands.editor.PrintHexacode"
2813
            name="%command.name.93">
2814
      </command>
2815
      <command
2816
            categoryId="org.txm.rcp.category.txm"
2817
            defaultHandler="org.txm.rcp.commands.RecoverCorporaFromInstalls"
2818
            id="org.txm.rcp.commands.RecoverCorporaFromInstalls"
2819
            name="Recover corpora">
2820
      </command>
2821
   </extension>
2822
   <extension
2823
         id="commands"
2824
         name="%extension.name.1"
2825
         point="org.eclipse.ui.commands">
2826

    
2827
      <command
2828
            defaultHandler="org.txm.rcp.handlers.export.ExportResultData"
2829
            id="org.txm.rcp.commands.function.ExportResult"
2830
            name="%command.name.24">
2831
      </command>
2832
      <command
2833
            defaultHandler="org.txm.rcp.handlers.export.ExportCommand"
2834
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2835
            name="%command.name.35">
2836
      </command>
2837
      <command
2838
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2839
            id="org.txm.rcp.commands.function.ExportSVG"
2840
            name="%command.name.34">
2841
      </command>
2842
      <command
2843
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameter"
2844
            id="org.txm.rcp.handlers.export.ImportResult"
2845
            name="%command.name.39">
2846
      </command>
2847
      <command
2848
            defaultHandler="org.txm.rcp.handlers.export.ImportCommand"
2849
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2850
            name="%command.name.40">
2851
      </command>
2852
      <command
2853
            defaultHandler="org.txm.rcp.commands.ExportXMLTXMFiles"
2854
            id="org.txm.rcp.commands.ExportXMLTXMFiles"
2855
            name="%command.name.65">
2856
      </command>
2857
      <command
2858
            categoryId="org.txm.rcp.category.txm"
2859
            defaultHandler="org.txm.rcp.commands.function.WordPropertiesFromTable"
2860
            id="org.txm.rcp.commands.function.WordPropertiesFromTable"
2861
            name="%command.name.75">
2862
      </command>
2863
      <command
2864
            categoryId="org.txm.rcp.category.txm"
2865
            defaultHandler="org.txm.rcp.commands.function.WordPropertiestoTable"
2866
            id="org.txm.rcp.commands.function.WordPropertiesToTable"
2867
            name="%command.name.76">
2868
      </command>
2869
   </extension>
2870
   <extension
2871
         id="links"
2872
         name="%extension.name.2"
2873
         point="org.eclipse.ui.commands">
2874

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

    
3672
</plugin>