Statistiques
| Révision :

root / tmp / org.txm.rcp / plugin.xml @ 3149

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

    
222

    
223

    
224

    
225

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

    
1513
            <command
1514
                  commandId="org.eclipse.ui.window.preferences"
1515
                  icon="icons/functions/prefs.png"
1516
                  label="%command.label.4"
1517
                  style="push"
1518
                  tooltip="%command.tooltip.0">
1519
            </command>
1520
            <separator
1521
                  name="org.txm.rcp.toolbars.tools.separators.extensions"
1522
                  visible="true">
1523
            </separator>
1524
         </toolbar>
1525
         <separator
1526
               name="org.txm.rcp.toolbar.separator2"
1527
               visible="true">
1528
         </separator>
1529
         <toolbar
1530
               id="org.txm.rcp.toolbartext">
1531
            <command
1532
                  commandId="org.txm.rcp.commands.CreateFile"
1533
                  icon="icons/functions/page_white_add.png"
1534
                  label="%command.label.158"
1535
                  tooltip="%command.tooltip.34">
1536
            </command>
1537
            <command
1538
                  commandId="org.txm.rcp.handlers.files.EditFile"
1539
                  icon="icons/functions/open.png"
1540
                  label="%command.label.45"
1541
                  style="push">
1542
            </command>
1543
            <command
1544
                  commandId="org.eclipse.ui.file.save"
1545
                  icon="icons/functions/save.png"
1546
                  style="push">
1547
               <visibleWhen
1548
                     checkEnabled="false">
1549
                  <reference
1550
                        definitionId="TextEditorActive">
1551
                  </reference>
1552
               </visibleWhen>
1553
            </command>
1554
            <command
1555
                  commandId="org.txm.rcp.commands.editor.SaveAs"
1556
                  icon="icons/functions/saveas.png">
1557
               <visibleWhen
1558
                     checkEnabled="false">
1559
                  <reference
1560
                        definitionId="TextEditorActive">
1561
                  </reference>
1562
               </visibleWhen>
1563
            </command>
1564
            <separator
1565
                  name="org.txm.rcp.separator3"
1566
                  visible="true">
1567
            </separator>
1568
            <command
1569
                  commandId="org.eclipse.ui.edit.cut"
1570
                  label="%command.label.18">
1571
               <visibleWhen
1572
                     checkEnabled="false">
1573
                  <reference
1574
                        definitionId="TextEditorActive">
1575
                  </reference>
1576
               </visibleWhen>
1577
            </command>
1578
            <command
1579
                  commandId="org.eclipse.ui.edit.copy"
1580
                  label="%command.label.19">
1581
               <visibleWhen
1582
                     checkEnabled="false">
1583
                  <reference
1584
                        definitionId="TextEditorActive">
1585
                  </reference>
1586
               </visibleWhen>
1587
            </command>
1588
            <command
1589
                  commandId="org.eclipse.ui.edit.paste"
1590
                  label="%command.label.20">
1591
               <visibleWhen
1592
                     checkEnabled="false">
1593
                  <reference
1594
                        definitionId="TextEditorActive">
1595
                  </reference>
1596
               </visibleWhen>
1597
            </command>
1598
            <command
1599
                  commandId="org.eclipse.ui.edit.delete"
1600
                  label="%command.label.27">
1601
               <visibleWhen
1602
                     checkEnabled="false">
1603
                  <reference
1604
                        definitionId="TextEditorActive">
1605
                  </reference>
1606
               </visibleWhen>
1607
            </command>
1608
            <command
1609
                  commandId="org.eclipse.ui.edit.undo"
1610
                  label="%command.label.16">
1611
               <visibleWhen
1612
                     checkEnabled="false">
1613
                  <reference
1614
                        definitionId="TextEditorActive">
1615
                  </reference>
1616
               </visibleWhen>
1617
            </command>
1618
            <command
1619
                  commandId="org.eclipse.ui.edit.redo"
1620
                  label="%command.label.17">
1621
               <visibleWhen
1622
                     checkEnabled="false">
1623
                  <reference
1624
                        definitionId="TextEditorActive">
1625
                  </reference>
1626
               </visibleWhen>
1627
            </command>
1628
            <command
1629
                  commandId="org.eclipse.ui.edit.selectAll"
1630
                  icon="icons/functions/page_allgreen.png"
1631
                  label="%command.label.165">
1632
               <visibleWhen
1633
                     checkEnabled="false">
1634
                  <reference
1635
                        definitionId="TextEditorActive">
1636
                  </reference>
1637
               </visibleWhen>
1638
            </command>
1639
            <separator
1640
                  name="org.txm.rcp.separator1"
1641
                  visible="true">
1642
            </separator>
1643
            <command
1644
                  commandId="org.eclipse.ui.edit.findReplace"
1645
                  icon="icons/functions/find.png"
1646
                  label="%command.label.159">
1647
               <visibleWhen
1648
                     checkEnabled="false">
1649
                  <reference
1650
                        definitionId="TextEditorActive">
1651
                  </reference>
1652
               </visibleWhen>
1653
            </command>
1654
            <command
1655
                  commandId="org.eclipse.ui.edit.findPrevious"
1656
                  icon="icons/functions/find_previous.png"
1657
                  label="%command.label.160"
1658
                  style="push">
1659
               <visibleWhen
1660
                     checkEnabled="false">
1661
                  <reference
1662
                        definitionId="TextEditorActive">
1663
                  </reference>
1664
               </visibleWhen>
1665
            </command>
1666
            <command
1667
                  commandId="org.eclipse.ui.edit.findNext"
1668
                  icon="icons/functions/find_next.png"
1669
                  label="%command.label.161"
1670
                  style="push">
1671
               <visibleWhen
1672
                     checkEnabled="false">
1673
                  <reference
1674
                        definitionId="TextEditorActive">
1675
                  </reference>
1676
               </visibleWhen>
1677
            </command>
1678
            <command
1679
                  commandId="org.eclipse.ui.edit.findIncremental"
1680
                  icon="icons/functions/find_incremental.png"
1681
                  label="%command.label.162"
1682
                  style="push">
1683
               <visibleWhen
1684
                     checkEnabled="false">
1685
                  <reference
1686
                        definitionId="TextEditorActive">
1687
                  </reference>
1688
               </visibleWhen>
1689
            </command>
1690
            <command
1691
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
1692
                  icon="icons/functions/find_incremental_reverse.png"
1693
                  label="%command.label.163"
1694
                  style="push">
1695
               <visibleWhen
1696
                     checkEnabled="false">
1697
                  <reference
1698
                        definitionId="TextEditorActive">
1699
                  </reference>
1700
               </visibleWhen>
1701
            </command>
1702
            <separator
1703
                  name="org.txm.rcp.separator2"
1704
                  visible="true">
1705
            </separator>
1706
            <command
1707
                  commandId="org.eclipse.ui.edit.text.goto.line"
1708
                  icon="icons/functions/goto.png"
1709
                  label="%command.label.166"
1710
                  style="push">
1711
               <visibleWhen
1712
                     checkEnabled="false">
1713
                  <reference
1714
                        definitionId="TextEditorActive">
1715
                  </reference>
1716
               </visibleWhen>
1717
            </command>
1718
            <command
1719
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
1720
                  icon="icons/functions/lines_number.png"
1721
                  label="%command.label.168"
1722
                  style="push">
1723
               <visibleWhen
1724
                     checkEnabled="false">
1725
                  <reference
1726
                        definitionId="TextEditorActive">
1727
                  </reference>
1728
               </visibleWhen>
1729
            </command>
1730
            <command
1731
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
1732
                  icon="icons/functions/paragraph.png"
