Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (123,57 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
            <separator
1017
                  name="menu.corpus.manage"
1018
                  visible="true">
1019
            </separator>
1020
            <command
1021
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
1022
                  label="Open"
1023
                  style="push">
1024
               <visibleWhen
1025
                     checkEnabled="false">
1026
                  <or>
1027
                     <reference
1028
                           definitionId="OneIProjectSelected">
1029
                     </reference>
1030
                  </or>
1031
               </visibleWhen>
1032
            </command>
1033
            <command
1034
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
1035
                  label="Close"
1036
                  style="push">
1037
               <visibleWhen
1038
                     checkEnabled="false">
1039
                  <or>
1040
                     <reference
1041
                           definitionId="OneMainCorpusSelected">
1042
                     </reference>
1043
                  </or>
1044
               </visibleWhen>
1045
            </command>
1046
            
1047
            <separator
1048
                  name="menu.corpus.build"
1049
                  visible="true">
1050
            </separator>
1051
            <command
1052
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1053
                  icon="icons/functions/update.png"
1054
                  label="Re-import corpus"
1055
                  style="push">
1056
               <visibleWhen
1057
                     checkEnabled="false">
1058
                  <or>
1059
                     <reference
1060
                           definitionId="OneMainCorpusSelected">
1061
                     </reference>
1062
                  </or>
1063
               </visibleWhen>
1064
            </command>
1065
            <command
1066
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1067
                  icon="icons/functions/update.png"
1068
                  label="Force re-import corpus"
1069
                  style="push">
1070
               <visibleWhen
1071
                     checkEnabled="false">
1072
                  <or>
1073
                     <reference
1074
                           definitionId="OneMainCorpusSelected">
1075
                     </reference>
1076
                  </or>
1077
               </visibleWhen>
1078
               <parameter
1079
                     name="org.txm.rcp.commands.workspace.UpdateCorpus.force"
1080
                     value="true">
1081
               </parameter>
1082
            </command>
1083
            <command
1084
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1085
                  icon="icons/functions/Delete.png"
1086
                  style="push">
1087
               <visibleWhen
1088
                     checkEnabled="false">
1089
                  <or>
1090
                     <reference
1091
                           definitionId="OneTXMResultSelected">
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.display"
1121
               label="%menu.label.7"
1122
               tooltip="%menu.tooltip.0">
1123
            <menu
1124
                  id="menu.display.views"
1125
                  label="%menu.label.9">
1126
               <command
1127
                     commandId="org.eclipse.ui.views.showView"
1128
                     label="%command.label.134"
1129
                     style="push">
1130
                  <parameter
1131
                        name="org.eclipse.ui.views.showView.viewId"
1132
                        value="org.txm.rcp.views.corpora.CorporaView">
1133
                  </parameter>
1134
               </command>
1135
               <command
1136
                     commandId="org.eclipse.ui.views.showView"
1137
                     label="%command.label.135"
1138
                     style="push">
1139
                  <parameter
1140
                        name="org.eclipse.ui.views.showView.viewId"
1141
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1142
                  </parameter>
1143
               </command>
1144
               <command
1145
                     commandId="org.eclipse.ui.views.showView"
1146
                     label="%command.label.177"
1147
                     style="push">
1148
                  <parameter
1149
                        name="org.eclipse.ui.views.showView.viewId"
1150
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1151
                  </parameter>
1152
               </command>
1153
               <command
1154
                     commandId="org.eclipse.ui.views.showView"
1155
                     label="%command.label.43"
1156
                     style="push">
1157
                  <parameter
1158
                        name="org.eclipse.ui.views.showView.viewId"
1159
                        value="org.eclipse.ui.console.ConsoleView">
1160
                  </parameter>
1161
               </command>
1162
               <separator
1163
                     name="menu.display.views.separator">
1164
               </separator>
1165
               <command
1166
                     commandId="org.eclipse.ui.views.showView"
1167
                     id="org.eclipse.ui.views.showView"
1168
                     label="%command.label.139"
1169
                     style="push">
1170
               </command>
1171
            </menu>
1172
            <menu
1173
                  id="menu.display.perspectives"
1174
                  label="%menu.label.8">
1175
               <command
1176
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1177
                     label="%command.label.131"
1178
                     style="push">
1179
                  <parameter
1180
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1181
                        value="org.txm.rcp.perspective.TXMPerspective">
1182
                  </parameter>
1183
               </command>
1184
            </menu>
1185
            <command
1186
                  commandId="org.txm.rcp.commands.CleanPerspective"
1187
                  style="push">
1188
            </command>
1189
            <command
1190
                  commandId="org.eclipse.ui.window.newWindow"
1191
                  label="%command.label.157">
1192
            </command>
1193
            <command
1194
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1195
                  label="%command.label.75"
1196
                  style="push"
1197
                  tooltip="%command.tooltip.42">
1198
            </command>
1199
         </menu>
1200
         <menu
1201
               id="menu.help"
1202
               label="%menu.label.2"
1203
               tooltip="%menu.tooltip">
1204
            <command
1205
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1206
                  label="%command.label.173"
1207
                  style="push">
1208
            </command>
1209
            <separator
1210
                  name="org.txm.rcp.separator1"
1211
                  visible="true">
1212
            </separator>
1213
            <menu
1214
                  id="menu.help.documentation"
1215
                  label="Documentation">
1216
               <command
1217
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1218
                     label="%command.label.68"
1219
                     style="push"
1220
                     tooltip="%command.tooltip.23">
1221
                  <parameter
1222
                        name="org.txm.rcp.commands.commandParameter3"
1223
                        value="refman">
1224
                  </parameter>
1225
               </command>
1226
               <command
1227
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1228
                     label="%command.label.70"
1229
                     style="push">
1230
                  <parameter
1231
                        name="org.txm.rcp.commands.commandParameter3"
1232
                        value="sf_docs">
1233
                  </parameter>
1234
               </command>
1235
               <command
1236
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1237
                     label="%command.label.35"
1238
                     style="push"
1239
                     tooltip="%command.tooltip.43">
1240
                  <parameter
1241
                        name="org.txm.rcp.commands.commandParameter3"
1242
                        value="txm-users wiki">
1243
                  </parameter>
1244
               </command>
1245
               <command
1246
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1247
                     label="%command.label.178"
1248
                     style="push"
1249
                     tooltip="%command.tooltip.41">
1250
                  <parameter
1251
                        name="org.txm.rcp.commands.commandParameter3"
1252
                        value="faq">
1253
                  </parameter>
1254
               </command>
1255
               <command
1256
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1257
                     label="%command.label.33"
1258
                     style="push"
1259
                     tooltip="%command.tooltip.13">
1260
                  <parameter
1261
                        name="org.txm.rcp.commands.commandParameter3"
1262
                        value="macros">
1263
                  </parameter>
1264
               </command>
1265
               <menu
1266
                     id="menu.help.plugins"
1267
                     label="%menu.label.4">
1268
               </menu>
1269
               <command
1270
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1271
                     label="%command.label.67"
1272
                     style="push"
1273
                     tooltip="%command.tooltip">
1274
                  <parameter
1275
                        name="org.txm.rcp.commands.commandParameter3"
1276
                        value="treetagger">
1277
                  </parameter>
1278
               </command>
1279
            </menu>
1280
            <command
1281
                  commandId="org.eclipse.ui.window.showKeyAssist"
1282
                  label="%command.label.52"
1283
                  style="push">
1284
            </command>
1285
            <separator
1286
                  name="helpSeparator1"
1287
                  visible="true">
1288
            </separator>
1289
            <menu
1290
                  id="menu.help.ressources"
1291
                  label="Ressources">
1292
               <command
1293
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1294
                     label="%command.label.49"
1295
                     style="push"
1296
                     tooltip="%command.tooltip">
1297
                  <parameter
1298
                        name="org.txm.rcp.commands.commandParameter3"
1299
                        value="corpora">
1300
                  </parameter>
1301
               </command>
1302
               <command
1303
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1304
                     label="%command.label.56"
1305
                     style="push"
1306
                     tooltip="%command.tooltip">
1307
                  <parameter
1308
                        name="org.txm.rcp.commands.commandParameter3"
1309
                        value="sf">
1310
                  </parameter>
1311
               </command>
1312
            </menu>
1313
            <menu
1314
                  id="menu.help.community"
1315
                  label="Community">
1316
               <command
1317
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1318
                     label="%command.label.55"
1319
                     style="push"
1320
                     tooltip="%command.tooltip">
1321
                  <parameter
1322
                        name="org.txm.rcp.commands.commandParameter3"
1323
                        value="mailinglist">
1324
                  </parameter>
1325
               </command>
1326
               <command
1327
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1328
                     label="%command.label.76"
1329
                     style="push"
1330
                     tooltip="%command.tooltip.65">
1331
                  <parameter
1332
                        name="org.txm.rcp.commands.commandParameter3"
1333
                        value="http://webchat.freenode.net/?channels=txm">
1334
                  </parameter>
1335
               </command>
1336
            </menu>
1337
            <separator
1338
                  name="helpSeparator3"
1339
                  visible="true">
1340
            </separator>
1341
            <menu
1342
                  id="menu.help.textometry"
1343
                  label="Textometry project">
1344
               <command
1345
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1346
                     label="%command.label.69"
1347
                     style="push">
1348
                  <parameter
1349
                        name="org.txm.rcp.commands.commandParameter3"
1350
                        value="textometrie">
1351
                  </parameter>
1352
               </command>
1353
               <command
1354
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1355
                     label="%command.label.72"
1356
                     style="push">
1357
                  <parameter
1358
                        name="org.txm.rcp.commands.commandParameter3"
1359
                        value="textometrie_docs">
1360
                  </parameter>
1361
               </command>
1362
            </menu>
1363
            <menu
1364
                  id="menu.help.participate"
1365
                  label="Participate">
1366
               <command
1367
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1368
                     label="%command.label.53"
1369
                     style="push"
1370
                     tooltip="%command.tooltip">
1371
                  <parameter
1372
                        name="org.txm.rcp.commands.commandParameter3"
1373
                        value="bug">
1374
                  </parameter>
1375
               </command>
1376
               <command
1377
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1378
                     label="%command.label.54"
1379
                     style="push"
1380
                     tooltip="%command.tooltip">
1381
                  <parameter
1382
                        name="org.txm.rcp.commands.commandParameter3"
1383
                        value="feature">
1384
                  </parameter>
1385
               </command>
1386
               <command
1387
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1388
                     label="%command.label.179"
1389
                     style="push"
1390
                     tooltip="%command.tooltip.47">
1391
                  <parameter
1392
                        name="org.txm.rcp.commands.commandParameter3"
1393
                        value="contrib">
1394
                  </parameter>
1395
               </command>
1396
            </menu>
1397
            <separator
1398
                  name="org.txm.rcp.separator4"
1399
                  visible="true">
1400
            </separator>
1401
            <command
1402
                  commandId="org.eclipse.ui.help.aboutAction"
1403
                  label="%command.label.14"
1404
                  style="push"
1405
                  tooltip="%command.tooltip.10">
1406
            </command>
1407
         </menu>
1408
         <menu
1409
               id="menu.recettes"
1410
               label="%menu.label.12"
1411
               tooltip="%menu.tooltip.1">
1412
            <visibleWhen
1413
                  checkEnabled="false">
1414
               <or>
1415
                  <reference
1416
                        definitionId="ExpertEnabled">
1417
                  </reference>
1418
               </or>
1419
            </visibleWhen>
1420
         </menu>
1421
      </menuContribution>
1422
      <menuContribution
1423
            allPopups="true"
1424
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1425
         <separator
1426
               name="org.txm.rcp.toolbars.begin"
1427
               visible="false">
1428
         </separator>
1429
         <toolbar
1430
               id="org.txm.rcp.toolbars.result">
1431
            <command
1432
                  commandId="org.txm.rcp.commands.function.ExportResult"
1433
                  icon="icons/functions/export_data.png"
1434
                  label="%command.label.51"
1435
                  style="push">
1436
               <visibleWhen
1437
                     checkEnabled="false">
1438
                  <and>
1439
                     <reference
1440
                           definitionId="OneTXMResultSelected">
1441
                     </reference>
1442
                     <not>
1443
                        <or>
1444
                           <reference
1445
                                 definitionId="OnePartitionSelected">
1446
                           </reference>
1447
                           <reference
1448
                                 definitionId="OneCorpusSelected">
1449
                           </reference>
1450
                        </or>
1451
                     </not>
1452
                  </and>
1453
               </visibleWhen>
1454
            </command>
1455
         </toolbar>
1456
         <separator
1457
               name="org.txm.rcp.toolbar.separator1"
1458
               visible="false">
1459
         </separator>
1460
         <toolbar
1461
               id="org.txm.rcp.toolbarcorpus">
1462
            <separator
1463
                  name="org.txm.rcp.toolbarcorpus.read"
1464
                  visible="false">
1465
            </separator>
1466
            <command
1467
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1468
                  icon="icons/functions/Delete.png"
1469
                  style="push"
1470
                  tooltip="%command.tooltip.33">
1471
               <visibleWhen
1472
                     checkEnabled="false">
1473
                  <or>
1474
                     <reference
1475
                           definitionId="OneTXMResultSelected">
1476
                     </reference>
1477
                  </or>
1478
               </visibleWhen>
1479
            </command>
1480
            
1481
            <separator
1482
                  name="org.txm.rcp.toolbarcorpus.corpus"
1483
                  visible="false">
1484
            </separator>
1485
            <separator
1486
                  name="org.txm.rcp.toolbarcorpus.annotation"
1487
                  visible="false">
1488
            </separator>
1489
         </toolbar>
1490
         <separator
1491
               name="org.txm.rcp.toolbar.separator1"
1492
               visible="true">
1493
         </separator>
1494
         <toolbar
1495
               id="org.txm.rcp.toolbartools">
1496
            <separator
1497
                  name="org.txm.rcp.separator1"
1498
                  visible="true">
1499
            </separator>
1500
            <separator
1501
                  name="org.txm.rcp.toolbartools.stats"
1502
                  visible="true">
1503
            </separator>
1504

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

    
2200
      </menuContribution>
2201

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

    
2536
      <command
2537
            categoryId="org.txm.rcp.category.txm"
2538
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2539
            id="org.txm.rcp.commands.ReloadCorporaView"
2540
            name="%command.name.2">
2541
      </command>
2542
      <command
2543
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2544
            id="org.txm.rcp.commands.function.RenameResult"
2545
            name="%command.name.4">
2546
      </command>
2547
      <command
2548
            categoryId="org.txm.rcp.category.txm"
2549
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2550
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2551
            name="%command.name.64">
2552
      </command>
2553
   </extension>
2554
   <extension
2555
         id="commands"
2556
         name="%extension.name.1"
2557
         point="org.eclipse.ui.commands">
2558

    
2559
      <command
2560
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2561
            id="org.txm.rcp.commands.function.ExportResult"
2562
            name="%command.name.24">
2563
      </command>
2564
      <command
2565
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2566
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2567
            name="%command.name.35">
2568
      </command>
2569
      <command
2570
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2571
            id="org.txm.rcp.commands.function.ExportSVG"
2572
            name="%command.name.34">
2573
      </command>
2574
      <command
2575
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2576
            id="org.txm.rcp.handlers.export.ImportResult"
2577
            name="%command.name.39">
2578
      </command>
2579
      <command
2580
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2581
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2582
            name="%command.name.40">
2583
      </command>
2584
   </extension>
2585
   <extension
2586
         id="links"
2587
         name="%extension.name.2"
2588
         point="org.eclipse.ui.commands">
2589

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

    
3287
</plugin>