Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (143,46 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.UpdateCorpus"
2404
                  icon="icons/functions/update.png"
2405
                  label="%command.name.98"
2406
                  style="push">
2407
               <visibleWhen
2408
                     checkEnabled="false">
2409
                  <or>
2410
                     <reference
2411
                           definitionId="OneMainCorpusSelected">
2412
                     </reference>
2413
                  </or>
2414
               </visibleWhen>
2415
            </command>
2416
            <command
2417
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
2418
                  label="%command.label.97"
2419
                  style="push">
2420
               <visibleWhen
2421
                     checkEnabled="false">
2422
                  <or>
2423
                     <reference
2424
                           definitionId="OneIProjectSelected">
2425
                     </reference>
2426
                  </or>
2427
               </visibleWhen>
2428
            </command>
2429
            <command
2430
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
2431
                  label="%command.label.99"
2432
                  style="push">
2433
               <visibleWhen
2434
                     checkEnabled="false">
2435
                  <iterate>
2436
                     <and>
2437
                        <instanceof
2438
                              value="org.txm.searchengine.cqp.corpus.MainCorpus">
2439
                        </instanceof>
2440
                     </and>
2441
                  </iterate>
2442
               </visibleWhen>
2443
            </command>
2444
            <separator
2445
                  name="org.txm.rcp.corporaview.preferences"
2446
                  visible="true">
2447
            </separator>
2448
            <command
2449
                  commandId="org.txm.rcp.handlers.results.OpenPreferences"
2450
                  icon="icons/functions/prefs.png"
2451
                  label="%command.label.4"
2452
                  style="push">
2453
            </command>
2454

    
2455
      </menuContribution>
2456

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

    
2811
      <command
2812
            categoryId="org.txm.rcp.category.txm"
2813
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2814
            id="org.txm.rcp.commands.ReloadCorporaView"
2815
            name="%command.name.2">
2816
      </command>
2817
      <command
2818
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2819
            id="org.txm.rcp.commands.function.RenameResult"
2820
            name="%command.name.4">
2821
      </command>
2822
      <command
2823
            categoryId="org.txm.rcp.category.txm"
2824
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2825
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2826
            name="%command.name.64">
2827
      </command>
2828
      <command
2829
            defaultHandler="org.txm.rcp.commands.editor.PrintHexacode"
2830
            id="org.txm.rcp.commands.editor.PrintHexacode"
2831
            name="%command.name.93">
2832
      </command>
2833
      <command
2834
            categoryId="org.txm.rcp.category.txm"
2835
            defaultHandler="org.txm.rcp.commands.RecoverCorporaFromInstalls"
2836
            id="org.txm.rcp.commands.RecoverCorporaFromInstalls"
2837
            name="Recover corpora">
2838
      </command>
2839
      <command
2840
            defaultHandler="org.txm.rcp.commands.CleanEditors"
2841
            id="org.txm.rcp.commands.CleanEditors"
2842
            name="Close all editors">
2843
      </command>
2844
      <command
2845
            defaultHandler="org.txm.rcp.commands.QuitHandler"
2846
            description="Close TXM"
2847
            id="org.txm.rcp.commands.QuitHandler"
2848
            name="Quit">
2849
      </command>
2850
   </extension>
2851
   <extension
2852
         id="commands"
2853
         name="%extension.name.1"
2854
         point="org.eclipse.ui.commands">
2855

    
2856
      <command
2857
            defaultHandler="org.txm.rcp.handlers.export.ExportResultData"
2858
            id="org.txm.rcp.commands.function.ExportResult"
2859
            name="%command.name.24">
2860
      </command>
2861
      <command
2862
            defaultHandler="org.txm.rcp.handlers.export.ExportCommand"
2863
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2864
            name="%command.name.35">
2865
      </command>
2866
      <command
2867
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2868
            id="org.txm.rcp.commands.function.ExportSVG"
2869
            name="%command.name.34">
2870
      </command>
2871
      <command
2872
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameter"
2873
            id="org.txm.rcp.handlers.export.ImportResult"
2874
            name="%command.name.39">
2875
      </command>
2876
      <command
2877
            defaultHandler="org.txm.rcp.handlers.export.ImportCommand"
2878
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2879
            name="%command.name.40">
2880
      </command>
2881
      <command
2882
            defaultHandler="org.txm.rcp.commands.ExportXMLTXMFiles"
2883
            id="org.txm.rcp.commands.ExportXMLTXMFiles"
2884
            name="%command.name.65">
2885
      </command>
2886
      <command
2887
            categoryId="org.txm.rcp.category.txm"
2888
            defaultHandler="org.txm.rcp.commands.function.WordPropertiesFromTable"
2889
            id="org.txm.rcp.commands.function.WordPropertiesFromTable"
2890
            name="%command.name.75">
2891
      </command>
2892
      <command
2893
            categoryId="org.txm.rcp.category.txm"
2894
            defaultHandler="org.txm.rcp.commands.function.WordPropertiestoTable"
2895
            id="org.txm.rcp.commands.function.WordPropertiesToTable"
2896
            name="%command.name.76">
2897
      </command>
2898
   </extension>
2899
   <extension
2900
         id="links"
2901
         name="%extension.name.2"
2902
         point="org.eclipse.ui.commands">
2903

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

    
3701
</plugin>