1733
                  label="%command.label.169"
1734
                  style="push"
1735
                  tooltip="%command.tooltip.35">
1736
               <visibleWhen
1737
                     checkEnabled="false">
1738
                  <reference
1739
                        definitionId="TextEditorActive">
1740
                  </reference>
1741
               </visibleWhen>
1742
            </command>
1743
            <command
1744
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
1745
                  icon="icons/functions/world.png"
1746
                  label="%command.label.167"
1747
                  style="push">
1748
               <visibleWhen
1749
                     checkEnabled="false">
1750
                  <reference
1751
                        definitionId="TextEditorActive">
1752
                  </reference>
1753
               </visibleWhen>
1754
            </command>
1755
            <command
1756
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
1757
                  icon="icons/functions/encoding.png"
1758
                  label="%command.label.30">
1759
               <visibleWhen
1760
                     checkEnabled="false">
1761
                  <reference
1762
                        definitionId="TextEditorActive">
1763
                  </reference>
1764
               </visibleWhen>
1765
            </command>
1766
            <command
1767
                  commandId="org.eclipse.ui.file.revert"
1768
                  icon="icons/functions/page_refresh.png"
1769
                  label="%command.label.164"
1770
                  style="push">
1771
               <visibleWhen
1772
                     checkEnabled="false">
1773
                  <reference
1774
                        definitionId="TextEditorActive">
1775
                  </reference>
1776
               </visibleWhen>
1777
            </command>
1778
         </toolbar>
1779
         <separator
1780
               name="org.txm.rcp.toolbar.separator3"
1781
               visible="true">
1782
         </separator>
1783
         <toolbar
1784
               id="org.txm.rcp.toolbarscript">
1785
            <command
1786
                  commandId="org.txm.rcp.commands.ExecuteScript"
1787
                  icon="icons/functions/run.png"
1788
                  label="%command.label.170"
1789
                  style="push"
1790
                  tooltip="%command.tooltip.14">
1791
               <visibleWhen
1792
                     checkEnabled="false">
1793
                  <reference
1794
                        definitionId="TextEditorActive">
1795
                  </reference>
1796
               </visibleWhen>
1797
            </command>
1798
            <command
1799
                  commandId="org.txm.rcp.commands.ExecuteText"
1800
                  icon="icons/functions/page_select_go.png"
1801
                  label="%command.label.171"
1802
                  style="push"
1803
                  tooltip="%command.tooltip.36">
1804
               <visibleWhen
1805
                     checkEnabled="false">
1806
                  <reference
1807
                        definitionId="TextEditorActive">
1808
                  </reference>
1809
               </visibleWhen>
1810
            </command>
1811
            <command
1812
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
1813
                  icon="icons/functions/page_go.png"
1814
                  label="%command.label.172"
1815
                  style="push"
1816
                  tooltip="%command.tooltip.37">
1817
               <visibleWhen
1818
                     checkEnabled="false">
1819
                  <reference
1820
                        definitionId="TextEditorActive">
1821
                  </reference>
1822
               </visibleWhen>
1823
            </command>
1824
            <command
1825
                  commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
1826
                  icon="icons/functions/rerun.png"
1827
                  label="%command.label.40"
1828
                  style="push"
1829
                  tooltip="%command.tooltip.50">
1830
            </command>
1831
         </toolbar>
1832
         <separator
1833
               name="org.txm.rcp.toolbar.separator4"
1834
               visible="true">
1835
         </separator>
1836
          <toolbar
1837
               id="org.txm.rcp.toolbarfile">
1838
         </toolbar>
1839
      </menuContribution>
1840
      <menuContribution
1841
            locationURI="popup:org.txm.rcp.views.fileexplorer.Explorer">
1842
         <command
1843
               commandId="org.txm.rcp.commands.CreateFile"
1844
               label="%command.label.122"
1845
               style="push"
1846
               tooltip="%command.tooltip.75">
1847
            <visibleWhen
1848
                  checkEnabled="false">
1849
               <reference
1850
                     definitionId="OneFileSelected">
1851
               </reference>
1852
            </visibleWhen>
1853
         </command>
1854
         <command
1855
               commandId="org.txm.rcp.commands.CreateFolder"
1856
               label="%command.label.123"
1857
               style="push"
1858
               tooltip="%command.tooltip.76">
1859
            <visibleWhen
1860
                  checkEnabled="false">
1861
               <reference
1862
                     definitionId="OneFileSelected">
1863
               </reference>
1864
            </visibleWhen>
1865
         </command>
1866
         <command
1867
               commandId="org.txm.rcp.commands.EditSelectedFile"
1868
               label="%command.label.186"
1869
               style="push"
1870
               tooltip="%command.tooltip.17">
1871
            <visibleWhen
1872
                  checkEnabled="false">
1873
               <reference
1874
                     definitionId="OneFileSelected">
1875
               </reference>
1876
            </visibleWhen>
1877
         </command>
1878
         <command
1879
               commandId="org.txm.rcp.commands.OpenBrowser"
1880
               label="%command.label"
1881
               style="push"
1882
               tooltip="%command.tooltip.18">
1883
            <visibleWhen
1884
                  checkEnabled="false">
1885
               <reference
1886
                     definitionId="OneFileSelected">
1887
               </reference>
1888
            </visibleWhen>
1889
         </command>
1890
         <command
1891
               commandId="org.txm.rcp.commands.ExecuteScript"
1892
               label="%command.label.23"
1893
               style="push"
1894
               tooltip="%command.tooltip.19">
1895
            <visibleWhen
1896
                  checkEnabled="false">
1897
               <reference
1898
                     definitionId="OneFileSelected">
1899
               </reference>
1900
            </visibleWhen>
1901
         </command>
1902
         <command
1903
               commandId="org.txm.rcp.commands.ShowSelected"
1904
               style="push">
1905
         </command>
1906
         <command
1907
               commandId="org.txm.rcp.commands.RenameFile"
1908
               style="push">
1909
            <visibleWhen
1910
                  checkEnabled="false">
1911
               <reference
1912
                     definitionId="OneFileSelected">
1913
               </reference>
1914
            </visibleWhen>
1915
         </command>
1916
         <command
1917
               commandId="org.txm.rcp.commands.DeleteFile"
1918
               style="push"
1919
               tooltip="%command.tooltip.15">
1920
            <visibleWhen
1921
                  checkEnabled="false">
1922
               <reference
1923
                     definitionId="OneFileSelected">
1924
               </reference>
1925
            </visibleWhen>
1926
         </command>
1927
         <command
1928
               commandId="org.txm.rcp.commands.CopyFile"
1929
               style="push"
1930
               tooltip="%command.tooltip.16">
1931
            <visibleWhen
1932
                  checkEnabled="false">
1933
               <reference
1934
                     definitionId="OneFileSelected">
1935
               </reference>
1936
            </visibleWhen>
1937
         </command>
1938
         <command
1939
               commandId="org.txm.rcp.commands.CutFile"
1940
               style="push"
1941
               tooltip="%command.tooltip.20">
1942
            <visibleWhen
1943
                  checkEnabled="false">
1944
               <reference
1945
                     definitionId="OneFileSelected">
1946
               </reference>
1947
            </visibleWhen>
1948
         </command>
1949
         <command
1950
               commandId="org.txm.rcp.commands.PasteFile"
1951
               style="push"
1952
               tooltip="%command.tooltip.21">
1953
            <visibleWhen
1954
                  checkEnabled="false">
1955
               <reference
1956
                     definitionId="OneFileSelected">
1957
               </reference>
1958
            </visibleWhen>
1959
         </command>
1960
      </menuContribution>
1961
      <menuContribution
1962
            locationURI="popup:#TextEditorContext">
