Statistiques
| Révision :

root / TXM / trunk / bundles / org.txm.rcp / plugin.xml @ 3743

Historique | Voir | Annoter | Télécharger (142,95 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.txm.rcp.commands.QuitHandler"
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.txm.rcp.commands.CleanEditors"
1296
                  style="push">
1297
            </command>
1298
            <command
1299
                  commandId="org.eclipse.ui.window.newWindow"
1300
                  label="%command.label.157">
1301
            </command>
1302
            <command
1303
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1304
                  label="%command.label.75"
1305
                  style="push"
1306
                  tooltip="%command.tooltip.42">
1307
            </command>
1308
         </menu>
1309
         <menu
1310
               id="menu.help"
1311
               label="%menu.label.2"
1312
               tooltip="%menu.tooltip">
1313
            <command
1314
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1315
                  label="%command.label.173"
1316
                  style="push">
1317
            </command>
1318
            <separator
1319
                  name="org.txm.rcp.separator1"
1320
                  visible="true">
1321
            </separator>
1322
            <menu
1323
                  id="menu.help.documentation"
1324
                  label="%menu.label.20">
1325
               <command
1326
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1327
                     label="%command.label.68"
1328
                     style="push"
1329
                     tooltip="%command.tooltip.23">
1330
                  <parameter
1331
                        name="org.txm.rcp.commands.commandParameter3"
1332
                        value="refman">
1333
                  </parameter>
1334
               </command>
1335
               <command
1336
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1337
                     label="%command.label.70"
1338
                     style="push">
1339
                  <parameter
1340
                        name="org.txm.rcp.commands.commandParameter3"
1341
                        value="sf_docs">
1342
                  </parameter>
1343
               </command>
1344
               <command
1345
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1346
                     label="%command.label.35"
1347
                     style="push"
1348
                     tooltip="%command.tooltip.43">
1349
                  <parameter
1350
                        name="org.txm.rcp.commands.commandParameter3"
1351
                        value="txm-users wiki">
1352
                  </parameter>
1353
               </command>
1354
               <command
1355
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1356
                     label="%command.label.178"
1357
                     style="push"
1358
                     tooltip="%command.tooltip.41">
1359
                  <parameter
1360
                        name="org.txm.rcp.commands.commandParameter3"
1361
                        value="faq">
1362
                  </parameter>
1363
               </command>
1364
               <command
1365
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1366
                     label="%command.label.33"
1367
                     style="push"
1368
                     tooltip="%command.tooltip.13">
1369
                  <parameter
1370
                        name="org.txm.rcp.commands.commandParameter3"
1371
                        value="macros">
1372
                  </parameter>
1373
               </command>
1374
               <menu
1375
                     id="menu.help.plugins"
1376
                     label="%menu.label.4">
1377
               </menu>
1378
               <command
1379
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1380
                     label="%command.label.67"
1381
                     style="push"
1382
                     tooltip="%command.tooltip">
1383
                  <parameter
1384
                        name="org.txm.rcp.commands.commandParameter3"
1385
                        value="treetagger">
1386
                  </parameter>
1387
               </command>
1388
            </menu>
1389
            <command
1390
                  commandId="org.eclipse.ui.window.showKeyAssist"
1391
                  label="%command.label.52"
1392
                  style="push">
1393
            </command>
1394
            <separator
1395
                  name="helpSeparator1"
1396
                  visible="true">
1397
            </separator>
1398
            <menu
1399
                  id="menu.help.ressources"
1400
                  label="%menu.label.21">
1401
               <command
1402
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1403
                     label="%command.label.49"
1404
                     style="push"
1405
                     tooltip="%command.tooltip">
1406
                  <parameter
1407
                        name="org.txm.rcp.commands.commandParameter3"
1408
                        value="corpora">
1409
                  </parameter>
1410
               </command>
1411
               <command
1412
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1413
                     label="%command.label.56"
1414
                     style="push"
1415
                     tooltip="%command.tooltip">
1416
                  <parameter
1417
                        name="org.txm.rcp.commands.commandParameter3"
1418
                        value="sf">
1419
                  </parameter>
1420
               </command>
1421
            </menu>
1422
            <menu
1423
                  id="menu.help.community"
1424
                  label="%menu.label.22">
1425
               <command
1426
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1427
                     label="%command.label.55"
1428
                     style="push"
1429
                     tooltip="%command.tooltip">
1430
                  <parameter
1431
                        name="org.txm.rcp.commands.commandParameter3"
1432
                        value="mailinglist">
1433
                  </parameter>
1434
               </command>
1435
               <command
1436
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1437
                     label="%command.label.76"
1438
                     style="push"
1439
                     tooltip="%command.tooltip.65">
1440
                  <parameter
1441
                        name="org.txm.rcp.commands.commandParameter3"
1442
                        value="http://webchat.freenode.net/?channels=txm">
1443
                  </parameter>
1444
               </command>
1445
            </menu>
1446
            <separator
1447
                  name="helpSeparator3"
1448
                  visible="true">
1449
            </separator>
1450
            <menu
1451
                  id="menu.help.textometry"
1452
                  label="%menu.label.23">
1453
               <command
1454
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1455
                     label="%command.label.69"
1456
                     style="push">
1457
                  <parameter
1458
                        name="org.txm.rcp.commands.commandParameter3"
1459
                        value="textometrie">
1460
                  </parameter>
1461
               </command>
1462
               <command
1463
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1464
                     label="%command.label.72"
1465
                     style="push">
1466
                  <parameter
1467
                        name="org.txm.rcp.commands.commandParameter3"
1468
                        value="textometrie_docs">
1469
                  </parameter>
1470
               </command>
1471
            </menu>
1472
            <menu
1473
                  id="menu.help.participate"
1474
                  label="%menu.label.24">
1475
               <command
1476
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1477
                     label="%command.label.53"
1478
                     style="push"
1479
                     tooltip="%command.tooltip">
1480
                  <parameter
1481
                        name="org.txm.rcp.commands.commandParameter3"
1482
                        value="bug">
1483
                  </parameter>
1484
               </command>
1485
               <command
1486
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1487
                     label="%command.label.54"
1488
                     style="push"
1489
                     tooltip="%command.tooltip">
1490
                  <parameter
1491
                        name="org.txm.rcp.commands.commandParameter3"
1492
                        value="feature">
1493
                  </parameter>
1494
               </command>
1495
               <command
1496
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1497
                     label="%command.label.179"
1498
                     style="push"
1499
                     tooltip="%command.tooltip.47">
1500
                  <parameter
1501
                        name="org.txm.rcp.commands.commandParameter3"
1502
                        value="contrib">
1503
                  </parameter>
1504
               </command>
1505
            </menu>
1506
            <separator
1507
                  name="org.txm.rcp.separator4"
1508
                  visible="true">
1509
            </separator>
1510
            <command
1511
                  commandId="org.eclipse.ui.help.aboutAction"
1512
                  label="%command.label.14"
1513
                  style="push"
1514
                  tooltip="%command.tooltip.10">
1515
            </command>
1516
         </menu>
1517
         <menu
1518
               id="menu.recettes"
1519
               label="%menu.label.12"
1520
               tooltip="%menu.tooltip.1">
1521
            <visibleWhen
1522
                  checkEnabled="false">
1523
               <or>
1524
                  <reference
1525
                        definitionId="ExpertEnabled">
1526
                  </reference>
1527
               </or>
1528
            </visibleWhen>
1529
         </menu>
1530
      </menuContribution>
1531
      <menuContribution
1532
            allPopups="true"
1533
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1534
         <separator
1535
               name="org.txm.rcp.toolbars.begin"
1536
               visible="false">
1537
         </separator>
1538
         <toolbar
1539
               id="org.txm.rcp.toolbars.result">
1540
            <command
1541
                  commandId="org.txm.rcp.commands.function.ExportResult"
1542
                  icon="icons/functions/export_data.png"
1543
                  label="%command.label.51"
1544
                  style="push">
1545
               <visibleWhen
1546
                     checkEnabled="false">
1547
                  <and>
1548
                     <reference
1549
                           definitionId="OneTXMResultSelected">
1550
                     </reference>
1551
                     <not>
1552
                        <or>
1553
                           <reference
1554
                                 definitionId="OnePartitionSelected">
1555
                           </reference>
1556
                           <reference
1557
                                 definitionId="OneCorpusSelected">
1558
                           </reference>
1559
                        </or>
1560
                     </not>
1561
                  </and>
1562
               </visibleWhen>
1563
            </command>
1564
         </toolbar>
1565
         <toolbar
1566
               id="org.txm.rcp.toolbarcorpus">
1567
            <separator
1568
                  name="org.txm.rcp.toolbarcorpus.read"
1569
                  visible="false">
1570
            </separator>
1571
            <command
1572
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1573
                  icon="icons/functions/Delete.png"
1574
                  style="push"
1575
                  tooltip="%command.tooltip.33">
1576
               <visibleWhen
1577
                     checkEnabled="false">
1578
                  <or>
1579
                     <reference
1580
                           definitionId="OneTXMResultSelected">
1581
                     </reference>
1582
                  </or>
1583
               </visibleWhen>
1584
            </command>
1585
            
1586
            <separator
1587
                  name="org.txm.rcp.toolbarcorpus.corpus"
1588
                  visible="false">
1589
            </separator>
1590
            <separator
1591
                  name="org.txm.rcp.toolbarcorpus.annotation"
1592
                  visible="false">
1593
            </separator>
1594
         </toolbar>
1595
         <separator
1596
               name="org.txm.rcp.toolbar.separator1"
1597
               visible="true">
1598
         </separator>
1599
         <toolbar
1600
               id="org.txm.rcp.toolbartools">
1601
            <separator
1602
                  name="org.txm.rcp.separator1"
1603
                  visible="true">
1604
            </separator>
1605
            <separator
1606
                  name="org.txm.rcp.toolbartools.stats"
1607
                  visible="true">
1608
            </separator>
1609

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

    
2441
      </menuContribution>
2442

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

    
2797
      <command
2798
            categoryId="org.txm.rcp.category.txm"
2799
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2800
            id="org.txm.rcp.commands.ReloadCorporaView"
2801
            name="%command.name.2">
2802
      </command>
2803
      <command
2804
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2805
            id="org.txm.rcp.commands.function.RenameResult"
2806
            name="%command.name.4">
2807
      </command>
2808
      <command
2809
            categoryId="org.txm.rcp.category.txm"
2810
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2811
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2812
            name="%command.name.64">
2813
      </command>
2814
      <command
2815
            defaultHandler="org.txm.rcp.commands.editor.PrintHexacode"
2816
            id="org.txm.rcp.commands.editor.PrintHexacode"
2817
            name="%command.name.93">
2818
      </command>
2819
      <command
2820
            categoryId="org.txm.rcp.category.txm"
2821
            defaultHandler="org.txm.rcp.commands.RecoverCorporaFromInstalls"
2822
            id="org.txm.rcp.commands.RecoverCorporaFromInstalls"
2823
            name="Recover corpora">
2824
      </command>
2825
      <command
2826
            defaultHandler="org.txm.rcp.commands.CleanEditors"
2827
            id="org.txm.rcp.commands.CleanEditors"
2828
            name="Close all editors">
2829
      </command>
2830
      <command
2831
            defaultHandler="org.txm.rcp.commands.QuitHandler"
2832
            description="Close TXM"
2833
            id="org.txm.rcp.commands.QuitHandler"
2834
            name="Quit">
2835
      </command>
2836
   </extension>
2837
   <extension
2838
         id="commands"
2839
         name="%extension.name.1"
2840
         point="org.eclipse.ui.commands">
2841

    
2842
      <command
2843
            defaultHandler="org.txm.rcp.handlers.export.ExportResultData"
2844
            id="org.txm.rcp.commands.function.ExportResult"
2845
            name="%command.name.24">
2846
      </command>
2847
      <command
2848
            defaultHandler="org.txm.rcp.handlers.export.ExportCommand"
2849
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2850
            name="%command.name.35">
2851
      </command>
2852
      <command
2853
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2854
            id="org.txm.rcp.commands.function.ExportSVG"
2855
            name="%command.name.34">
2856
      </command>
2857
      <command
2858
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameter"
2859
            id="org.txm.rcp.handlers.export.ImportResult"
2860
            name="%command.name.39">
2861
      </command>
2862
      <command
2863
            defaultHandler="org.txm.rcp.handlers.export.ImportCommand"
2864
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2865
            name="%command.name.40">
2866
      </command>
2867
      <command
2868
            defaultHandler="org.txm.rcp.commands.ExportXMLTXMFiles"
2869
            id="org.txm.rcp.commands.ExportXMLTXMFiles"
2870
            name="%command.name.65">
2871
      </command>
2872
      <command
2873
            categoryId="org.txm.rcp.category.txm"
2874
            defaultHandler="org.txm.rcp.commands.function.WordPropertiesFromTable"
2875
            id="org.txm.rcp.commands.function.WordPropertiesFromTable"
2876
            name="%command.name.75">
2877
      </command>
2878
      <command
2879
            categoryId="org.txm.rcp.category.txm"
2880
            defaultHandler="org.txm.rcp.commands.function.WordPropertiestoTable"
2881
            id="org.txm.rcp.commands.function.WordPropertiesToTable"
2882
            name="%command.name.76">
2883
      </command>
2884
   </extension>
2885
   <extension
2886
         id="links"
2887
         name="%extension.name.2"
2888
         point="org.eclipse.ui.commands">
2889

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

    
3687
</plugin>