Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (124,74 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.2 Copyright © 2010-2021 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
                  icon="icons/functions/find.png"
791
                  label="%command.label.159">
792
               <visibleWhen
793
                     checkEnabled="false">
794
                  <reference
795
                        definitionId="TextEditorActive">
796
                  </reference>
797
               </visibleWhen>
798
            </command>
799
            <command
800
                  commandId="org.eclipse.ui.edit.findPrevious"
801
                  icon="icons/functions/find_previous.png"
802
                  label="%command.label.160"
803
                  style="push">
804
               <visibleWhen
805
                     checkEnabled="false">
806
                  <reference
807
                        definitionId="TextEditorActive">
808
                  </reference>
809
               </visibleWhen>
810
            </command>
811
            <command
812
                  commandId="org.eclipse.ui.edit.findNext"
813
                  icon="icons/functions/find_next.png"
814
                  label="%command.label.161"
815
                  style="push">
816
               <visibleWhen
817
                     checkEnabled="false">
818
                  <reference
819
                        definitionId="TextEditorActive">
820
                  </reference>
821
               </visibleWhen>
822
            </command>
823
            <command
824
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
825
                  icon="icons/functions/find_incremental_reverse.png"
826
                  label="%command.label.110"
827
                  style="push">
828
               <visibleWhen
829
                     checkEnabled="false">
830
                  <reference
831
                        definitionId="TextEditorActive">
832
                  </reference>
833
               </visibleWhen>
834
            </command>
835
            <command
836
                  commandId="org.eclipse.ui.edit.findIncremental"
837
                  icon="icons/functions/find_incremental.png"
838
                  label="%command.label.109"
839
                  style="push">
840
               <visibleWhen
841
                     checkEnabled="false">
842
                  <reference
843
                        definitionId="TextEditorActive">
844
                  </reference>
845
               </visibleWhen>
846
            </command>
847
            <separator
848
                  name="org.txm.rcp.separator1"
849
                  visible="true">
850
            </separator>
851
            <command
852
                  commandId="org.eclipse.ui.edit.undo"
853
                  label="%command.label.16">
854
               <visibleWhen
855
                     checkEnabled="false">
856
                  <reference
857
                        definitionId="TextEditorActive">
858
                  </reference>
859
               </visibleWhen>
860
            </command>
861
            <command
862
                  commandId="org.eclipse.ui.edit.redo"
863
                  label="%command.label.17">
864
               <visibleWhen
865
                     checkEnabled="false">
866
                  <reference
867
                        definitionId="TextEditorActive">
868
                  </reference>
869
               </visibleWhen>
870
            </command>
871
            <separator
872
                  name="org.txm.rcp.separator2"
873
                  visible="true">
874
            </separator>
875
            <command
876
                  commandId="org.eclipse.ui.edit.cut"
877
                  label="%command.label.18">
878
               <visibleWhen
879
                     checkEnabled="false">
880
                  <reference
881
                        definitionId="TextEditorActive">
882
                  </reference>
883
               </visibleWhen>
884
            </command>
885
            <command
886
                  commandId="org.eclipse.ui.edit.copy"
887
                  label="%command.label.19">
888
               <visibleWhen
889
                     checkEnabled="false">
890
                  <reference
891
                        definitionId="TextEditorActive">
892
                  </reference>
893
               </visibleWhen>
894
            </command>
895
            <command
896
                  commandId="org.eclipse.ui.edit.paste"
897
                  label="%command.label.20">
898
               <visibleWhen
899
                     checkEnabled="false">
900
                  <reference
901
                        definitionId="TextEditorActive">
902
                  </reference>
903
               </visibleWhen>
904
            </command>
905
            <command
906
                  commandId="org.eclipse.ui.edit.delete"
907
                  label="%command.label.27">
908
               <visibleWhen
909
                     checkEnabled="false">
910
                  <reference
911
                        definitionId="TextEditorActive">
912
                  </reference>
913
               </visibleWhen>
914
            </command>
915
            <command
916
                  commandId="org.eclipse.ui.edit.selectAll"
917
                  icon="icons/functions/page_allgreen.png"
918
                  label="%command.label.165">
919
               <visibleWhen
920
                     checkEnabled="false">
921
                  <reference
922
                        definitionId="TextEditorActive">
923
                  </reference>
924
               </visibleWhen>
925
            </command>
926
            <separator
927
                  name="org.txm.rcp.separator3"
928
                  visible="true">
929
            </separator>
930
            <command
931
                  commandId="org.eclipse.ui.edit.text.goto.line"
932
                  icon="icons/functions/goto.png"
933
                  label="%command.label.166"
934
                  style="push">
935
               <visibleWhen
936
                     checkEnabled="false">
937
                  <reference
938
                        definitionId="TextEditorActive">
939
                  </reference>
940
               </visibleWhen>
941
            </command>
942
            <command
943
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
944
                  icon="icons/functions/world.png"
945
                  label="%command.label.133"
946
                  style="push">
947
               <visibleWhen
948
                     checkEnabled="false">
949
                  <reference
950
                        definitionId="TextEditorActive">
951
                  </reference>
952
               </visibleWhen>
953
            </command>
954
            <command
955
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
956
                  icon="icons/functions/encoding.png"
957
                  label="%command.label.30">
958
               <visibleWhen
959
                     checkEnabled="false">
960
                  <reference
961
                        definitionId="TextEditorActive">
962
                  </reference>
963
               </visibleWhen>
964
            </command>
965
            <separator
966
                  name="org.txm.rcp.separator3"
967
                  visible="true">
968
            </separator>
969
            <command
970
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
971
                  icon="icons/functions/lines_number.png"
972
                  label="%command.label.168"
973
                  style="push">
974
               <visibleWhen
975
                     checkEnabled="false">
976
                  <reference
977
                        definitionId="TextEditorActive">
978
                  </reference>
979
               </visibleWhen>
980
            </command>
981
            <command
982
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
983
                  icon="icons/functions/paragraph.png"
984
                  label="%command.label.169"
985
                  style="push"
986
                  tooltip="%command.tooltip.31">
987
               <visibleWhen
988
                     checkEnabled="false">
989
                  <reference
990
                        definitionId="TextEditorActive">
991
                  </reference>
992
               </visibleWhen>
993
            </command>
994
            <command
995
                  commandId="org.eclipse.ui.file.revert"
996
                  icon="icons/functions/page_refresh.png"
997
                  label="%command.label.145"
998
                  style="push">
999
               <visibleWhen
1000
                     checkEnabled="false">
1001
                  <reference
1002
                        definitionId="TextEditorActive">
1003
                  </reference>
1004
               </visibleWhen>
1005
            </command>
1006
            <command
1007
                  commandId="org.eclipse.ui.window.preferences"
1008
                  icon="icons/functions/prefs.png"
1009
                  label="%command.label.4"
1010
                  style="push"
1011
                  tooltip="%command.tooltip.0">
1012
            </command>
1013
         </menu>
1014
         <menu
1015
               id="menu.corpus"
1016
               label="%menu.label.1"
1017
               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;">
1018
            <separator
1019
                  name="menu.corpus.read"
1020
                  visible="true">
1021
            </separator>
1022
            
1023
            <separator
1024
                  name="menu.corpus.build"
1025
                  visible="true">
1026
            </separator>
1027
            <command
1028
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1029
                  icon="icons/functions/update.png"
1030
                  label="Re-import corpus"
1031
                  style="push">
1032
               <visibleWhen
1033
                     checkEnabled="false">
1034
                  <or>
1035
                     <reference
1036
                           definitionId="OneMainCorpusSelected">
1037
                     </reference>
1038
                  </or>
1039
               </visibleWhen>
1040
            </command>
1041
            <command
1042
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1043
                  icon="icons/functions/update.png"
1044
                  label="Force re-import corpus"
1045
                  style="push">
1046
               <visibleWhen
1047
                     checkEnabled="false">
1048
                  <or>
1049
                     <reference
1050
                           definitionId="OneMainCorpusSelected">
1051
                     </reference>
1052
                  </or>
1053
               </visibleWhen>
1054
               <parameter
1055
                     name="org.txm.rcp.commands.workspace.UpdateCorpus.force"
1056
                     value="true">
1057
               </parameter>
1058
            </command>
1059
            <command
1060
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1061
                  icon="icons/functions/Delete.png"
1062
                  style="push">
1063
               <visibleWhen
1064
                     checkEnabled="false">
1065
                  <or>
1066
                     <reference
1067
                           definitionId="OneTXMResultSelected">
1068
                     </reference>
1069
                  </or>
1070
               </visibleWhen>
1071
            </command>
1072
            <separator
1073
                  name="menu.corpus.manage"
1074
                  visible="true">
1075
            </separator>
1076
            <command
1077
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
1078
                  label="Open corpus"
1079
                  style="push">
1080
               <visibleWhen
1081
                     checkEnabled="false">
1082
                  <or>
1083
                     <reference
1084
                           definitionId="OneIProjectSelected">
1085
                     </reference>
1086
                  </or>
1087
               </visibleWhen>
1088
            </command>
1089
            <command
1090
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
1091
                  label="Close corpus"
1092
                  style="push">
1093
               <visibleWhen
1094
                     checkEnabled="false">
1095
                  <or>
1096
                     <reference
1097
                           definitionId="OneMainCorpusSelected">
1098
                     </reference>
1099
                  </or>
1100
               </visibleWhen>
1101
            </command>
1102
            
1103
         </menu>
1104
         <menu
1105
               id="menu.tools"
1106
               label="%menu.label.6">
1107
            <separator
1108
                  name="menu.tools.separator.doc"
1109
                  visible="true">
1110
            </separator>
1111
            
1112
            <separator
1113
                  name="menu.tools.separator.stats"
1114
                  visible="true">
1115
            </separator>
1116
            <separator
1117
                  name="menu.tools.separator.misc"
1118
                  visible="true">
1119
            </separator>
1120
            <separator
1121
                  name="menu.tools.separator.end"
1122
                  visible="true">
1123
            </separator>
1124
         </menu>
1125
         <menu
1126
               id="menu.utilities"
1127
               label="Utilities">
1128
            <dynamic
1129
                  class="org.txm.rcp.menu.MacrosMenuContribution"
1130
                  id="menu.utilities.contribution">
1131
            </dynamic>
1132
         </menu>
1133
         <menu
1134
               id="menu.display"
1135
               label="%menu.label.7"
1136
               tooltip="%menu.tooltip.0">
1137
            <menu
1138
                  id="menu.display.views"
1139
                  label="%menu.label.9">
1140
               <command
1141
                     commandId="org.eclipse.ui.views.showView"
1142
                     label="%command.label.134"
1143
                     style="push">
1144
                  <parameter
1145
                        name="org.eclipse.ui.views.showView.viewId"
1146
                        value="org.txm.rcp.views.corpora.CorporaView">
1147
                  </parameter>
1148
               </command>
1149
               <command
1150
                     commandId="org.eclipse.ui.views.showView"
1151
                     label="%command.label.135"
1152
                     style="push">
1153
                  <parameter
1154
                        name="org.eclipse.ui.views.showView.viewId"
1155
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1156
                  </parameter>
1157
               </command>
1158
               <command
1159
                     commandId="org.eclipse.ui.views.showView"
1160
                     label="%command.label.177"
1161
                     style="push">
1162
                  <parameter
1163
                        name="org.eclipse.ui.views.showView.viewId"
1164
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1165
                  </parameter>
1166
               </command>
1167
               <command
1168
                     commandId="org.eclipse.ui.views.showView"
1169
                     label="%command.label.43"
1170
                     style="push">
1171
                  <parameter
1172
                        name="org.eclipse.ui.views.showView.viewId"
1173
                        value="org.eclipse.ui.console.ConsoleView">
1174
                  </parameter>
1175
               </command>
1176
               <separator
1177
                     name="menu.display.views.separator">
1178
               </separator>
1179
               <command
1180
                     commandId="org.eclipse.ui.views.showView"
1181
                     id="org.eclipse.ui.views.showView"
1182
                     label="%command.label.139"
1183
                     style="push">
1184
               </command>
1185
            </menu>
1186
            <menu
1187
                  id="menu.display.perspectives"
1188
                  label="%menu.label.8">
1189
               <command
1190
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1191
                     label="%command.label.131"
1192
                     style="push">
1193
                  <parameter
1194
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1195
                        value="org.txm.rcp.perspective.TXMPerspective">
1196
                  </parameter>
1197
               </command>
1198
            </menu>
1199
            <command
1200
                  commandId="org.txm.rcp.commands.CleanPerspective"
1201
                  style="push">
1202
            </command>
1203
            <command
1204
                  commandId="org.eclipse.ui.window.newWindow"
1205
                  label="%command.label.157">
1206
            </command>
1207
            <command
1208
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1209
                  label="%command.label.75"
1210
                  style="push"
1211
                  tooltip="%command.tooltip.42">
1212
            </command>
1213
         </menu>
1214
         <menu
1215
               id="menu.help"
1216
               label="%menu.label.2"
1217
               tooltip="%menu.tooltip">
1218
            <command
1219
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1220
                  label="%command.label.173"
1221
                  style="push">
1222
            </command>
1223
            <separator
1224
                  name="org.txm.rcp.separator1"
1225
                  visible="true">
1226
            </separator>
1227
            <menu
1228
                  id="menu.help.documentation"
1229
                  label="Documentation">
1230
               <command
1231
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1232
                     label="%command.label.68"
1233
                     style="push"
1234
                     tooltip="%command.tooltip.23">
1235
                  <parameter
1236
                        name="org.txm.rcp.commands.commandParameter3"
1237
                        value="refman">
1238
                  </parameter>
1239
               </command>
1240
               <command
1241
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1242
                     label="%command.label.70"
1243
                     style="push">
1244
                  <parameter
1245
                        name="org.txm.rcp.commands.commandParameter3"
1246
                        value="sf_docs">
1247
                  </parameter>
1248
               </command>
1249
               <command
1250
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1251
                     label="%command.label.35"
1252
                     style="push"
1253
                     tooltip="%command.tooltip.43">
1254
                  <parameter
1255
                        name="org.txm.rcp.commands.commandParameter3"
1256
                        value="txm-users wiki">
1257
                  </parameter>
1258
               </command>
1259
               <command
1260
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1261
                     label="%command.label.178"
1262
                     style="push"
1263
                     tooltip="%command.tooltip.41">
1264
                  <parameter
1265
                        name="org.txm.rcp.commands.commandParameter3"
1266
                        value="faq">
1267
                  </parameter>
1268
               </command>
1269
               <command
1270
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1271
                     label="%command.label.33"
1272
                     style="push"
1273
                     tooltip="%command.tooltip.13">
1274
                  <parameter
1275
                        name="org.txm.rcp.commands.commandParameter3"
1276
                        value="macros">
1277
                  </parameter>
1278
               </command>
1279
               <menu
1280
                     id="menu.help.plugins"
1281
                     label="%menu.label.4">
1282
               </menu>
1283
               <command
1284
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1285
                     label="%command.label.67"
1286
                     style="push"
1287
                     tooltip="%command.tooltip">
1288
                  <parameter
1289
                        name="org.txm.rcp.commands.commandParameter3"
1290
                        value="treetagger">
1291
                  </parameter>
1292
               </command>
1293
            </menu>
1294
            <command
1295
                  commandId="org.eclipse.ui.window.showKeyAssist"
1296
                  label="%command.label.52"
1297
                  style="push">
1298
            </command>
1299
            <separator
1300
                  name="helpSeparator1"
1301
                  visible="true">
1302
            </separator>
1303
            <menu
1304
                  id="menu.help.ressources"
1305
                  label="Ressources">
1306
               <command
1307
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1308
                     label="%command.label.49"
1309
                     style="push"
1310
                     tooltip="%command.tooltip">
1311
                  <parameter
1312
                        name="org.txm.rcp.commands.commandParameter3"
1313
                        value="corpora">
1314
                  </parameter>
1315
               </command>
1316
               <command
1317
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1318
                     label="%command.label.56"
1319
                     style="push"
1320
                     tooltip="%command.tooltip">
1321
                  <parameter
1322
                        name="org.txm.rcp.commands.commandParameter3"
1323
                        value="sf">
1324
                  </parameter>
1325
               </command>
1326
            </menu>
1327
            <menu
1328
                  id="menu.help.community"
1329
                  label="Community">
1330
               <command
1331
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1332
                     label="%command.label.55"
1333
                     style="push"
1334
                     tooltip="%command.tooltip">
1335
                  <parameter
1336
                        name="org.txm.rcp.commands.commandParameter3"
1337
                        value="mailinglist">
1338
                  </parameter>
1339
               </command>
1340
               <command
1341
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1342
                     label="%command.label.76"
1343
                     style="push"
1344
                     tooltip="%command.tooltip.65">
1345
                  <parameter
1346
                        name="org.txm.rcp.commands.commandParameter3"
1347
                        value="http://webchat.freenode.net/?channels=txm">
1348
                  </parameter>
1349
               </command>
1350
            </menu>
1351
            <separator
1352
                  name="helpSeparator3"
1353
                  visible="true">
1354
            </separator>
1355
            <menu
1356
                  id="menu.help.textometry"
1357
                  label="Textometry project">
1358
               <command
1359
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1360
                     label="%command.label.69"
1361
                     style="push">
1362
                  <parameter
1363
                        name="org.txm.rcp.commands.commandParameter3"
1364
                        value="textometrie">
1365
                  </parameter>
1366
               </command>
1367
               <command
1368
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1369
                     label="%command.label.72"
1370
                     style="push">
1371
                  <parameter
1372
                        name="org.txm.rcp.commands.commandParameter3"
1373
                        value="textometrie_docs">
1374
                  </parameter>
1375
               </command>
1376
            </menu>
1377
            <menu
1378
                  id="menu.help.participate"
1379
                  label="Participate">
1380
               <command
1381
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1382
                     label="%command.label.53"
1383
                     style="push"
1384
                     tooltip="%command.tooltip">
1385
                  <parameter
1386
                        name="org.txm.rcp.commands.commandParameter3"
1387
                        value="bug">
1388
                  </parameter>
1389
               </command>
1390
               <command
1391
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1392
                     label="%command.label.54"
1393
                     style="push"
1394
                     tooltip="%command.tooltip">
1395
                  <parameter
1396
                        name="org.txm.rcp.commands.commandParameter3"
1397
                        value="feature">
1398
                  </parameter>
1399
               </command>
1400
               <command
1401
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1402
                     label="%command.label.179"
1403
                     style="push"
1404
                     tooltip="%command.tooltip.47">
1405
                  <parameter
1406
                        name="org.txm.rcp.commands.commandParameter3"
1407
                        value="contrib">
1408
                  </parameter>
1409
               </command>
1410
            </menu>
1411
            <separator
1412
                  name="org.txm.rcp.separator4"
1413
                  visible="true">
1414
            </separator>
1415
            <command
1416
                  commandId="org.eclipse.ui.help.aboutAction"
1417
                  label="%command.label.14"
1418
                  style="push"
1419
                  tooltip="%command.tooltip.10">
1420
            </command>
1421
         </menu>
1422
         <menu
1423
               id="menu.recettes"
1424
               label="%menu.label.12"
1425
               tooltip="%menu.tooltip.1">
1426
            <visibleWhen
1427
                  checkEnabled="false">
1428
               <or>
1429
                  <reference
1430
                        definitionId="ExpertEnabled">
1431
                  </reference>
1432
               </or>
1433
            </visibleWhen>
1434
         </menu>
1435
      </menuContribution>
1436
      <menuContribution
1437
            allPopups="true"
1438
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1439
         <separator
1440
               name="org.txm.rcp.toolbars.begin"
1441
               visible="false">
1442
         </separator>
1443
         <toolbar
1444
               id="org.txm.rcp.toolbars.result">
1445
            <command
1446
                  commandId="org.txm.rcp.commands.function.ExportResult"
1447
                  icon="icons/functions/export_data.png"
1448
                  label="%command.label.51"
1449
                  style="push">
1450
               <visibleWhen
1451
                     checkEnabled="false">
1452
                  <and>
1453
                     <reference
1454
                           definitionId="OneTXMResultSelected">
1455
                     </reference>
1456
                     <not>
1457
                        <or>
1458
                           <reference
1459
                                 definitionId="OnePartitionSelected">
1460
                           </reference>
1461
                           <reference
1462
                                 definitionId="OneCorpusSelected">
1463
                           </reference>
1464
                        </or>
1465
                     </not>
1466
                  </and>
1467
               </visibleWhen>
1468
            </command>
1469
         </toolbar>
1470
         <separator
1471
               name="org.txm.rcp.toolbar.separator1"
1472
               visible="false">
1473
         </separator>
1474
         <toolbar
1475
               id="org.txm.rcp.toolbarcorpus">
1476
            <separator
1477
                  name="org.txm.rcp.toolbarcorpus.read"
1478
                  visible="false">
1479
            </separator>
1480
            <command
1481
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1482
                  icon="icons/functions/Delete.png"
1483
                  style="push"
1484
                  tooltip="%command.tooltip.33">
1485
               <visibleWhen
1486
                     checkEnabled="false">
1487
                  <or>
1488
                     <reference
1489
                           definitionId="OneTXMResultSelected">
1490
                     </reference>
1491
                  </or>
1492
               </visibleWhen>
1493
            </command>
1494
            
1495
            <separator
1496
                  name="org.txm.rcp.toolbarcorpus.corpus"
1497
                  visible="false">
1498
            </separator>
1499
            <separator
1500
                  name="org.txm.rcp.toolbarcorpus.annotation"
1501
                  visible="false">
1502
            </separator>
1503
         </toolbar>
1504
         <separator
1505
               name="org.txm.rcp.toolbar.separator1"
1506
               visible="true">
1507
         </separator>
1508
         <toolbar
1509
               id="org.txm.rcp.toolbartools">
1510
            <separator
1511
                  name="org.txm.rcp.separator1"
1512
                  visible="true">
1513
            </separator>
1514
            <separator
1515
                  name="org.txm.rcp.toolbartools.stats"
1516
                  visible="true">
1517
            </separator>
1518

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

    
2216
      </menuContribution>
2217

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

    
2552
      <command
2553
            categoryId="org.txm.rcp.category.txm"
2554
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2555
            id="org.txm.rcp.commands.ReloadCorporaView"
2556
            name="%command.name.2">
2557
      </command>
2558
      <command
2559
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2560
            id="org.txm.rcp.commands.function.RenameResult"
2561
            name="%command.name.4">
2562
      </command>
2563
      <command
2564
            categoryId="org.txm.rcp.category.txm"
2565
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2566
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2567
            name="%command.name.64">
2568
      </command>
2569
   </extension>
2570
   <extension
2571
         id="commands"
2572
         name="%extension.name.1"
2573
         point="org.eclipse.ui.commands">
2574

    
2575
      <command
2576
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2577
            id="org.txm.rcp.commands.function.ExportResult"
2578
            name="%command.name.24">
2579
      </command>
2580
      <command
2581
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2582
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2583
            name="%command.name.35">
2584
      </command>
2585
      <command
2586
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2587
            id="org.txm.rcp.commands.function.ExportSVG"
2588
            name="%command.name.34">
2589
      </command>
2590
      <command
2591
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2592
            id="org.txm.rcp.handlers.export.ImportResult"
2593
            name="%command.name.39">
2594
      </command>
2595
      <command
2596
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2597
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2598
            name="%command.name.40">
2599
      </command>
2600
   </extension>
2601
   <extension
2602
         id="links"
2603
         name="%extension.name.2"
2604
         point="org.eclipse.ui.commands">
2605

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

    
3316
</plugin>