1963
         <menu
1964
               label="%menu.label.10">
1965
            <command
1966
                  commandId="org.txm.rcp.commands.ExecuteGroovyText"
1967
                  label="%command.label.25"
1968
                  style="push">
1969
            </command>
1970
            <command
1971
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovy"
1972
                  label="%command.name.21"
1973
                  style="push">
1974
            </command>
1975
            <command
1976
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
1977
                  label="%command.label.156"
1978
                  style="push">
1979
            </command>
1980
         </menu>
1981
      </menuContribution>
1982
      <menuContribution
1983
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
1984
         <separator
1985
               name="org.txm.rcp.corporaview.begin"
1986
               visible="true"/>
1987
               <menu
1988
                     icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/export_wiz.png"
1989
                     id="org.txm.rcp.corporaview.export"
1990
                     label="%menu.label.13">
1991
                  <command
1992
                        commandId="org.txm.rcp.commands.function.ExportResult"
1993
                        icon="icons/functions/export_data.png"
1994
                        label="%command.label.51"
1995
                        style="push">
1996
                     <visibleWhen
1997
                           checkEnabled="false">
1998
                        <and>
1999
                           <reference
2000
                                 definitionId="OneTXMResultSelected">
2001
                           </reference>
2002
                           <not>
2003
                              <or>
2004
                                 <reference
2005
                                       definitionId="OnePartitionSelected">
2006
                                 </reference>
2007
                                 <reference
2008
                                       definitionId="OneCorpusSelected">
2009
                                 </reference>
2010
                              </or>
2011
                           </not>
2012
                        </and>
2013
                     </visibleWhen>
2014
                  </command>
2015
               </menu>
2016
            
2017
            <separator
2018
                  name="org.txm.rcp.corporaview.corpus"
2019
                  visible="true">
2020
            </separator>
2021
            <separator
2022
                  name="org.txm.rcp.corporaview.corpus.read"
2023
                  visible="true">
2024
            </separator>
2025
            <separator
2026
                  name="org.txm.rcp.corporaview.corpus.manage"
2027
                  visible="true">
2028
            </separator>
2029
            <separator
2030
                  name="org.txm.rcp.corporaview.annotation"
2031
                  visible="true">
2032
            </separator>
2033
            <separator
2034
                  name="org.txm.rcp.corporaview.tools"
2035
                  visible="true">
2036
            </separator>
2037
            <separator
2038
                  name="org.txm.rcp.corporaview.tools.doc"
2039
                  visible="true">
2040
            </separator>
2041
            <separator
2042
                  name="org.txm.rcp.corporaview.tools.stat"
2043
                  visible="true">
2044
            </separator>
2045
            <separator
2046
                  name="org.txm.rcp.corporaview.tools.misc"
2047
                  visible="true">
2048
            </separator>
2049
         <separator
2050
               name="org.txm.rcp.corporaview.text"
2051
               visible="true">
2052
         </separator>
2053
         <separator
2054
               name="org.txm.rcp.corporaview.file"
2055
               visible="true">
2056
         </separator>
2057
            <command
2058
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2059
                  mode="FORCE_TEXT"
2060
                  style="toggle">
2061
               <visibleWhen
2062
                     checkEnabled="false">
2063
                  <and>
2064
                     <reference
2065
                           definitionId="OneTXMResultSelected">
2066
                     </reference>
2067
                     <test
2068
                           property="org.txm.rcp.testers.persistable"
2069
                           value="true">
2070
                     </test>
2071
                     <test
2072
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
2073
                     </test>
2074
                  </and>
2075
               </visibleWhen>
2076
            </command>
2077
            <command
2078
                  commandId="org.txm.rcp.commands.function.RenameResult"
2079
                  label="%command.label.26"
2080
                  style="push">
2081
               <visibleWhen
2082
                     checkEnabled="false">
2083
                  <reference
2084
                        definitionId="OneTXMResultSelected">
2085
                  </reference>
2086
               </visibleWhen>
2087
            </command>
2088
            
2089
            <command
2090
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
2091
                  icon="icons/functions/Delete.png"
2092
                  style="push">
2093
               <visibleWhen
2094
                     checkEnabled="false">
2095
                  <or>
2096
                     <reference
2097
                           definitionId="OneTXMResultSelected">
2098
                     </reference>
2099
                  </or>
2100
               </visibleWhen>
2101
            </command>
2102
            <command
2103
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
2104
                  label="%command.label.372"
2105
                  style="push">
2106
               <visibleWhen
2107
                     checkEnabled="false">
2108
                  <and>
2109
                     <reference
2110
                           definitionId="OneTXMResultSelected">
2111
                     </reference>
2112
                     <not>
2113
                        <reference
2114
                              definitionId="OneMainCorpusSelected">
2115
                        </reference>
2116
                     </not>
2117
                  </and>
2118
               </visibleWhen>
2119
            </command>
2120
            <command
2121
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
2122
                  label="%command.label.85"
2123
                  style="push">
2124
               <visibleWhen
2125
                     checkEnabled="false">
2126
                  <and>
2127
                     <reference
2128
                           definitionId="OneTXMResultSelected">
2129
                     </reference>
2130
                     <not>
2131
                        <reference
2132
                              definitionId="OneMainCorpusSelected">
2133
                        </reference>
2134
                     </not>
2135
                  </and>
2136
               </visibleWhen>
2137
            </command>
2138
            <command
2139
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
2140
                  label="%command.label.91"
2141
                  style="push">
2142
               <visibleWhen
2143
                     checkEnabled="false">
2144
                  <and>
2145
                     <reference
2146
                           definitionId="OneTXMResultSelected">
2147
                     </reference>
2148
                     <test
2149
                           property="org.txm.rcp.testers.IsParentHidden">
2150
                     </test>
2151
                  </and>
2152
               </visibleWhen>
2153
            </command>
2154
            <command
2155
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
2156
                  label="%command.label.95"
2157
                  style="push">
2158
               <visibleWhen
2159
                     checkEnabled="false">
2160
                  <and>
2161
                     <reference
2162
                           definitionId="OneTXMResultSelected">
2163
                     </reference>
2164
                     <test
2165
                           property="org.txm.rcp.testers.IsParentVisible"
2166
                           value="true">
2167
                     </test>
2168
                  </and>
2169
               </visibleWhen>
2170
            </command>
2171
            <command
2172
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
2173
                  label="Open corpus"
2174
                  style="push">
2175
               <visibleWhen
2176
                     checkEnabled="false">
2177
                  <or>
2178
                     <reference
2179
                           definitionId="OneIProjectSelected">
2180
                     </reference>
2181
                  </or>
2182
               </visibleWhen>
2183
            </command>
2184
            <command
2185
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
2186
                  label="Close corpus"
2187
                  style="push">
2188
               <visibleWhen
2189
                     checkEnabled="false">
2190
                  <or>
2191
                     <reference
2192
                           definitionId="OneMainCorpusSelected">
2193
                     </reference>
2194
                  </or>
2195
               </visibleWhen>
2196
            </command>
2197
            <separator
2198
                  name="org.txm.rcp.corporaview.preferences"
2199
                  visible="true">
2200
            </separator>
2201
            <command
2202
                  commandId="org.txm.rcp.handlers.results.OpenPreferences"
2203
                  icon="icons/functions/prefs.png"
2204
                  label="%command.label.4"
2205
                  style="push">
2206
            </command>
2207

    
2208
      </menuContribution>
2209

    
2210
      <menuContribution
2211
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2212
         <command
2213
               commandId="org.txm.rcp.commands.function.ExportSVG"
2214
               label="%command.label.101"
2215
               style="push"
