Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (144,42 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>  
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
   <extension-point id="org.txm.rcp.importsection" name="%extension-point.name.1" schema="schema/org.txm.rcp.importsection.exsd"/>
7
 
8
   <extension
9
         id="Application"
10
         point="org.eclipse.core.runtime.applications">
11
      <application
12
            icon="icons/logo/TXM_logo.png">
13
         <run
14
               class="org.txm.rcp.Application">
15
         </run>
16
      </application>
17
   </extension>
18
   <extension
19
         point="org.eclipse.ui.perspectives">
20
      <perspective
21
            class="org.txm.rcp.perspective.TXMPerspective"
22
            icon="icons/objects/corpus.png"
23
            id="org.txm.rcp.perspective.TXMPerspective"
24
            name="%perspective.name">
25
      </perspective>
26
   </extension>
27
   <extension
28
         id="product"
29
         point="org.eclipse.core.runtime.products">
30
      <product
31
            application="org.txm.rcp.Application"
32
            description="%product.description"
33
            name="TXM 0.8.3">
34
         <property
35
               name="appName"
36
               value="TXM 0.8.3">
37
         </property>
38
         <property
39
               name="windowImages"
40
               value="icons/logo/TXM logo 16x16.png,icons/logo/TXM_logo.png,icons/logo/TXM logo 48x48.png,icons/logo/TXM_logo_64x64.png,icons/logo/TXM logo 128x128.png,icons/logo/TXM logo 256x256.png">
41
         </property>
42
         <property
43
               name="startupForegroundColor"
44
               value="000000">
45
         </property>
46
         <property
47
               name="startupMessageRect"
48
               value="13,312,290,20">
49
         </property>
50
         <property
51
               name="aboutImage"
52
               value="icons/logo/about TXM.png">
53
         </property>
54
         <property
55
               name="aboutText"
56
               value="[Contrat d&apos;utilisation du logiciel TXM]&#x0A;&#x0A;TXM 0.8.3 Copyright © 2010-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;">
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="%command.tooltip.56">
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="%command.label.200"
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="%command.tooltip.57">
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="%command.tooltip.59">
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="%command.tooltip.61">
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="%command.tooltip.62">
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
            <menu
2154
                  icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png"
2155
                  id="org.txm.rcp.corporaview.import"
2156
                  label="%menu.label.26">
2157
               <command
2158
                     commandId="org.txm.rcp.handlers.export.ImportResultParameters"
2159
                     icon="icons/functions/import_parameters.png"
2160
                     label="%command.label.102"
2161
                     style="push"
2162
                     tooltip="%command.tooltip.68">
2163
                  <visibleWhen
2164
                        checkEnabled="false">
2165
                     <and>
2166
                        <reference
2167
                              definitionId="OneTXMResultSelected">
2168
                        </reference>
2169
                     </and>
2170
                  </visibleWhen>
2171
               </command>
2172
            </menu>
2173
            
2174
            <separator
2175
                  name="org.txm.rcp.corporaview.corpus"
2176
                  visible="true">
2177
            </separator>
2178
            <separator
2179
                  name="org.txm.rcp.corporaview.corpus.read"
2180
                  visible="true">
2181
            </separator>
2182
            <separator
2183
                  name="org.txm.rcp.corporaview.corpus.manage"
2184
                  visible="true">
2185
            </separator>
2186
            <separator
2187
                  name="org.txm.rcp.corporaview.annotation"
2188
                  visible="true">
2189
            </separator>
2190
            <separator
2191
                  name="org.txm.rcp.corporaview.tools"
2192
                  visible="true">
2193
            </separator>
2194
            <separator
2195
                  name="org.txm.rcp.corporaview.tools.doc"
2196
                  visible="true">
2197
            </separator>
2198
            <separator
2199
                  name="org.txm.rcp.corporaview.tools.stat"
2200
                  visible="true">
2201
            </separator>
2202
            <separator
2203
                  name="org.txm.rcp.corporaview.tools.misc"
2204
                  visible="true">
2205
            </separator>
2206
         <separator
2207
               name="org.txm.rcp.corporaview.text"
2208
               visible="true">
2209
         </separator>
2210
         <separator
2211
               name="org.txm.rcp.corporaview.file"
2212
               visible="true">
2213
         </separator>
2214
            <command
2215
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2216
                  mode="FORCE_TEXT"
2217
                  style="toggle">
2218
               <visibleWhen
2219
                     checkEnabled="false">
2220
                  <and>
2221
                     <reference
2222
                           definitionId="OneTXMResultSelected">
2223
                     </reference>
2224
                     <test
2225
                           property="org.txm.rcp.testers.persistable"
2226
                           value="true">
2227
                     </test>
2228
                     <test
2229
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
2230
                     </test>
2231
                  </and>
2232
               </visibleWhen>
2233
            </command>
2234
            
2235
            <command
2236
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
2237
                  icon="icons/functions/Delete.png"
2238
                  style="push">
2239
               <visibleWhen
2240
                     checkEnabled="false">
2241
                  <or>
2242
                     <reference
2243
                           definitionId="OneTXMResultSelected">
2244
                     </reference>
2245
                  </or>
2246
               </visibleWhen>
2247
            </command>
2248
            <command
2249
                  commandId="org.txm.rcp.commands.function.RenameResult"
2250
                  label="%command.label.26"
2251
                  style="push">
2252
               <visibleWhen
2253
                     checkEnabled="false">
2254
                  <reference
2255
                        definitionId="OneTXMResultSelected">
2256
                  </reference>
2257
               </visibleWhen>
2258
            </command>
2259
            <command
2260
                  commandId="org.txm.rcp.handlers.results.CopyTXMResult"
2261
                  label="%command.label.196"
2262
                  style="push">
2263
               <visibleWhen
2264
                     checkEnabled="false">
2265
                  <and>
2266
                     <reference
2267
                           definitionId="OneTXMResultSelected">
2268
                     </reference>
2269
                     <not>
2270
                        <reference
2271
                              definitionId="OneMainCorpusSelected">
2272
                        </reference>
2273
                     </not>
2274
                     <reference
2275
                           definitionId="ExpertEnabled">
2276
                     </reference>
2277
                  </and>
2278
               </visibleWhen>
2279
            </command>
2280
            <command
2281
                  commandId="org.txm.rcp.handlers.results.CopyTXMResultTree"
2282
                  label="%command.label.197"
2283
                  style="push">
2284
               <visibleWhen
2285
                     checkEnabled="false">
2286
                  <and>
2287
                     <reference
2288
                           definitionId="OneTXMResultSelected">
2289
                     </reference>
2290
                     <not>
2291
                        <reference
2292
                              definitionId="OneMainCorpusSelected">
2293
                        </reference>
2294
                     </not>
2295
                     <reference
2296
                           definitionId="ExpertEnabled">
2297
                     </reference>
2298
                  </and>
2299
               </visibleWhen>
2300
            </command>
2301
            <command
2302
                  commandId="org.txm.rcp.handlers.results.CutTXMResultTree"
2303
                  label="%command.label.198"
2304
                  style="push">
2305
               <visibleWhen
2306
                     checkEnabled="false">
2307
                  <and>
2308
                     <reference
2309
                           definitionId="OneTXMResultSelected">
2310
                     </reference>
2311
                     <not>
2312
                        <reference
2313
                              definitionId="OneMainCorpusSelected">
2314
                        </reference>
2315
                     </not>
2316
                     <reference
2317
                           definitionId="ExpertEnabled">
2318
                     </reference>
2319
                  </and>
2320
               </visibleWhen>
2321
            </command>
2322
            <command
2323
                  commandId="org.txm.rcp.handlers.results.PasteTXMResultTree"
2324
                  label="%command.label.199"
2325
                  style="push">
2326
               <visibleWhen
2327
                     checkEnabled="false">
2328
                  <and>
2329
                     <reference
2330
                           definitionId="OneTXMResultSelected">
2331
                     </reference>
2332
                     <reference
2333
                           definitionId="ExpertEnabled">
2334
                     </reference>
2335
                  </and>
2336
               </visibleWhen>
2337
            </command>
2338
            <command
2339
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
2340
                  label="%command.label.372"
2341
                  style="push">
2342
               <visibleWhen
2343
                     checkEnabled="false">
2344
                  <and>
2345
                     <reference
2346
                           definitionId="OneTXMResultSelected">
2347
                     </reference>
2348
                     <not>
2349
                        <reference
2350
                              definitionId="OneMainCorpusSelected">
2351
                        </reference>
2352
                     </not>
2353
                  </and>
2354
               </visibleWhen>
2355
            </command>
2356
            <command
2357
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
2358
                  label="%command.label.85"
2359
                  style="push">
2360
               <visibleWhen
2361
                     checkEnabled="false">
2362
                  <and>
2363
                     <reference
2364
                           definitionId="OneTXMResultSelected">
2365
                     </reference>
2366
                     <not>
2367
                        <reference
2368
                              definitionId="OneMainCorpusSelected">
2369
                        </reference>
2370
                     </not>
2371
                  </and>
2372
               </visibleWhen>
2373
            </command>
2374
            <command
2375
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
2376
                  label="%command.label.91"
2377
                  style="push">
2378
               <visibleWhen
2379
                     checkEnabled="false">
2380
                  <and>
2381
                     <reference
2382
                           definitionId="OneTXMResultSelected">
2383
                     </reference>
2384
                     <test
2385
                           property="org.txm.rcp.testers.IsParentHidden">
2386
                     </test>
2387
                  </and>
2388
               </visibleWhen>
2389
            </command>
2390
            <command
2391
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
2392
                  label="%command.label.95"
2393
                  style="push">
2394
               <visibleWhen
2395
                     checkEnabled="false">
2396
                  <and>
2397
                     <reference
2398
                           definitionId="OneTXMResultSelected">
2399
                     </reference>
2400
                     <test
2401
                           property="org.txm.rcp.testers.IsParentVisible"
2402
                           value="true">
2403
                     </test>
2404
                  </and>
2405
               </visibleWhen>
2406
            </command>
2407
            <command
2408
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
2409
                  icon="icons/functions/update.png"
2410
                  label="%command.name.98"
2411
                  style="push">
2412
               <visibleWhen
2413
                     checkEnabled="false">
2414
                  <or>
2415
                     <reference
2416
                           definitionId="OneMainCorpusSelected">
2417
                     </reference>
2418
                  </or>
2419
               </visibleWhen>
2420
            </command>
2421
            <command
2422
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
2423
                  label="%command.label.97"
2424
                  style="push">
2425
               <visibleWhen
2426
                     checkEnabled="false">
2427
                  <or>
2428
                     <reference
2429
                           definitionId="OneIProjectSelected">
2430
                     </reference>
2431
                  </or>
2432
               </visibleWhen>
2433
            </command>
2434
            <command
2435
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
2436
                  label="%command.label.99"
2437
                  style="push">
2438
               <visibleWhen
2439
                     checkEnabled="false">
2440
                  <iterate>
2441
                     <and>
2442
                        <instanceof
2443
                              value="org.txm.searchengine.cqp.corpus.MainCorpus">
2444
                        </instanceof>
2445
                     </and>
2446
                  </iterate>
2447
               </visibleWhen>
2448
            </command>
2449
            <separator
2450
                  name="org.txm.rcp.corporaview.preferences"
2451
                  visible="true">
2452
            </separator>
2453
            <command
2454
                  commandId="org.txm.rcp.handlers.results.OpenPreferences"
2455
                  icon="icons/functions/prefs.png"
2456
                  label="%command.label.4"
2457
                  style="push">
2458
            </command>
2459

    
2460
      </menuContribution>
2461

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

    
2825
      <command
2826
            categoryId="org.txm.rcp.category.txm"
2827
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2828
            id="org.txm.rcp.commands.ReloadCorporaView"
2829
            name="%command.name.2">
2830
      </command>
2831
      <command
2832
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2833
            id="org.txm.rcp.commands.function.RenameResult"
2834
            name="%command.name.4">
2835
      </command>
2836
      <command
2837
            categoryId="org.txm.rcp.category.txm"
2838
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2839
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2840
            name="%command.name.64">
2841
      </command>
2842
      <command
2843
            defaultHandler="org.txm.rcp.commands.editor.PrintHexacode"
2844
            id="org.txm.rcp.commands.editor.PrintHexacode"
2845
            name="%command.name.93">
2846
      </command>
2847
      <command
2848
            categoryId="org.txm.rcp.category.txm"
2849
            defaultHandler="org.txm.rcp.commands.RecoverCorporaFromInstalls"
2850
            id="org.txm.rcp.commands.RecoverCorporaFromInstalls"
2851
            name="%command.name.38">
2852
      </command>
2853
      <command
2854
            defaultHandler="org.txm.rcp.commands.CleanEditors"
2855
            id="org.txm.rcp.commands.CleanEditors"
2856
            name="%command.name.113">
2857
      </command>
2858
      <command
2859
            defaultHandler="org.txm.rcp.commands.QuitHandler"
2860
            description="%command.description.9"
2861
            id="org.txm.rcp.commands.QuitHandler"
2862
            name="%command.name.114">
2863
      </command>
2864
      <command
2865
            defaultHandler="org.txm.rcp.commands.function.RefreshCorporaView"
2866
            id="org.txm.rcp.commands.function.RefreshCorporaView"
2867
            name="Refresh corpora view">
2868
      </command>
2869
   </extension>
2870
   <extension
2871
         id="commands"
2872
         name="%extension.name.1"
2873
         point="org.eclipse.ui.commands">
2874

    
2875
      <command
2876
            defaultHandler="org.txm.rcp.handlers.export.ExportResultData"
2877
            id="org.txm.rcp.commands.function.ExportResult"
2878
            name="%command.name.24">
2879
      </command>
2880
      <command
2881
            defaultHandler="org.txm.rcp.handlers.export.ExportResultFromEditor"
2882
            id="org.txm.rcp.commands.function.ExportResultFromEditor"
2883
            name="%command.name.115">
2884
      </command>
2885
      <command
2886
            defaultHandler="org.txm.rcp.handlers.export.ExportCommand"
2887
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2888
            name="%command.name.35">
2889
      </command>
2890
      <command
2891
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2892
            id="org.txm.rcp.commands.function.ExportSVG"
2893
            name="%command.name.34">
2894
      </command>
2895
      <command
2896
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameter"
2897
            id="org.txm.rcp.handlers.export.ImportResult"
2898
            name="%command.name.39">
2899
      </command>
2900
      <command
2901
            defaultHandler="org.txm.rcp.handlers.export.ImportCommand"
2902
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2903
            name="%command.name.40">
2904
      </command>
2905
      <command
2906
            defaultHandler="org.txm.rcp.commands.ExportXMLTXMFiles"
2907
            id="org.txm.rcp.commands.ExportXMLTXMFiles"
2908
            name="%command.name.65">
2909
      </command>
2910
      <command
2911
            categoryId="org.txm.rcp.category.txm"
2912
            defaultHandler="org.txm.rcp.commands.function.WordPropertiesFromTable"
2913
            id="org.txm.rcp.commands.function.WordPropertiesFromTable"
2914
            name="%command.name.75">
2915
      </command>
2916
      <command
2917
            categoryId="org.txm.rcp.category.txm"
2918
            defaultHandler="org.txm.rcp.commands.function.WordPropertiestoTable"
2919
            id="org.txm.rcp.commands.function.WordPropertiesToTable"
2920
            name="%command.name.76">
2921
      </command>
2922
   </extension>
2923
   <extension
2924
         id="links"
2925
         name="%extension.name.2"
2926
         point="org.eclipse.ui.commands">
2927

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

    
3725
</plugin>