Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (125,2 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="[Contrat d&apos;utilisation du logiciel TXM]&#x0A;&#x0A;TXM 0.8.1 Copyright © 2010-2021 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE INSTALLATION OU MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;[TXM Software User Agreement]&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
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.TXMBrowserEditor"
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="Update corpus"
1031
                  style="push"
1032
                  tooltip="Only the modified XML-TXM files will update the texts">
1033
               <visibleWhen
1034
                     checkEnabled="false">
1035
                  <or>
1036
                     <reference
1037
                           definitionId="OneMainCorpusSelected">
1038
                     </reference>
1039
                  </or>
1040
               </visibleWhen>
1041
            </command>
1042
            <command
1043
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1044
                  icon="icons/functions/update.png"
1045
                  label="Force corpus update"
1046
                  style="push"
1047
                  tooltip="All texts will be updated from the XML-TXM files">
1048
               <visibleWhen
1049
                     checkEnabled="false">
1050
                  <or>
1051
                     <reference
1052
                           definitionId="OneMainCorpusSelected">
1053
                     </reference>
1054
                  </or>
1055
               </visibleWhen>
1056
               <parameter
1057
                     name="org.txm.rcp.commands.workspace.UpdateCorpus.force"
1058
                     value="true">
1059
               </parameter>
1060
            </command>
1061
            <command
1062
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1063
                  icon="icons/functions/Delete.png"
1064
                  style="push">
1065
               <visibleWhen
1066
                     checkEnabled="false">
1067
                  <or>
1068
                     <reference
1069
                           definitionId="OneTXMResultSelected">
1070
                     </reference>
1071
                  </or>
1072
               </visibleWhen>
1073
            </command>
1074
            <separator
1075
                  name="menu.corpus.manage"
1076
                  visible="true">
1077
            </separator>
1078
            <command
1079
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
1080
                  label="Open corpus"
1081
                  style="push">
1082
               <visibleWhen
1083
                     checkEnabled="false">
1084
                  <or>
1085
                     <reference
1086
                           definitionId="OneIProjectSelected">
1087
                     </reference>
1088
                  </or>
1089
               </visibleWhen>
1090
            </command>
1091
            <command
1092
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
1093
                  label="Close corpus"
1094
                  style="push">
1095
               <visibleWhen
1096
                     checkEnabled="false">
1097
                  <or>
1098
                     <reference
1099
                           definitionId="OneMainCorpusSelected">
1100
                     </reference>
1101
                  </or>
1102
               </visibleWhen>
1103
            </command>
1104
            
1105
         </menu>
1106
         <menu
1107
               id="menu.tools"
1108
               label="%menu.label.6">
1109
            <separator
1110
                  name="menu.tools.separator.doc"
1111
                  visible="true">
1112
            </separator>
1113
            
1114
            <separator
1115
                  name="menu.tools.separator.stats"
1116
                  visible="true">
1117
            </separator>
1118
            <separator
1119
                  name="menu.tools.separator.misc"
1120
                  visible="true">
1121
            </separator>
1122
            <separator
1123
                  name="menu.tools.separator.end"
1124
                  visible="true">
1125
            </separator>
1126
         </menu>
1127
         <menu
1128
               id="menu.utilities"
1129
               label="Utilities">
1130
            <dynamic
1131
                  class="org.txm.rcp.menu.MacrosMenuContribution"
1132
                  id="menu.utilities.contribution">
1133
            </dynamic>
1134
         </menu>
1135
         <menu
1136
               id="menu.display"
1137
               label="%menu.label.7"
1138
               tooltip="%menu.tooltip.0">
1139
            <menu
1140
                  id="menu.display.views"
1141
                  label="%menu.label.9">
1142
               <command
1143
                     commandId="org.eclipse.ui.views.showView"
1144
                     label="%command.label.134"
1145
                     style="push">
1146
                  <parameter
1147
                        name="org.eclipse.ui.views.showView.viewId"
1148
                        value="org.txm.rcp.views.corpora.CorporaView">
1149
                  </parameter>
1150
               </command>
1151
               <command
1152
                     commandId="org.eclipse.ui.views.showView"
1153
                     label="%command.label.135"
1154
                     style="push">
1155
                  <parameter
1156
                        name="org.eclipse.ui.views.showView.viewId"
1157
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1158
                  </parameter>
1159
               </command>
1160
               <command
1161
                     commandId="org.eclipse.ui.views.showView"
1162
                     label="%command.label.177"
1163
                     style="push">
1164
                  <parameter
1165
                        name="org.eclipse.ui.views.showView.viewId"
1166
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1167
                  </parameter>
1168
               </command>
1169
               <command
1170
                     commandId="org.eclipse.ui.views.showView"
1171
                     label="%command.label.43"
1172
                     style="push">
1173
                  <parameter
1174
                        name="org.eclipse.ui.views.showView.viewId"
1175
                        value="org.eclipse.ui.console.ConsoleView">
1176
                  </parameter>
1177
               </command>
1178
               <separator
1179
                     name="menu.display.views.separator">
1180
               </separator>
1181
               <command
1182
                     commandId="org.eclipse.ui.views.showView"
1183
                     id="org.eclipse.ui.views.showView"
1184
                     label="%command.label.139"
1185
                     style="push">
1186
               </command>
1187
            </menu>
1188
            <menu
1189
                  id="menu.display.perspectives"
1190
                  label="%menu.label.8">
1191
               <command
1192
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1193
                     label="%command.label.131"
1194
                     style="push">
1195
                  <parameter
1196
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1197
                        value="org.txm.rcp.perspective.TXMPerspective">
1198
                  </parameter>
1199
               </command>
1200
            </menu>
1201
            <command
1202
                  commandId="org.txm.rcp.commands.CleanPerspective"
1203
                  style="push">
1204
            </command>
1205
            <command
1206
                  commandId="org.eclipse.ui.window.newWindow"
1207
                  label="%command.label.157">
1208
            </command>
1209
            <command
1210
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1211
                  label="%command.label.75"
1212
                  style="push"
1213
                  tooltip="%command.tooltip.42">
1214
            </command>
1215
         </menu>
1216
         <menu
1217
               id="menu.help"
1218
               label="%menu.label.2"
1219
               tooltip="%menu.tooltip">
1220
            <command
1221
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1222
                  label="%command.label.173"
1223
                  style="push">
1224
            </command>
1225
            <separator
1226
                  name="org.txm.rcp.separator1"
1227
                  visible="true">
1228
            </separator>
1229
            <menu
1230
                  id="menu.help.documentation"
1231
                  label="Documentation">
1232
               <command
1233
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1234
                     label="%command.label.68"
1235
                     style="push"
1236
                     tooltip="%command.tooltip.23">
1237
                  <parameter
1238
                        name="org.txm.rcp.commands.commandParameter3"
1239
                        value="refman">
1240
                  </parameter>
1241
               </command>
1242
               <command
1243
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1244
                     label="%command.label.70"
1245
                     style="push">
1246
                  <parameter
1247
                        name="org.txm.rcp.commands.commandParameter3"
1248
                        value="sf_docs">
1249
                  </parameter>
1250
               </command>
1251
               <command
1252
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1253
                     label="%command.label.35"
1254
                     style="push"
1255
                     tooltip="%command.tooltip.43">
1256
                  <parameter
1257
                        name="org.txm.rcp.commands.commandParameter3"
1258
                        value="txm-users wiki">
1259
                  </parameter>
1260
               </command>
1261
               <command
1262
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1263
                     label="%command.label.178"
1264
                     style="push"
1265
                     tooltip="%command.tooltip.41">
1266
                  <parameter
1267
                        name="org.txm.rcp.commands.commandParameter3"
1268
                        value="faq">
1269
                  </parameter>
1270
               </command>
1271
               <command
1272
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1273
                     label="%command.label.33"
1274
                     style="push"
1275
                     tooltip="%command.tooltip.13">
1276
                  <parameter
1277
                        name="org.txm.rcp.commands.commandParameter3"
1278
                        value="macros">
1279
                  </parameter>
1280
               </command>
1281
               <menu
1282
                     id="menu.help.plugins"
1283
                     label="%menu.label.4">
1284
               </menu>
1285
               <command
1286
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1287
                     label="%command.label.67"
1288
                     style="push"
1289
                     tooltip="%command.tooltip">
1290
                  <parameter
1291
                        name="org.txm.rcp.commands.commandParameter3"
1292
                        value="treetagger">
1293
                  </parameter>
1294
               </command>
1295
            </menu>
1296
            <command
1297
                  commandId="org.eclipse.ui.window.showKeyAssist"
1298
                  label="%command.label.52"
1299
                  style="push">
1300
            </command>
1301
            <separator
1302
                  name="helpSeparator1"
1303
                  visible="true">
1304
            </separator>
1305
            <menu
1306
                  id="menu.help.ressources"
1307
                  label="Ressources">
1308
               <command
1309
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1310
                     label="%command.label.49"
1311
                     style="push"
1312
                     tooltip="%command.tooltip">
1313
                  <parameter
1314
                        name="org.txm.rcp.commands.commandParameter3"
1315
                        value="corpora">
1316
                  </parameter>
1317
               </command>
1318
               <command
1319
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1320
                     label="%command.label.56"
1321
                     style="push"
1322
                     tooltip="%command.tooltip">
1323
                  <parameter
1324
                        name="org.txm.rcp.commands.commandParameter3"
1325
                        value="sf">
1326
                  </parameter>
1327
               </command>
1328
            </menu>
1329
            <menu
1330
                  id="menu.help.community"
1331
                  label="Community">
1332
               <command
1333
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1334
                     label="%command.label.55"
1335
                     style="push"
1336
                     tooltip="%command.tooltip">
1337
                  <parameter
1338
                        name="org.txm.rcp.commands.commandParameter3"
1339
                        value="mailinglist">
1340
                  </parameter>
1341
               </command>
1342
               <command
1343
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1344
                     label="%command.label.76"
1345
                     style="push"
1346
                     tooltip="%command.tooltip.65">
1347
                  <parameter
1348
                        name="org.txm.rcp.commands.commandParameter3"
1349
                        value="http://webchat.freenode.net/?channels=txm">
1350
                  </parameter>
1351
               </command>
1352
            </menu>
1353
            <separator
1354
                  name="helpSeparator3"
1355
                  visible="true">
1356
            </separator>
1357
            <menu
1358
                  id="menu.help.textometry"
1359
                  label="Textometry project">
1360
               <command
1361
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1362
                     label="%command.label.69"
1363
                     style="push">
1364
                  <parameter
1365
                        name="org.txm.rcp.commands.commandParameter3"
1366
                        value="textometrie">
1367
                  </parameter>
1368
               </command>
1369
               <command
1370
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1371
                     label="%command.label.72"
1372
                     style="push">
1373
                  <parameter
1374
                        name="org.txm.rcp.commands.commandParameter3"
1375
                        value="textometrie_docs">
1376
                  </parameter>
1377
               </command>
1378
            </menu>
1379
            <menu
1380
                  id="menu.help.participate"
1381
                  label="Participate">
1382
               <command
1383
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1384
                     label="%command.label.53"
1385
                     style="push"
1386
                     tooltip="%command.tooltip">
1387
                  <parameter
1388
                        name="org.txm.rcp.commands.commandParameter3"
1389
                        value="bug">
1390
                  </parameter>
1391
               </command>
1392
               <command
1393
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1394
                     label="%command.label.54"
1395
                     style="push"
1396
                     tooltip="%command.tooltip">
1397
                  <parameter
1398
                        name="org.txm.rcp.commands.commandParameter3"
1399
                        value="feature">
1400
                  </parameter>
1401
               </command>
1402
               <command
1403
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1404
                     label="%command.label.179"
1405
                     style="push"
1406
                     tooltip="%command.tooltip.47">
1407
                  <parameter
1408
                        name="org.txm.rcp.commands.commandParameter3"
1409
                        value="contrib">
1410
                  </parameter>
1411
               </command>
1412
            </menu>
1413
            <separator
1414
                  name="org.txm.rcp.separator4"
1415
                  visible="true">
1416
            </separator>
1417
            <command
1418
                  commandId="org.eclipse.ui.help.aboutAction"
1419
                  label="%command.label.14"
1420
                  style="push"
1421
                  tooltip="%command.tooltip.10">
1422
            </command>
1423
         </menu>
1424
         <menu
1425
               id="menu.recettes"
1426
               label="%menu.label.12"
1427
               tooltip="%menu.tooltip.1">
1428
            <visibleWhen
1429
                  checkEnabled="false">
1430
               <or>
1431
                  <reference
1432
                        definitionId="ExpertEnabled">
1433
                  </reference>
1434
               </or>
1435
            </visibleWhen>
1436
         </menu>
1437
      </menuContribution>
1438
      <menuContribution
1439
            allPopups="true"
1440
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1441
         <separator
1442
               name="org.txm.rcp.toolbars.begin"
1443
               visible="false">
1444
         </separator>
1445
         <toolbar
1446
               id="org.txm.rcp.toolbars.result">
1447
            <command
1448
                  commandId="org.txm.rcp.commands.function.ExportResult"
1449
                  icon="icons/functions/export_data.png"
1450
                  label="%command.label.51"
1451
                  style="push">
1452
               <visibleWhen
1453
                     checkEnabled="false">
1454
                  <and>
1455
                     <reference
1456
                           definitionId="OneTXMResultSelected">
1457
                     </reference>
1458
                     <not>
1459
                        <or>
1460
                           <reference
1461
                                 definitionId="OnePartitionSelected">
1462
                           </reference>
1463
                           <reference
1464
                                 definitionId="OneCorpusSelected">
1465
                           </reference>
1466
                        </or>
1467
                     </not>
1468
                  </and>
1469
               </visibleWhen>
1470
            </command>
1471
         </toolbar>
1472
         <separator
1473
               name="org.txm.rcp.toolbar.separator1"
1474
               visible="false">
1475
         </separator>
1476
         <toolbar
1477
               id="org.txm.rcp.toolbarcorpus">
1478
            <separator
1479
                  name="org.txm.rcp.toolbarcorpus.read"
1480
                  visible="false">
1481
            </separator>
1482
            <command
1483
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1484
                  icon="icons/functions/Delete.png"
1485
                  style="push"
1486
                  tooltip="%command.tooltip.33">
1487
               <visibleWhen
1488
                     checkEnabled="false">
1489
                  <or>
1490
                     <reference
1491
                           definitionId="OneTXMResultSelected">
1492
                     </reference>
1493
                  </or>
1494
               </visibleWhen>
1495
            </command>
1496
            
1497
            <separator
1498
                  name="org.txm.rcp.toolbarcorpus.corpus"
1499
                  visible="false">
1500
            </separator>
1501
            <separator
1502
                  name="org.txm.rcp.toolbarcorpus.annotation"
1503
                  visible="false">
1504
            </separator>
1505
         </toolbar>
1506
         <separator
1507
               name="org.txm.rcp.toolbar.separator1"
1508
               visible="true">
1509
         </separator>
1510
         <toolbar
1511
               id="org.txm.rcp.toolbartools">
1512
            <separator
1513
                  name="org.txm.rcp.separator1"
1514
                  visible="true">
1515
            </separator>
1516
            <separator
1517
                  name="org.txm.rcp.toolbartools.stats"
1518
                  visible="true">
1519
            </separator>
1520

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

    
2218
      </menuContribution>
2219

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

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

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

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

    
3326
</plugin>