2216
               tooltip="%command.tooltip.60">
2217
            <visibleWhen
2218
                  checkEnabled="false">
2219
               <reference
2220
                     definitionId="SVGEditorActive">
2221
               </reference>
2222
            </visibleWhen>
2223
         </command>
2224
      </menuContribution>
2225
      <menuContribution
2226
            locationURI="popup:org.txm.rcp.views.QueriesView">
2227
         <command
2228
               commandId="org.txm.rcp.commands.queryview.Copy"
2229
               label="%command.label.129"
2230
               style="push"
2231
               tooltip="%command.tooltip.81">
2232
            <visibleWhen
2233
                  checkEnabled="false">
2234
               <reference
2235
                     definitionId="OneQueryLogSelected">
2236
               </reference>
2237
            </visibleWhen>
2238
         </command>
2239
         <command
2240
               commandId="org.txm.rcp.commands.queryview.Paste"
2241
               label="%command.label.130"
2242
               style="push"
2243
               tooltip="%command.tooltip.82">
2244
            <visibleWhen
2245
                  checkEnabled="false">
2246
               <reference
2247
                     definitionId="OneBaseSelected">
2248
               </reference>
2249
            </visibleWhen>
2250
         </command>
2251
         <command
2252
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2253
               icon="icons/functions/Delete.png"
2254
               label="%command.label.65"
2255
               style="push"
2256
               tooltip="%command.tooltip.33">
2257
            <visibleWhen
2258
                  checkEnabled="false">
2259
               <reference
2260
                     definitionId="OneQueryLogSelected">
2261
               </reference>
2262
            </visibleWhen>
2263
         </command>
2264
      </menuContribution>
2265
      <menuContribution
2266
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2267
         <command
2268
               commandId="org.txm.rcp.commands.ExecuteMacro"
2269
               label="%command.label.23"
2270
               style="push"
2271
               tooltip="%command.tooltip.19">
2272
            <visibleWhen
2273
                  checkEnabled="false">
2274
               <reference
2275
                     definitionId="OneFileSelected">
2276
               </reference>
2277
            </visibleWhen>
2278
         </command>
2279
         <command
2280
               commandId="org.txm.rcp.commands.EditSelectedFile"
2281
               label="%command.label.186"
2282
               style="push"
2283
               tooltip="%command.tooltip.86">
2284
            <visibleWhen
2285
                  checkEnabled="false">
2286
               <reference
2287
                     definitionId="OneFileSelected">
2288
               </reference>
2289
            </visibleWhen>
2290
         </command>
2291
         <command
2292
               commandId="org.txm.rcp.commands.CreateMacro"
2293
               label="%command.label.187"
2294
               style="push"
2295
               tooltip="%command.tooltip.92">
2296
            <visibleWhen
2297
                  checkEnabled="false">
2298
               <reference
2299
                     definitionId="OneFileSelected">
2300
               </reference>
2301
            </visibleWhen>
2302
         </command>
2303
         <command
2304
               commandId="org.txm.rcp.commands.CreateFolder"
2305
               label="%command.label.123"
2306
               style="push"
2307
               tooltip="%command.tooltip.76">
2308
            <visibleWhen
2309
                  checkEnabled="false">
2310
               <reference
2311
                     definitionId="OneFileSelected">
2312
               </reference>
2313
            </visibleWhen>
2314
         </command>
2315
         <command
2316
               commandId="org.txm.rcp.commands.ShowSelected"
2317
               style="push">
2318
         </command>
2319
         <command
2320
               commandId="org.txm.rcp.commands.RenameFile"
2321
               style="push">
2322
            <visibleWhen
2323
                  checkEnabled="false">
2324
               <reference
2325
                     definitionId="OneFileSelected">
2326
               </reference>
2327
            </visibleWhen>
2328
         </command>
2329
         <command
2330
               commandId="org.txm.rcp.commands.DeleteFile"
2331
               style="push"
2332
               tooltip="%command.tooltip.15">
2333
            <visibleWhen
2334
                  checkEnabled="false">
2335
               <reference
2336
                     definitionId="OneFileSelected">
2337
               </reference>
2338
            </visibleWhen>
2339
         </command>
2340
         <command
2341
               commandId="org.txm.rcp.commands.CopyFile"
2342
               style="push"
2343
               tooltip="%command.tooltip.16">
2344
            <visibleWhen
2345
                  checkEnabled="false">
2346
               <reference
2347
                     definitionId="OneFileSelected">
2348
               </reference>
2349
            </visibleWhen>
2350
         </command>
2351
         <command
2352
               commandId="org.txm.rcp.commands.CutFile"
2353
               style="push"
2354
               tooltip="%command.tooltip.20">
2355
            <visibleWhen
2356
                  checkEnabled="false">
2357
               <reference
2358
                     definitionId="OneFileSelected">
2359
               </reference>
2360
            </visibleWhen>
2361
         </command>
2362
         <command
2363
               commandId="org.txm.rcp.commands.PasteFile"
2364
               style="push"
2365
               tooltip="%command.tooltip.21">
2366
            <visibleWhen
2367
                  checkEnabled="false">
2368
               <reference
2369
                     definitionId="OneFileSelected">
2370
               </reference>
2371
            </visibleWhen>
2372
         </command>
2373
      </menuContribution>
2374
      <menuContribution
2375
            allPopups="true"
2376
            locationURI="toolbar:TXMEditorTopToolBar">
2377
         <command
2378
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2379
               icon="icons/functions/run.png"
2380
               id="compute"
2381
               style="push"
2382
               tooltip="org.txm.rcp.handlers.ComputeTXMResult">
2383
         </command>
2384
      </menuContribution>
2385
      <menuContribution
2386
            allPopups="false"
2387
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2388
         <command
2389
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2390
               icon="icons/refresh.png"
2391
               style="push">
2392
         </command>
2393
      </menuContribution>
2394
   </extension>
2395
   <extension
2396
         id="general"
2397
         name="%extension.name.0"
2398
         point="org.eclipse.ui.commands">
2399
      <category
2400
            description="%category.description"
2401
            id="org.txm.rcp.category.txm"
2402
            name="%category.name.0">
2403
      </category>
2404
      <command
2405
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2406
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2407
            name="%command.name.22">
2408
         <commandParameter
2409
               id="org.txm.rcp.commands.commandParameter3"
2410
               name="%commandParameter.name.1"
2411
               optional="true">
2412
         </commandParameter>
2413
      </command>
2414
      
2415
      <command
2416
            categoryId="org.eclipse.ui.category.navigate"
2417
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2418
            id="org.txm.rcp.commands.OpenBrowser"
2419
            name="%command.name.8">
2420
         <commandParameter
2421
               id="org.txm.rcp.commands.commandParameter2"
2422
               name="%commandParameter.name"
2423
               optional="true">
2424
         </commandParameter>
2425
      </command>
2426
      <command
2427
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2428
            id="org.txm.rcp.commands.ShowSelected"
2429
            name="%command.name.9">
2430
      </command>
2431
      <command
2432
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2433
            description="%command.description"
2434
            id="org.txm.rcp.commands.RestartTXM"
2435
            name="%command.name.25">
2436
      </command>
2437
      
2438
      <command
2439
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2440
            id="org.txm.rcp.commands.ImportSelectedText"
2441
            name="%command.name.28">
2442
      </command>
2443
      <command
2444
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2445
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2446
            name="%command.name.31">
2447
      </command>
2448
            
2449
      <command
2450
            categoryId="org.eclipse.ui.category.edit"
2451
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2452
            id="org.txm.rcp.commands.OpenImportForm"
2453
            name="%command.name.62">
2454
         <commandParameter
2455
               id="org.txm.rcp.commands.importscript"
