Statistiques
| Révision :

root / TXM / main / org.txm.rcp / plugin.xml @ 3284

Historique | Voir | Annoter | Télécharger (125,34 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
               <menu
553
                     id="menu.file.export.annotations"
554
                     label="Annotations">
555
               </menu>
556
               <command
557
                     commandId="org.txm.rcp.commands.function.ExportResult"
558
                     icon="icons/functions/export_data.png"
559
                     label="%command.label.51"
560
                     style="push">
561
                  <visibleWhen
562
                        checkEnabled="false">
563
                     <and>
564
                        <reference
565
                              definitionId="OneTXMResultSelected">
566
                        </reference>
567
                        <not>
568
                           <or>
569
                              <reference
570
                                    definitionId="OnePartitionSelected">
571
                              </reference>
572
                              <reference
573
                                    definitionId="OneCorpusSelected">
574
                              </reference>
575
                           </or>
576
                        </not>
577
                     </and>
578
                  </visibleWhen>
579
               </command>
580
            </menu>
581
            <separator
582
                  name="menu.file.separator.file"
583
                  visible="true">
584
            </separator>
585
            <command
586
                  commandId="org.txm.rcp.commands.CreateFile"
587
                  icon="icons/functions/page_white_add.png"
588
                  label="%command.label.83">
589
            </command>
590
            <command
591
                  commandId="org.txm.rcp.handlers.files.EditFile"
592
                  icon="icons/functions/open.png"
593
                  id="file.open"
594
                  label="%command.label.45"
595
                  style="push">
596
            </command>
597
            <command
598
                  commandId="org.eclipse.ui.file.save"
599
                  icon="icons/functions/save.png"
600
                  label="%command.label.86">
601
            </command>
602
            <command
603
                  commandId="org.eclipse.ui.file.saveAll"
604
                  icon="icons/functions/saveall.png"
605
                  label="%command.label.88">
606
            </command>
607
            <command
608
                  commandId="org.txm.rcp.commands.editor.SaveAs"
609
                  icon="icons/functions/saveas.png"
610
                  label="%command.label.29">
611
               <visibleWhen
612
                     checkEnabled="false">
613
                  <reference
614
                        definitionId="TextEditorActive">
615
                  </reference>
616
               </visibleWhen>
617
            </command>
618
            <command
619
                  commandId="org.eclipse.ui.file.close"
620
                  label="%command.label.90">
621
            </command>
622
            <command
623
                  commandId="org.eclipse.ui.file.closeAll"
624
                  label="%command.label.93">
625
            </command>
626
            <separator
627
                  name="menu.file.separator.open"
628
                  visible="true">
629
            </separator>
630
            <command
631
                  commandId="org.txm.rcp.commands.OpenBrowser"
632
                  label="%command.label"
633
                  style="push"
634
                  tooltip="%command.tooltip">
635
            </command>
636
            <separator
637
                  name="menu.file.separator.lang"
638
                  visible="true">
639
            </separator>
640
            <separator
641
                  name="menu.file.separator.update"
642
                  visible="true">
643
            </separator>
644
            <command
645
                  commandId="org.txm.rcp.p2.plugins.TXMUpdateHandler"
646
                  label="%command.label.181"
647
                  style="push">
648
               <parameter
649
                     name="org.txm.rcp.parameters.update"
650
                     value="true">
651
               </parameter>
652
            </command>
653
            <command
654
                  commandId="org.txm.rcp.p2.plugins.InstallPluginHandler"
655
                  label="%command.label.182"
656
                  style="push">
657
            </command>
658
            <command
659
                  commandId="org.eclipse.equinox.p2.ui.sdk.install"
660
                  label="%command.label.34"
661
                  style="push">
662
            </command>
663
            <separator
664
                  name="menu.file.separator.close"
665
                  visible="true">
666
            </separator>
667
            <command
668
                  commandId="org.txm.rcp.commands.RestartTXM"
669
                  label="%command.label.59"
670
                  style="push"
671
                  tooltip="%command.tooltip.26">
672
            </command>
673
            <command
674
                  commandId="org.txm.rcp.commands.ChangeTXMWorkspace"
675
                  style="push">
676
            </command>
677
            <command
678
                  commandId="org.eclipse.ui.file.exit"
679
                  label="%command.label.6"
680
                  style="push"
681
                  tooltip="%command.tooltip.2">
682
            </command>
683
         </menu>
684
         <menu
685
               id="menu.edit"
686
               label="%menu.label.3">
687
               
688
               <command
689
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
690
                  mode="FORCE_TEXT"
691
                  style="toggle">
692
               <visibleWhen
693
                     checkEnabled="false">
694
                  <and>
695
                     <reference
696
                           definitionId="OneTXMResultSelected">
697
                     </reference>
698
                     <test
699
                           property="org.txm.rcp.testers.persistable"
700
                           value="true">
701
                     </test>
702
                     <test
703
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
704
                     </test>
705
                  </and>
706
               </visibleWhen>
707
            </command>
708
            <command
709
                  commandId="org.txm.rcp.commands.function.RenameResult"
710
                  label="%command.label.26"
711
                  style="push">
712
               <visibleWhen
713
                     checkEnabled="false">
714
                  <reference
715
                        definitionId="OneTXMResultSelected">
716
                  </reference>
717
               </visibleWhen>
718
            </command>
719
            <command
720
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
721
                  label="%command.label.37"
722
                  style="push">
723
               <visibleWhen
724
                     checkEnabled="false">
725
                  <and>
726
                     <reference
727
                           definitionId="OneTXMResultSelected">
728
                     </reference>
729
                     <not>
730
                        <reference
731
                              definitionId="OneMainCorpusSelected">
732
                        </reference>
733
                     </not>
734
                  </and>
735
               </visibleWhen>
736
            </command>
737
            <command
738
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
739
                  label="%command.label.38"
740
                  style="push">
741
               <visibleWhen
742
                     checkEnabled="false">
743
                  <and>
744
                     <reference
745
                           definitionId="OneTXMResultSelected">
746
                     </reference>
747
                     <not>
748
                        <reference
749
                              definitionId="OneMainCorpusSelected">
750
                        </reference>
751
                     </not>
752
                  </and>
753
               </visibleWhen>
754
            </command>
755
            <command
756
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
757
                  label="%command.label.42"
758
                  style="push">
759
               <visibleWhen
760
                     checkEnabled="false">
761
                  <and>
762
                     <reference
763
                           definitionId="OneTXMResultSelected">
764
                     </reference>
765
                     <test
766
                           property="org.txm.rcp.testers.IsParentHidden">
767
                     </test>
768
                  </and>
769
               </visibleWhen>
770
            </command>
771
            <command
772
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
773
                  label="%command.label.48"
774
                  style="push">
775
               <visibleWhen
776
                     checkEnabled="false">
777
                  <and>
778
                     <reference
779
                           definitionId="OneTXMResultSelected">
780
                     </reference>
781
                     <test
782
                           property="org.txm.rcp.testers.IsParentVisible"
783
                           value="true">
784
                     </test>
785
                  </and>
786
               </visibleWhen>
787
            </command>
788
            <separator
789
                  name="org.txm.rcp.separator1">
790
            </separator>
791
            
792
            <command
793
                  commandId="org.eclipse.ui.edit.findReplace"
794
                  icon="icons/functions/find.png"
795
                  label="%command.label.159">
796
               <visibleWhen
797
                     checkEnabled="false">
798
                  <reference
799
                        definitionId="TextEditorActive">
800
                  </reference>
801
               </visibleWhen>
802
            </command>
803
            <command
804
                  commandId="org.eclipse.ui.edit.findPrevious"
805
                  icon="icons/functions/find_previous.png"
806
                  label="%command.label.160"
807
                  style="push">
808
               <visibleWhen
809
                     checkEnabled="false">
810
                  <reference
811
                        definitionId="TextEditorActive">
812
                  </reference>
813
               </visibleWhen>
814
            </command>
815
            <command
816
                  commandId="org.eclipse.ui.edit.findNext"
817
                  icon="icons/functions/find_next.png"
818
                  label="%command.label.161"
819
                  style="push">
820
               <visibleWhen
821
                     checkEnabled="false">
822
                  <reference
823
                        definitionId="TextEditorActive">
824
                  </reference>
825
               </visibleWhen>
826
            </command>
827
            <command
828
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
829
                  icon="icons/functions/find_incremental_reverse.png"
830
                  label="%command.label.110"
831
                  style="push">
832
               <visibleWhen
833
                     checkEnabled="false">
834
                  <reference
835
                        definitionId="TextEditorActive">
836
                  </reference>
837
               </visibleWhen>
838
            </command>
839
            <command
840
                  commandId="org.eclipse.ui.edit.findIncremental"
841
                  icon="icons/functions/find_incremental.png"
842
                  label="%command.label.109"
843
                  style="push">
844
               <visibleWhen
845
                     checkEnabled="false">
846
                  <reference
847
                        definitionId="TextEditorActive">
848
                  </reference>
849
               </visibleWhen>
850
            </command>
851
            <separator
852
                  name="org.txm.rcp.separator1"
853
                  visible="true">
854
            </separator>
855
            <command
856
                  commandId="org.eclipse.ui.edit.undo"
857
                  label="%command.label.16">
858
               <visibleWhen
859
                     checkEnabled="false">
860
                  <reference
861
                        definitionId="TextEditorActive">
862
                  </reference>
863
               </visibleWhen>
864
            </command>
865
            <command
866
                  commandId="org.eclipse.ui.edit.redo"
867
                  label="%command.label.17">
868
               <visibleWhen
869
                     checkEnabled="false">
870
                  <reference
871
                        definitionId="TextEditorActive">
872
                  </reference>
873
               </visibleWhen>
874
            </command>
875
            <separator
876
                  name="org.txm.rcp.separator2"
877
                  visible="true">
878
            </separator>
879
            <command
880
                  commandId="org.eclipse.ui.edit.cut"
881
                  label="%command.label.18">
882
               <visibleWhen
883
                     checkEnabled="false">
884
                  <reference
885
                        definitionId="TextEditorActive">
886
                  </reference>
887
               </visibleWhen>
888
            </command>
889
            <command
890
                  commandId="org.eclipse.ui.edit.copy"
891
                  label="%command.label.19">
892
               <visibleWhen
893
                     checkEnabled="false">
894
                  <reference
895
                        definitionId="TextEditorActive">
896
                  </reference>
897
               </visibleWhen>
898
            </command>
899
            <command
900
                  commandId="org.eclipse.ui.edit.paste"
901
                  label="%command.label.20">
902
               <visibleWhen
903
                     checkEnabled="false">
904
                  <reference
905
                        definitionId="TextEditorActive">
906
                  </reference>
907
               </visibleWhen>
908
            </command>
909
            <command
910
                  commandId="org.eclipse.ui.edit.delete"
911
                  label="%command.label.27">
912
               <visibleWhen
913
                     checkEnabled="false">
914
                  <reference
915
                        definitionId="TextEditorActive">
916
                  </reference>
917
               </visibleWhen>
918
            </command>
919
            <command
920
                  commandId="org.eclipse.ui.edit.selectAll"
921
                  icon="icons/functions/page_allgreen.png"
922
                  label="%command.label.165">
923
               <visibleWhen
924
                     checkEnabled="false">
925
                  <reference
926
                        definitionId="TextEditorActive">
927
                  </reference>
928
               </visibleWhen>
929
            </command>
930
            <separator
931
                  name="org.txm.rcp.separator3"
932
                  visible="true">
933
            </separator>
934
            <command
935
                  commandId="org.eclipse.ui.edit.text.goto.line"
936
                  icon="icons/functions/goto.png"
937
                  label="%command.label.166"
938
                  style="push">
939
               <visibleWhen
940
                     checkEnabled="false">
941
                  <reference
942
                        definitionId="TextEditorActive">
943
                  </reference>
944
               </visibleWhen>
945
            </command>
946
            <command
947
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
948
                  icon="icons/functions/world.png"
949
                  label="%command.label.133"
950
                  style="push">
951
               <visibleWhen
952
                     checkEnabled="false">
953
                  <reference
954
                        definitionId="TextEditorActive">
955
                  </reference>
956
               </visibleWhen>
957
            </command>
958
            <command
959
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
960
                  icon="icons/functions/encoding.png"
961
                  label="%command.label.30">
962
               <visibleWhen
963
                     checkEnabled="false">
964
                  <reference
965
                        definitionId="TextEditorActive">
966
                  </reference>
967
               </visibleWhen>
968
            </command>
969
            <separator
970
                  name="org.txm.rcp.separator3"
971
                  visible="true">
972
            </separator>
973
            <command
974
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
975
                  icon="icons/functions/lines_number.png"
976
                  label="%command.label.168"
977
                  style="push">
978
               <visibleWhen
979
                     checkEnabled="false">
980
                  <reference
981
                        definitionId="TextEditorActive">
982
                  </reference>
983
               </visibleWhen>
984
            </command>
985
            <command
986
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
987
                  icon="icons/functions/paragraph.png"
988
                  label="%command.label.169"
989
                  style="push"
990
                  tooltip="%command.tooltip.31">
991
               <visibleWhen
992
                     checkEnabled="false">
993
                  <reference
994
                        definitionId="TextEditorActive">
995
                  </reference>
996
               </visibleWhen>
997
            </command>
998
            <command
999
                  commandId="org.eclipse.ui.file.revert"
1000
                  icon="icons/functions/page_refresh.png"
1001
                  label="%command.label.145"
1002
                  style="push">
1003
               <visibleWhen
1004
                     checkEnabled="false">
1005
                  <reference
1006
                        definitionId="TextEditorActive">
1007
                  </reference>
1008
               </visibleWhen>
1009
            </command>
1010
            <command
1011
                  commandId="org.eclipse.ui.window.preferences"
1012
                  icon="icons/functions/prefs.png"
1013
                  label="%command.label.4"
1014
                  style="push"
1015
                  tooltip="%command.tooltip.0">
1016
            </command>
1017
         </menu>
1018
         <menu
1019
               id="menu.corpus"
1020
               label="%menu.label.1"
1021
               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;">
1022
            <separator
1023
                  name="menu.corpus.read"
1024
                  visible="true">
1025
            </separator>
1026
            
1027
            <separator
1028
                  name="menu.corpus.build"
1029
                  visible="true">
1030
            </separator>
1031
            <command
1032
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1033
                  icon="icons/functions/update.png"
1034
                  label="%command.name.98"
1035
                  style="push"
1036
                  tooltip="Only the modified XML-TXM files will update the texts">
1037
               <visibleWhen
1038
                     checkEnabled="false">
1039
                  <or>
1040
                     <reference
1041
                           definitionId="OneMainCorpusSelected">
1042
                     </reference>
1043
                  </or>
1044
               </visibleWhen>
1045
            </command>
1046
            <command
1047
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1048
                  icon="icons/functions/update.png"
1049
                  label="%command.name.981"
1050
                  style="push"
1051
                  tooltip="All texts will be updated from the XML-TXM files">
1052
               <visibleWhen
1053
                     checkEnabled="false">
1054
                  <or>
1055
                     <reference
1056
                           definitionId="OneMainCorpusSelected">
1057
                     </reference>
1058
                  </or>
1059
               </visibleWhen>
1060
               <parameter
1061
                     name="org.txm.rcp.commands.workspace.UpdateCorpus.force"
1062
                     value="true">
1063
               </parameter>
1064
            </command>
1065
            <command
1066
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1067
                  icon="icons/functions/Delete.png"
1068
                  style="push">
1069
               <visibleWhen
1070
                     checkEnabled="false">
1071
                  <or>
1072
                     <reference
1073
                           definitionId="OneTXMResultSelected">
1074
                     </reference>
1075
                  </or>
1076
               </visibleWhen>
1077
            </command>
1078
            <separator
1079
                  name="menu.corpus.manage"
1080
                  visible="true">
1081
            </separator>
1082
            <command
1083
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
1084
                  label="Open corpus"
1085
                  style="push">
1086
               <visibleWhen
1087
                     checkEnabled="false">
1088
                  <or>
1089
                     <reference
1090
                           definitionId="OneIProjectSelected">
1091
                     </reference>
1092
                  </or>
1093
               </visibleWhen>
1094
            </command>
1095
            <command
1096
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
1097
                  label="Close corpus"
1098
                  style="push">
1099
               <visibleWhen
1100
                     checkEnabled="false">
1101
                  <or>
1102
                     <reference
1103
                           definitionId="OneMainCorpusSelected">
1104
                     </reference>
1105
                  </or>
1106
               </visibleWhen>
1107
            </command>
1108
            
1109
         </menu>
1110
         <menu
1111
               id="menu.tools"
1112
               label="%menu.label.6">
1113
            <separator
1114
                  name="menu.tools.separator.doc"
1115
                  visible="true">
1116
            </separator>
1117
            
1118
            <separator
1119
                  name="menu.tools.separator.stats"
1120
                  visible="true">
1121
            </separator>
1122
            <separator
1123
                  name="menu.tools.separator.misc"
1124
                  visible="true">
1125
            </separator>
1126
            <separator
1127
                  name="menu.tools.separator.end"
1128
                  visible="true">
1129
            </separator>
1130
         </menu>
1131
         <menu
1132
               id="menu.utilities"
1133
               label="Utilities">
1134
            <dynamic
1135
                  class="org.txm.rcp.menu.MacrosMenuContribution"
1136
                  id="menu.utilities.contribution">
1137
            </dynamic>
1138
         </menu>
1139
         <menu
1140
               id="menu.display"
1141
               label="%menu.label.7"
1142
               tooltip="%menu.tooltip.0">
1143
            <menu
1144
                  id="menu.display.views"
1145
                  label="%menu.label.9">
1146
               <command
1147
                     commandId="org.eclipse.ui.views.showView"
1148
                     label="%command.label.134"
1149
                     style="push">
1150
                  <parameter
1151
                        name="org.eclipse.ui.views.showView.viewId"
1152
                        value="org.txm.rcp.views.corpora.CorporaView">
1153
                  </parameter>
1154
               </command>
1155
               <command
1156
                     commandId="org.eclipse.ui.views.showView"
1157
                     label="%command.label.135"
1158
                     style="push">
1159
                  <parameter
1160
                        name="org.eclipse.ui.views.showView.viewId"
1161
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1162
                  </parameter>
1163
               </command>
1164
               <command
1165
                     commandId="org.eclipse.ui.views.showView"
1166
                     label="%command.label.177"
1167
                     style="push">
1168
                  <parameter
1169
                        name="org.eclipse.ui.views.showView.viewId"
1170
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1171
                  </parameter>
1172
               </command>
1173
               <command
1174
                     commandId="org.eclipse.ui.views.showView"
1175
                     label="%command.label.43"
1176
                     style="push">
1177
                  <parameter
1178
                        name="org.eclipse.ui.views.showView.viewId"
1179
                        value="org.eclipse.ui.console.ConsoleView">
1180
                  </parameter>
1181
               </command>
1182
               <separator
1183
                     name="menu.display.views.separator">
1184
               </separator>
1185
               <command
1186
                     commandId="org.eclipse.ui.views.showView"
1187
                     id="org.eclipse.ui.views.showView"
1188
                     label="%command.label.139"
1189
                     style="push">
1190
               </command>
1191
            </menu>
1192
            <menu
1193
                  id="menu.display.perspectives"
1194
                  label="%menu.label.8">
1195
               <command
1196
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1197
                     label="%command.label.131"
1198
                     style="push">
1199
                  <parameter
1200
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1201
                        value="org.txm.rcp.perspective.TXMPerspective">
1202
                  </parameter>
1203
               </command>
1204
            </menu>
1205
            <command
1206
                  commandId="org.txm.rcp.commands.CleanPerspective"
1207
                  style="push">
1208
            </command>
1209
            <command
1210
                  commandId="org.eclipse.ui.window.newWindow"
1211
                  label="%command.label.157">
1212
            </command>
1213
            <command
1214
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1215
                  label="%command.label.75"
1216
                  style="push"
1217
                  tooltip="%command.tooltip.42">
1218
            </command>
1219
         </menu>
1220
         <menu
1221
               id="menu.help"
1222
               label="%menu.label.2"
1223
               tooltip="%menu.tooltip">
1224
            <command
1225
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1226
                  label="%command.label.173"
1227
                  style="push">
1228
            </command>
1229
            <separator
1230
                  name="org.txm.rcp.separator1"
1231
                  visible="true">
1232
            </separator>
1233
            <menu
1234
                  id="menu.help.documentation"
1235
                  label="Documentation">
1236
               <command
1237
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1238
                     label="%command.label.68"
1239
                     style="push"
1240
                     tooltip="%command.tooltip.23">
1241
                  <parameter
1242
                        name="org.txm.rcp.commands.commandParameter3"
1243
                        value="refman">
1244
                  </parameter>
1245
               </command>
1246
               <command
1247
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1248
                     label="%command.label.70"
1249
                     style="push">
1250
                  <parameter
1251
                        name="org.txm.rcp.commands.commandParameter3"
1252
                        value="sf_docs">
1253
                  </parameter>
1254
               </command>
1255
               <command
1256
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1257
                     label="%command.label.35"
1258
                     style="push"
1259
                     tooltip="%command.tooltip.43">
1260
                  <parameter
1261
                        name="org.txm.rcp.commands.commandParameter3"
1262
                        value="txm-users wiki">
1263
                  </parameter>
1264
               </command>
1265
               <command
1266
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1267
                     label="%command.label.178"
1268
                     style="push"
1269
                     tooltip="%command.tooltip.41">
1270
                  <parameter
1271
                        name="org.txm.rcp.commands.commandParameter3"
1272
                        value="faq">
1273
                  </parameter>
1274
               </command>
1275
               <command
1276
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1277
                     label="%command.label.33"
1278
                     style="push"
1279
                     tooltip="%command.tooltip.13">
1280
                  <parameter
1281
                        name="org.txm.rcp.commands.commandParameter3"
1282
                        value="macros">
1283
                  </parameter>
1284
               </command>
1285
               <menu
1286
                     id="menu.help.plugins"
1287
                     label="%menu.label.4">
1288
               </menu>
1289
               <command
1290
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1291
                     label="%command.label.67"
1292
                     style="push"
1293
                     tooltip="%command.tooltip">
1294
                  <parameter
1295
                        name="org.txm.rcp.commands.commandParameter3"
1296
                        value="treetagger">
1297
                  </parameter>
1298
               </command>
1299
            </menu>
1300
            <command
1301
                  commandId="org.eclipse.ui.window.showKeyAssist"
1302
                  label="%command.label.52"
1303
                  style="push">
1304
            </command>
1305
            <separator
1306
                  name="helpSeparator1"
1307
                  visible="true">
1308
            </separator>
1309
            <menu
1310
                  id="menu.help.ressources"
1311
                  label="Ressources">
1312
               <command
1313
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1314
                     label="%command.label.49"
1315
                     style="push"
1316
                     tooltip="%command.tooltip">
1317
                  <parameter
1318
                        name="org.txm.rcp.commands.commandParameter3"
1319
                        value="corpora">
1320
                  </parameter>
1321
               </command>
1322
               <command
1323
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1324
                     label="%command.label.56"
1325
                     style="push"
1326
                     tooltip="%command.tooltip">
1327
                  <parameter
1328
                        name="org.txm.rcp.commands.commandParameter3"
1329
                        value="sf">
1330
                  </parameter>
1331
               </command>
1332
            </menu>
1333
            <menu
1334
                  id="menu.help.community"
1335
                  label="Community">
1336
               <command
1337
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1338
                     label="%command.label.55"
1339
                     style="push"
1340
                     tooltip="%command.tooltip">
1341
                  <parameter
1342
                        name="org.txm.rcp.commands.commandParameter3"
1343
                        value="mailinglist">
1344
                  </parameter>
1345
               </command>
1346
               <command
1347
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1348
                     label="%command.label.76"
1349
                     style="push"
1350
                     tooltip="%command.tooltip.65">
1351
                  <parameter
1352
                        name="org.txm.rcp.commands.commandParameter3"
1353
                        value="http://webchat.freenode.net/?channels=txm">
1354
                  </parameter>
1355
               </command>
1356
            </menu>
1357
            <separator
1358
                  name="helpSeparator3"
1359
                  visible="true">
1360
            </separator>
1361
            <menu
1362
                  id="menu.help.textometry"
1363
                  label="Textometry project">
1364
               <command
1365
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1366
                     label="%command.label.69"
1367
                     style="push">
1368
                  <parameter
1369
                        name="org.txm.rcp.commands.commandParameter3"
1370
                        value="textometrie">
1371
                  </parameter>
1372
               </command>
1373
               <command
1374
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1375
                     label="%command.label.72"
1376
                     style="push">
1377
                  <parameter
1378
                        name="org.txm.rcp.commands.commandParameter3"
1379
                        value="textometrie_docs">
1380
                  </parameter>
1381
               </command>
1382
            </menu>
1383
            <menu
1384
                  id="menu.help.participate"
1385
                  label="Participate">
1386
               <command
1387
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1388
                     label="%command.label.53"
1389
                     style="push"
1390
                     tooltip="%command.tooltip">
1391
                  <parameter
1392
                        name="org.txm.rcp.commands.commandParameter3"
1393
                        value="bug">
1394
                  </parameter>
1395
               </command>
1396
               <command
1397
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1398
                     label="%command.label.54"
1399
                     style="push"
1400
                     tooltip="%command.tooltip">
1401
                  <parameter
1402
                        name="org.txm.rcp.commands.commandParameter3"
1403
                        value="feature">
1404
                  </parameter>
1405
               </command>
1406
               <command
1407
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1408
                     label="%command.label.179"
1409
                     style="push"
1410
                     tooltip="%command.tooltip.47">
1411
                  <parameter
1412
                        name="org.txm.rcp.commands.commandParameter3"
1413
                        value="contrib">
1414
                  </parameter>
1415
               </command>
1416
            </menu>
1417
            <separator
1418
                  name="org.txm.rcp.separator4"
1419
                  visible="true">
1420
            </separator>
1421
            <command
1422
                  commandId="org.eclipse.ui.help.aboutAction"
1423
                  label="%command.label.14"
1424
                  style="push"
1425
                  tooltip="%command.tooltip.10">
1426
            </command>
1427
         </menu>
1428
         <menu
1429
               id="menu.recettes"
1430
               label="%menu.label.12"
1431
               tooltip="%menu.tooltip.1">
1432
            <visibleWhen
1433
                  checkEnabled="false">
1434
               <or>
1435
                  <reference
1436
                        definitionId="ExpertEnabled">
1437
                  </reference>
1438
               </or>
1439
            </visibleWhen>
1440
         </menu>
1441
      </menuContribution>
1442
      <menuContribution
1443
            allPopups="true"
1444
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1445
         <separator
1446
               name="org.txm.rcp.toolbars.begin"
1447
               visible="false">
1448
         </separator>
1449
         <toolbar
1450
               id="org.txm.rcp.toolbars.result">
1451
            <command
1452
                  commandId="org.txm.rcp.commands.function.ExportResult"
1453
                  icon="icons/functions/export_data.png"
1454
                  label="%command.label.51"
1455
                  style="push">
1456
               <visibleWhen
1457
                     checkEnabled="false">
1458
                  <and>
1459
                     <reference
1460
                           definitionId="OneTXMResultSelected">
1461
                     </reference>
1462
                     <not>
1463
                        <or>
1464
                           <reference
1465
                                 definitionId="OnePartitionSelected">
1466
                           </reference>
1467
                           <reference
1468
                                 definitionId="OneCorpusSelected">
1469
                           </reference>
1470
                        </or>
1471
                     </not>
1472
                  </and>
1473
               </visibleWhen>
1474
            </command>
1475
         </toolbar>
1476
         <separator
1477
               name="org.txm.rcp.toolbar.separator1"
1478
               visible="false">
1479
         </separator>
1480
         <toolbar
1481
               id="org.txm.rcp.toolbarcorpus">
1482
            <separator
1483
                  name="org.txm.rcp.toolbarcorpus.read"
1484
                  visible="false">
1485
            </separator>
1486
            <command
1487
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1488
                  icon="icons/functions/Delete.png"
1489
                  style="push"
1490
                  tooltip="%command.tooltip.33">
1491
               <visibleWhen
1492
                     checkEnabled="false">
1493
                  <or>
1494
                     <reference
1495
                           definitionId="OneTXMResultSelected">
1496
                     </reference>
1497
                  </or>
1498
               </visibleWhen>
1499
            </command>
1500
            
1501
            <separator
1502
                  name="org.txm.rcp.toolbarcorpus.corpus"
1503
                  visible="false">
1504
            </separator>
1505
            <separator
1506
                  name="org.txm.rcp.toolbarcorpus.annotation"
1507
                  visible="false">
1508
            </separator>
1509
         </toolbar>
1510
         <separator
1511
               name="org.txm.rcp.toolbar.separator1"
1512
               visible="true">
1513
         </separator>
1514
         <toolbar
1515
               id="org.txm.rcp.toolbartools">
1516
            <separator
1517
                  name="org.txm.rcp.separator1"
1518
                  visible="true">
1519
            </separator>
1520
            <separator
1521
                  name="org.txm.rcp.toolbartools.stats"
1522
                  visible="true">
1523
            </separator>
1524

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

    
2222
      </menuContribution>
2223

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

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

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

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

    
3330
</plugin>