2456
               name="%commandParameter.name.2"
2457
               optional="false">
2458
         </commandParameter>
2459
      </command>
2460
      <command
2461
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2462
            description="%command.description.0"
2463
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2464
            name="%command.name.3">
2465
      </command>
2466
      <command
2467
            categoryId="org.txm.rcp.category.txm"
2468
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2469
            id="org.txm.rcp.commands.OpenTestEditor"
2470
            name="%command.name.19">
2471
      </command>
2472
      <command
2473
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2474
            id="org.txm.rcp.commands.editor.SetEncoding"
2475
            name="%command.name.72">
2476
      </command>
2477
      <command
2478
            categoryId="org.eclipse.ui.category.navigate"
2479
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2480
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2481
            name="%command.name.74">
2482
         <commandParameter
2483
               id="org.txm.rcp.commands.commandParameter3"
2484
               name="%commandParameter.name.3"
2485
               optional="true">
2486
         </commandParameter>
2487
      </command>
2488
      <command
2489
            categoryId="org.eclipse.ui.category.navigate"
2490
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2491
            id="org.txm.rcp.commands.OpenWelcomePage"
2492
            name="%command.name.8">
2493
         <commandParameter
2494
               id="org.txm.rcp.commands.commandParameter2"
2495
               name="%commandParameter.name"
2496
               optional="true">
2497
         </commandParameter>
2498
      </command>
2499
      <command
2500
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2501
            description="%command.label.182"
2502
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2503
            name="%command.label.182">
2504
      </command>
2505
      <command
2506
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2507
            description="%command.description.3"
2508
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2509
            name="%command.name.87">
2510
                     <commandParameter
2511
               id="org.txm.rcp.parameters.update"
2512
               name="%commandParameter.name.4"
2513
               optional="true">
2514
         </commandParameter>
2515
      </command>
2516
      <command
2517
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2518
            description="%command.description.4"
2519
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2520
            name="%command.name.88">
2521
      </command>
2522
      <command
2523
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2524
            id="org.txm.rcp.commands.CleanPerspective"
2525
            name="%command.name.94">
2526
      </command>
2527
      <command
2528
            defaultHandler="org.txm.rcp.commands.OpenManual"
2529
            id="org.txm.rcp.commands.OpenManual"
2530
            name="%command.name.95">
2531
      </command>
2532
      <command
2533
            categoryId="org.txm.rcp.category.txm"
2534
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2535
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2536
            name="%command.name.98">
2537
         <commandParameter
2538
               id="org.txm.rcp.commands.workspace.UpdateCorpus.force"
2539
               name="force"
2540
               optional="true">
2541
         </commandParameter>
2542
      </command>
2543

    
2544
      <command
2545
            categoryId="org.txm.rcp.category.txm"
2546
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2547
            id="org.txm.rcp.commands.ReloadCorporaView"
2548
            name="%command.name.2">
2549
      </command>
2550
      <command
2551
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2552
            id="org.txm.rcp.commands.function.RenameResult"
2553
            name="%command.name.4">
2554
      </command>
2555
      <command
2556
            categoryId="org.txm.rcp.category.txm"
2557
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2558
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2559
            name="%command.name.64">
2560
      </command>
2561
   </extension>
2562
   <extension
2563
         id="commands"
2564
         name="%extension.name.1"
2565
         point="org.eclipse.ui.commands">
2566

    
2567
      <command
2568
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2569
            id="org.txm.rcp.commands.function.ExportResult"
2570
            name="%command.name.24">
2571
      </command>
2572
      <command
2573
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2574
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2575
            name="%command.name.35">
2576
      </command>
2577
      <command
2578
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2579
            id="org.txm.rcp.commands.function.ExportSVG"
2580
            name="%command.name.34">
2581
      </command>
2582
      <command
2583
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2584
            id="org.txm.rcp.handlers.export.ImportResult"
2585
            name="%command.name.39">
2586
      </command>
2587
      <command
2588
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2589
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2590
            name="%command.name.40">
2591
      </command>
2592
   </extension>
2593
   <extension
2594
         id="links"
2595
         name="%extension.name.2"
2596
         point="org.eclipse.ui.commands">
2597

    
2598
      <command
2599
            defaultHandler="org.txm.rcp.commands.editor.Copy"
2600
            id="org.txm.rcp.commands.editor.Copy"
2601
            name="%command.name.55">
2602
      </command>
2603
   </extension>
2604
   <extension
2605
         id="views"
2606
         name="%extension.name.3"
2607
         point="org.eclipse.ui.commands">
2608
      <command
2609
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2610
            id="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2611
            name="%command.name.5">
2612
      </command>
2613
      <command
2614
            defaultHandler="org.txm.rcp.commands.queryview.Copy"
2615
            id="org.txm.rcp.commands.queryview.Copy"
2616
            name="%command.name.55">
2617
      </command>
2618
      <command
2619
            defaultHandler="org.txm.rcp.commands.queryview.Paste"
2620
            id="org.txm.rcp.commands.queryview.Paste"
2621
            name="%command.name.56">
2622
      </command>
2623
      <command
2624
            defaultHandler="org.txm.rcp.handlers.files.DownloadFile"
2625
            id="org.txm.rcp.commands.DownloadFile"
2626
            name="%command.name.91">
2627
      </command>
2628
      <command
2629
            defaultHandler="org.txm.rcp.views.debug.RefreshDebugView"
2630
            id="org.txm.rcp.views.debug.RefreshDebugView"
2631
            name="%command.name.27">
2632
      </command>
2633
   </extension>
2634
   <extension
2635
         id="file"
2636
         name="%extension.name.4"
2637
         point="org.eclipse.ui.commands">
2638
      <category
2639
            description="%category.description.0"
2640
            id="org.txm.rcp.categories.file"
2641
            name="%category.name.4">
2642
      </category>
2643
      <command
2644
            categoryId="org.txm.rcp.categories.file"
2645
            defaultHandler="org.txm.rcp.handlers.files.CutFile"
2646
            id="org.txm.rcp.commands.CutFile"
2647
            name="%command.name.71">
2648
      </command>
2649
      <command
2650
            categoryId="org.txm.rcp.categories.file"
2651
            defaultHandler="org.txm.rcp.commands.editor.SaveAs"
2652
            id="org.txm.rcp.commands.editor.SaveAs"
2653
            name="%command.name.67">
2654
      </command>
2655
      <command
2656
            categoryId="org.txm.rcp.categories.file"
2657
            defaultHandler="org.txm.rcp.handlers.files.DeleteFile"
2658
            id="org.txm.rcp.commands.DeleteFile"
2659
            name="%command.name.68">
2660
      </command>
2661
      <command
2662
            categoryId="org.txm.rcp.categories.file"
2663
            defaultHandler="org.txm.rcp.handlers.files.CopyFile"
2664
            id="org.txm.rcp.commands.CopyFile"
2665
            name="%command.name.69">
2666
      </command>
2667
      <command
2668
            categoryId="org.txm.rcp.categories.file"
2669
            defaultHandler="org.txm.rcp.handlers.files.PasteFile"
2670
            id="org.txm.rcp.commands.PasteFile"
2671
            name="%command.name.70">
2672
      </command>
2673
      <command
2674
            categoryId="org.txm.rcp.categories.file"
2675
            defaultHandler="org.txm.rcp.handlers.files.RenameFile"
2676
            id="org.txm.rcp.commands.RenameFile"
2677
            name="%command.name.108">
2678
      </command>
2679
      <command
2680
            categoryId="org.txm.rcp.categories.file"
2681
            defaultHandler="org.txm.rcp.handlers.files.CreateFile"
2682
            id="org.txm.rcp.commands.CreateFile"
2683
            name="%command.name.47">
2684
      </command>
2685
      <command
2686
            categoryId="org.txm.rcp.categories.file"
2687
            defaultHandler="org.txm.rcp.handlers.files.CreateFolder"
2688
            id="org.txm.rcp.commands.CreateFolder"
2689
            name="%command.name.48">
2690
      </command>
2691
      <command
2692
            categoryId="org.txm.rcp.categories.file"
2693
            defaultHandler="org.txm.rcp.handlers.files.EditSelectedFile"
2694
            id="org.txm.rcp.commands.EditSelectedFile"
2695
            name="%command.name.106">
2696
      </command>
2697
      <command
2698
            categoryId="org.txm.rcp.categories.file"
2699
            defaultHandler="org.txm.rcp.handlers.files.EditFile"
2700
            id="org.txm.rcp.handlers.files.EditFile"
2701
            name="%command.name">
2702
         <commandParameter
2703
               id="org.txm.rcp.commands.commandParameter2"
2704
               name="%commandParameter.name"
2705
               optional="true">
2706
         </commandParameter>
2707
      </command>
2708
   </extension>
2709
   <extension
2710
         id="results"
2711
         name="%extension.name.5"
2712
         point="org.eclipse.ui.commands">
2713
      <category
2714
            id="org.txm.rcp.categories.results"
2715
            name="%category.name.5">
2716
      </category>
2717
      <command
2718
            categoryId="org.txm.rcp.categories.results"
2719
            defaultHandler="org.txm.rcp.handlers.results.DeleteObject"
2720
            description="%command.description.5"
2721
            id="org.txm.rcp.handlers.results.DeleteObject"
2722
            name="%command.name.26">
2723
      </command>
2724
      <command
2725
            categoryId="org.txm.rcp.categories.results"
2726
            defaultHandler="org.txm.rcp.handlers.results.ComputeTXMResult"
2727
            description="%command.description.6"
2728
            id="org.txm.rcp.handlers.ComputeTXMResult"
2729
            name="%command.name.32">
2730
      </command>
2731
      <command
2732
            categoryId="org.txm.rcp.categories.results"
2733
            defaultHandler="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2734
            id="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2735
            name="%command.name.33">
2736
      </command>
2737
            <command
2738
            categoryId="org.txm.rcp.categories.results"
2739
            defaultHandler="org.txm.rcp.handlers.results.SetTXMResultLockState"
2740
            id="org.txm.rcp.handlers.results.SetTXMResultLockState"
2741
            name="%command.name.44">
2742
      </command>
2743
      <command
2744
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResult"
2745
            id="org.txm.rcp.handlers.results.CloneTXMResult"
2746
            name="%command.name.45">
2747
      </command>
2748
            <command
2749
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResultTree"
2750
            id="org.txm.rcp.handlers.results.CloneTXMResultTree"
2751
            name="%command.name.46">
2752
      </command>
2753
            <command
2754
                  defaultHandler="org.txm.rcp.handlers.results.ShowHiddenParents"
2755
                  id="org.txm.rcp.handlers.results.ShowHiddenParents"
2756
                  name="%command.name.49">
2757
            </command>
2758
            <command
2759
                  defaultHandler="org.txm.rcp.handlers.results.HideIntermediateParents"
2760
                  id="org.txm.rcp.handlers.results.HideIntermediateParents"
2761
                  name="%command.name.53">
2762
            </command>
2763
            <command
2764
                  categoryId="org.txm.rcp.categories.results"
2765
                  defaultHandler="org.txm.rcp.handlers.results.OpenPreferences"
2766
                  description="%command.description.7"
2767
                  id="org.txm.rcp.handlers.results.OpenPreferences"
2768
                  name="%command.name.57">
2769
            </command>
2770
            <command
2771
                  categoryId="org.txm.rcp.categories.results"
2772
                  defaultHandler="org.txm.rcp.commands.workspace.OpenCorpus"
2773
                  description="Open"
2774
                  id="org.txm.rcp.commands.workspace.OpenCorpus"
2775
                  name="Open">
2776
            </command>
2777
            <command
2778
                  categoryId="org.txm.rcp.categories.results"
2779
                  defaultHandler="org.txm.rcp.commands.workspace.CloseCorpus"
2780
                  description="Close"
2781
                  id="org.txm.rcp.commands.workspace.CloseCorpus"
2782
                  name="Close">
2783
            </command>
2784
   </extension>
2785
   <extension
2786
         id="scripts"
2787
         name="%extension.name.6"
2788
         point="org.eclipse.ui.commands">
2789
      <category
2790
            id="org.txm.rcp.categories.scripts"
2791
            name="%category.name.6">
2792
      </category>
2793
      <command
2794
            categoryId="org.txm.rcp.categories.scripts"
2795
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScript"
2796
            id="org.txm.rcp.commands.ExecuteScriptGroovy"
2797
            name="%command.name.0">
2798
      </command>
2799
      <command
2800
            categoryId="org.txm.rcp.categories.scripts"
2801
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteLastGroovyScript"
2802
            id="org.txm.rcp.commands.ExecuteLastGroovyScript"
2803
            name="%command.name.89">
2804
      </command>
2805
      <command
2806
            categoryId="org.txm.rcp.categories.scripts"
2807
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyText"
2808
            id="org.txm.rcp.commands.ExecuteGroovyText"
2809
            name="%command.name.10">
2810
      </command>
2811
      <command
2812
            categoryId="org.txm.rcp.categories.scripts"
2813
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScriptFromFile"
2814
            id="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
2815
            name="%command.name.66">
2816
      </command>
2817
      <command
2818
            categoryId="org.txm.rcp.categories.scripts"
2819
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyMacro"
2820
            id="org.txm.rcp.commands.ExecuteMacro"
2821
            name="%command.name.79">
2822
         <commandParameter
2823
               id="org.txm.rcp.command.parameter.file"
2824
               name="%commandParameter.name.5"
2825
               optional="true">
2826
         </commandParameter>
2827
         <commandParameter
2828
               id="args"
2829
               name="string args"
2830
               optional="true">
2831
         </commandParameter>
2832
      </command>
2833
      <command
2834
            categoryId="org.txm.rcp.categories.scripts"
2835
            defaultHandler="org.txm.rcp.handlers.scripts.CreateMacro"
2836
            id="org.txm.rcp.commands.CreateMacro"
2837
            name="%command.name.80">
2838
      </command>
2839
      <command
2840
            categoryId="org.txm.rcp.categories.scripts"
2841
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteScript"
2842
            id="org.txm.rcp.commands.ExecuteScript"
2843
            name="%command.name.21">
2844
         <commandParameter
2845
               id="org.txm.rcp.command.parameter.file"
2846
               name="%commandParameter.name.6"
2847
               optional="true">
2848
         </commandParameter>
2849
         <commandParameter
2850
               id="args"
2851
               name="string args"
2852
               optional="true">
2853
         </commandParameter>
2854
      </command>
2855
      <command
2856
            categoryId="org.txm.rcp.categories.scripts"
2857
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteText"
2858
            id="org.txm.rcp.commands.ExecuteText"
2859
            name="%command.name.50">
2860
      </command>
2861
      <command
2862
            defaultHandler="org.txm.rcp.commands.workspace.RebuildCorpus"
2863
            id="org.txm.rcp.commands.workspace.RebuildCorpus"
2864
            name="%command.name.59">
2865
      </command>
2866
      <command
2867
            categoryId="org.txm.rcp.category.txm"
2868
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
2869
            id="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
2870
            name="%command.name.61">
2871
         <commandParameter
2872
               id="url"
2873
               name="URL"
2874
               optional="true">
2875
         </commandParameter>
2876
      </command>
2877
   </extension>
2878
   <extension
2879
         point="org.eclipse.core.expressions.definitions">
2880
      <definition
2881
            id="OneFileSelected">
2882
         <with
2883
               variable="selection">
2884
            <iterate
2885
                  ifEmpty="false"
2886
                  operator="and">
2887
               <instanceof
2888
                     value="java.io.File">
2889
               </instanceof>
2890
            </iterate>
2891
         </with>
2892
      </definition>
2893
      <definition
2894
            id="OneDirSelected">
2895
         <and>
2896
            <instanceof
2897
                  value="java.io.File">
2898
            </instanceof>
2899
            <test
2900
                  args="isDirectory()"
2901
                  property="org.txm.rcp.test2"
2902
                  value="true">
2903
            </test>
2904
         </and>
2905
      </definition>
2906
            <definition
2907
                  id="OneProjectSelected">
2908
               <with
2909
                     variable="selection">
2910
                  <iterate
2911
                        ifEmpty="false"
2912
                        operator="and">
2913
                     <instanceof
2914
                           value="org.txm.objects.Project">
2915
                     </instanceof>
2916
                  </iterate>
2917
               </with>
2918
            </definition>
2919
            <definition
2920
                  id="OneIProjectSelected">
2921
               <with
2922
                     variable="selection">
2923
                  <iterate
2924
                        ifEmpty="false"
2925
                        operator="and">
2926
                     <instanceof
2927
                           value="org.eclipse.core.resources.IProject">
2928
                     </instanceof>
2929
                  </iterate>
2930
               </with>
2931
            </definition>
2932
            <definition
2933
                  id="OneTextSelected">
2934
               <with
2935
                     variable="selection">
2936
                  <iterate
2937
                        ifEmpty="false"
2938
                        operator="and">
2939
                     <instanceof
2940
                           value="org.txm.objects.Text">
2941
                     </instanceof>
2942
                  </iterate>
2943
               </with>
2944
            </definition>
2945
           
2946
            <definition
2947
                  id="OneResultSelected">
2948
               <visibleWhen
2949
                     checkEnabled="false">
2950
                  <or>
2951
                     <reference
2952
                           definitionId="OneSpecificitiesResultSelected">
2953
                     </reference>
2954
                     <reference
2955
                           definitionId="OneCASelected">
2956
                     </reference>
2957
                     <reference
2958
                           definitionId="OneLexiconSelected">
2959
                     </reference>
2960
                     <reference
2961
                           definitionId="OneConcordanceSelected">
2962
                     </reference>
2963
                     <reference
2964
                           definitionId="OneIndexSelected">
2965
                     </reference>
2966
                     <reference
2967
                           definitionId="OneReferencerSelected">
2968
                     </reference>
2969
                  </or>
2970
               </visibleWhen>
2971
            </definition>
2972
            <definition
2973
                  id="SVGEditorActive">
2974
               <with
2975
                     variable="activeEditorId">
2976
                  <equals
2977
                        value="org.txm.rcp.editors.SVGGraphicEditor">
2978
                  </equals>
2979
               </with>
2980
            </definition>
2981
            <definition
2982
                  id="StatEngineReady">
2983
               <test
2984
                     forcePluginActivation="true"
2985
                     property="org.txm.rcp.testers.ToolboxTester"
2986
                     value="StateEngineReady">
2987
               </test>
2988
            </definition>
2989
            <definition
2990
                  id="LabPerspectiveSelected">
2991
               <with
2992
                     variable="activeWorkbenchWindow.activePerspective">
2993
                  <equals
2994
                        value="org.txm.rcp.perspective.LabPerspective">
2995
                  </equals>
2996
               </with>
2997
            </definition>
2998
            <definition
2999
                  id="OneLexicalTableAbleSelected">
3000
               <with
3001
                     variable="selection">
3002
                  <iterate
3003
                        ifEmpty="false"
3004
                        operator="and">
3005
                     <instanceof
3006
                           value="org.txm.functions.LexicalTableAble">
3007
                     </instanceof>
3008
                  </iterate>
3009
               </with>
3010
            </definition>
3011
            <definition
3012
                  id="NeedToSaveAnnotations">
3013
               <test
3014
                     forcePluginActivation="true"
3015
                     property="org.txm.rcp.testers.annotate.canSave">
3016
               </test>
3017
            </definition>
3018
            <definition
3019
                  id="ExpertEnabled">
3020
               <test
3021
                     forcePluginActivation="true"
3022
                     property="org.txm.rcp.testers.ExpertEnabled">
3023
               </test>
3024
            </definition>
3025
            <definition
3026
                  id="IsXTZCorpus">
3027
               <test
3028
                     forcePluginActivation="true"
3029
                     property="org.txm.rcp.testers.corpus.xtzCorpus">
3030
               </test>
3031
            </definition>
3032
            <definition
3033
                  id="TextEditorActive">
3034
               <or>
3035
               <with
3036
                     variable="activePartId">
3037
                  <equals
3038
                        value="org.txm.rcp.editors.TxtEditor">
3039
                  </equals>
3040
               </with>
3041
               <with
3042
                     variable="activePartId">
3043
                  <equals
3044
                        value=" org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart">
3045
                  </equals>
3046
               </with></or>
3047
            </definition>
3048
            <definition
3049
                  id="OneTXMResultSelected">
3050
               <with
3051
                     variable="selection">
3052
                  <iterate
3053
                        ifEmpty="false"
3054
                        operator="and">
3055
                     <instanceof
3056
                           value="org.txm.core.results.TXMResult">
3057
                     </instanceof>
3058
                  </iterate>
3059
               </with>
3060
            </definition>
3061
            <definition
3062
                  id="OneOrMoreElementSelected">
3063
               <with
3064
                     variable="activeMenuSelection">
3065
                  <count
3066
                        value="+">
3067
                  </count>
3068
               </with>
3069
            </definition>
3070
            <definition
3071
                  id="IscorpusProject">
3072
               <adapt
3073
                     type="org.eclipse.core.resources.IProject">
3074
                  <test
3075
                        property="org.eclipse.core.resources.projectNature"
3076
                        value="org.txm.core.project.corpus">
3077
                  </test>
3078
               </adapt>
3079
            </definition>
3080
            <definition
3081
                  id="TXMEditorActive">
3082
               <with
3083
                     variable="activePart">
3084
                  <instanceof
3085
                        value="org.txm.rcp.editors.TXMEditor">
3086
                  </instanceof>
3087
               </with>
3088
            </definition>
3089
            <definition
3090
                  id="OneProjectSelected">
3091
               <with
3092
                     variable="selection">
3093
                  <iterate
3094
                        ifEmpty="false"
3095
                        operator="and">
3096
                     <instanceof
3097
                           value="org.eclipse.core.resources.IProject">
3098
                     </instanceof>
3099
                  </iterate>
3100
               </with>
3101
            </definition>
3102
   </extension>
3103
  
3104
   <extension
3105
         point="org.eclipse.ui.splashHandlers">
3106
      <splashHandler
3107
            class="org.txm.rcp.AbstractSplashHandler2"
3108
            id="org.txm.rcp.AbstractSplashHandler2">
3109
      </splashHandler>
3110
      <splashHandlerProductBinding
3111
            productId="org.txm.rcp.app"
3112
            splashId="org.txm.rcp.AbstractSplashHandler2">
3113
      </splashHandlerProductBinding>
3114
   </extension>
3115
   <extension
3116
         point="org.eclipse.core.expressions.propertyTesters">
3117
      <propertyTester
3118
            class="org.txm.rcp.testers.ToolboxTester"
3119
            id="org.txm.rcp.testers.ToolboxTester"
3120
            namespace="org.txm.rcp.testers"
3121
            properties="StatEngineReady,SearchEngineReady,computable,persistable"
3122
            type="java.lang.Object">
3123
      </propertyTester>
3124
      <propertyTester
3125
            class="org.txm.rcp.testers.IsCorpusAnnotated"
3126
            id="org.txm.rcp.testers.IsCorpusAnnotated"
3127
            namespace="org.txm.rcp.testers.annotate"
3128
            properties="canSave"
3129
            type="java.lang.Object">
3130
      </propertyTester>
3131
      <propertyTester
3132
            class="org.txm.rcp.testers.ExpertEnabled"
3133
            id="org.txm.rcp.testers.ExpertEnabled"
3134
            namespace="org.txm.rcp.testers"
3135
            properties="ExpertEnabled"
3136
            type="java.lang.Object">
3137
      </propertyTester>
3138
      <propertyTester
3139
            class="org.txm.rcp.testers.IsXTZCorpus"
3140
            id="org.txm.rcp.testers.IsXTZCorpus"
3141
            namespace="org.txm.rcp.testers.corpus"
3142
            properties="xtzCorpus"
3143
            type="java.lang.Object">
3144
      </propertyTester>
3145
      <propertyTester
3146
            class="org.txm.rcp.testers.AutoPersistenceDisabled"
3147
            id="org.txm.rcp.testers.AutoPersistenceDisabled"
3148
            namespace="org.txm.rcp.testers"
3149
            properties="AutoPersistenceDisabled"
3150
            type="java.lang.Object">
3151
      </propertyTester>
3152
      <propertyTester
3153
            class="org.txm.rcp.testers.IsParentVisible"
3154
            id="org.txm.rcp.testers.IsParentVisible"
3155
            namespace="org.txm.rcp.testers"
3156
            properties="IsParentVisible"
3157
            type="java.lang.Object">
3158
      </propertyTester>
3159
      <propertyTester
3160
            class="org.txm.rcp.testers.IsParentHidden"
3161
            id="org.txm.rcp.testers.IsParentHidden"
3162
            namespace="org.txm.rcp.testers"
3163
            properties="IsParentHidden"
3164
            type="java.lang.Object">
3165
      </propertyTester>
3166
   </extension>
3167
   <extension
3168
         point="org.eclipse.ui.bindings">
3169
      <scheme
3170
            description="%scheme.description"
3171
            id="org.txm.rcp.scheme"
3172
            name="%scheme.name"
3173
            parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
3174
      </scheme>
3175
      <key
3176
            commandId="org.txm.rcp.commands.ExecuteText"
3177
            contextId="org.eclipse.ui.contexts.window"
3178
            schemeId="org.txm.rcp.scheme"
3179
            sequence="F11">
3180
      </key>
3181
      <key
3182
            commandId="org.txm.rcp.commands.ExecuteScript"
3183
            contextId="org.eclipse.ui.contexts.window"
3184
            schemeId="org.txm.rcp.scheme"
3185
            sequence="M1+F11">
3186
      </key>
3187
      <key
3188
            commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
3189
            contextId="org.eclipse.ui.contexts.window"
3190
            schemeId="org.txm.rcp.scheme"
3191
            sequence="F12">
3192
      </key>
3193
      <key
3194
            commandId="org.txm.rcp.commands.ReloadCorporaView"
3195
            contextId="org.txm.rcp.views.corpora.CorporaView"
3196
            schemeId="org.txm.rcp.scheme"
3197
            sequence="F5">
3198
      </key>
3199
      <key
3200
            commandId="org.txm.rcp.commands.function.RenameResult"
3201
            contextId="org.txm.rcp.views.corpora.CorporaView"
3202
            schemeId="org.txm.rcp.scheme"
3203
            sequence="F2">
3204
      </key>
3205
      <key
3206
            commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
3207
            contextId="org.txm.rcp.views.corpora.CorporaView"
3208
            schemeId="org.txm.rcp.scheme"
3209
            sequence="M1+S">
3210
      </key>
3211
   </extension>
3212
<!--   <extension
3213
         point="org.eclipse.e4.ui.css.swt.theme">
3214
      <theme
3215
            basestylesheeturi="css/default_linux.css"
3216
            id="org.txm.rcp.theme.default.linux"
3217
            label="TXM"
3218
            os="linux">
3219
      </theme>
3220
      <theme
3221
            basestylesheeturi="css/default_windows.css"
3222
            id="org.txm.rcp.theme.default.windows"
3223
            label="TXM"
3224
            os="win32">
3225
      </theme>
3226
      <theme
3227
            basestylesheeturi="css/default_mac.css"
3228
            id="org.txm.rcp.theme.default.mac"
3229
            label="TXM"
3230
            os="macosx">
3231
      </theme>
3232
   </extension>-->
3233
   <extension
3234
         point="org.eclipse.ui.contexts">
3235
      <context
3236
            description="%context.description.0"
3237
            id="org.txm.rcp.views.corpora.CorporaView"
3238
            name="%context.name.0">
3239
      </context>
3240
   </extension>
3241
   <extension
3242
         point="org.eclipse.ui.newWizards">
3243
      <category
3244
            id="org.txm.rcp.corpus"
3245
            name="%category.name.7">
3246
      </category>
3247
      <primaryWizard
3248
            id="org.txm.rcp.corpuswizard.TxtWizard">
3249
      </primaryWizard>
3250
      <primaryWizard
3251
            id="org.txm.rcp.corpuswizard.XMLXTZWizard">
3252
      </primaryWizard>
3253
      <primaryWizard
3254
            id="org.txm.rcp.corpuswizard.FactivaWizard">
3255
      </primaryWizard>
3256
      <wizard
3257
            category="org.txm.rcp.corpus"
3258
            class="org.txm.rcp.corpuswizard.ImportWizard"
3259
            descriptionImage="icons/wizard/txt.png"
3260
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3261
            icon="icons/objects/file.png"
3262
            id="org.txm.rcp.corpuswizard.TxtWizard"
3263
            name="%wizard.name.2"
3264
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3265
            project="true">
3266
      </wizard>
3267
      <wizard
3268
            category="org.txm.rcp.corpus"
3269
            class="org.txm.rcp.corpuswizard.ImportWizard"
3270
            descriptionImage="icons/wizard/factiva.png"
3271
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3272
            icon="icons/objects/xml.png"
3273
            id="org.txm.rcp.corpuswizard.FactivaWizard"
3274
            name="%wizard.name.3"
3275
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3276
            project="true">
3277
      </wizard>
3278
      <wizard
3279
            category="org.txm.rcp.corpus"
3280
            class="org.txm.rcp.corpuswizard.ImportWizard"
3281
            descriptionImage="icons/wizard/xtz.png"
3282
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3283
            icon="icons/objects/xml.png"
3284
            id="org.txm.rcp.corpuswizard.XMLXTZWizard"
3285
            name="%wizard.name.4"
3286
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3287
            project="true">
3288
      </wizard>
3289
   </extension>
3290
   <extension
3291
         point="org.eclipse.ui.ide.projectNatureImages">
3292
      <image
3293
            icon="icons/objects/project.png"
3294
            id="org.txm.rcp.image1"
3295
            natureId="org.txm.core.CorpusNature">
3296
      </image>
3297
   </extension>
3298
   <extension
3299
         id="id1"
3300
         point="org.eclipse.core.resources.natures">
3301
      <runtime>
3302
         <run
3303
               class="org.txm.core.CorpusNature">
3304
         </run>
3305
      </runtime>
3306
   </extension>
3307

    
3308
</plugin>