Statistics
| Revision:

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

History | View | Annotate | Download (119.8 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
 
7
   <extension
8
         id="Application"
9
         point="org.eclipse.core.runtime.applications">
10
      <application
11
            icon="icons/logo/TXM_logo.png">
12
         <run
13
               class="org.txm.rcp.Application">
14
         </run>
15
      </application>
16
   </extension>
17
   <extension
18
         point="org.eclipse.ui.perspectives">
19
      <perspective
20
            class="org.txm.rcp.perspective.TXMPerspective"
21
            icon="icons/objects/corpus.png"
22
            id="org.txm.rcp.perspective.TXMPerspective"
23
            name="%perspective.name">
24
      </perspective>
25
   </extension>
26
   <extension
27
         id="product"
28
         point="org.eclipse.core.runtime.products">
29
      <product
30
            application="org.txm.rcp.Application"
31
            description="%product.description"
32
            name="TXM">
33
         <property
34
               name="appName"
35
               value="TXM">
36
         </property>
37
         <property
38
               name="windowImages"
39
               value="icons/logo/TXM logo 16x16.png,icons/logo/TXM_logo.png,icons/logo/TXM logo 48x48.png,icons/logo/TXM_logo_64x64.png,icons/logo/TXM logo 128x128.png,icons/logo/TXM logo 256x256.png">
40
         </property>
41
         <property
42
               name="startupForegroundColor"
43
               value="000000">
44
         </property>
45
         <property
46
               name="startupMessageRect"
47
               value="13,312,290,20">
48
         </property>
49
         <property
50
               name="aboutImage"
51
               value="icons/logo/about TXM.png">
52
         </property>
53
         <property
54
               name="aboutText"
55
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.0 Copyright © 2010-2018 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
56
         </property>
57
         <property
58
               name="startupProgressRect"
59
               value="13,332,290,15">
60
         </property>
61
         <property
62
               name="cssTheme"
63
               value="org.txm.rcp.theme.default.linux">
64
         </property>
65
         <property
66
               name="preferenceCustomization"
67
               value="plugin_customization.ini">
68
         </property>
69
      </product>
70
   </extension>
71
   <extension
72
         point="org.eclipse.ui.perspectiveExtensions">
73
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
74
         <view
75
               closeable="false"
76
               id="org.txm.rcp.views.corpora.CorporaView"
77
               ratio="0.5"
78
               relationship="right"
79
               relative="org.eclipse.ui.views.TaskList"
80
               showTitle="true"/>
81
         <view
82
               closeable="true"
83
               id="org.eclipse.ui.views.ProgressView"
84
               ratio="0.5"
85
               relationship="bottom"
86
               showTitle="true"
87
               visible="true">
88
         </view>
89
         <view
90
               closeable="true"
91
               id="org.txm.rcp.views.GroovyConsole"
92
               minimized="false"
93
               ratio="0.5"
94
               relationship="bottom"
95
               visible="true">
96
         </view>
97
         <view
98
               closeable="true"
99
               id="org.txm.rcp.views.QueriesView"
100
               ratio="0.5"
101
               relationship="right"
102
               relative="org.eclipse.ui.views.TaskList">
103
         </view>
104
      </perspectiveExtension>
105
   </extension>
106
   <extension
107
         point="org.eclipse.ui.views">
108
      <category
109
            id="org.txm.rcp"
110
            name="%category.name"/>
111
      <view
112
            category="org.txm.rcp"
113
            class="org.txm.rcp.views.corpora.CorporaView"
114
            icon="icons/objects/corpus.png"
115
            id="org.txm.rcp.views.corpora.CorporaView"
116
            name="%view.name"/>
117
      <view
118
            allowMultiple="false"
119
            category="org.eclipse.ui"
120
            class="org.eclipse.ui.ExtensionFactory:progressView"
121
            id="org.eclipse.ui.views.ProgressView"
122
            name="%view.name.0"
123
            restorable="true">
124
      </view>
125
      <view
126
            allowMultiple="false"
127
            category="org.txm.rcp"
128
            class="org.txm.rcp.views.fileexplorer.Explorer"
129
            icon="icons/objects/folder.png"
130
            id="org.txm.rcp.views.fileexplorer.Explorer"
131
            name="%view.name.1"
132
            restorable="true">
133
      </view>
134
      <view
135
            category="org.txm.rcp.debug"
136
            class="org.txm.rcp.views.SummaryView"
137
            id="org.txm.rcp.views.InternalCorpusView"
138
            name="%view.name.7"
139
            restorable="true">
140
      </view>
141
      <view
142
            allowMultiple="false"
143
            category="org.txm.rcp"
144
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
145
            icon="icons/objects/script.png"
146
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
147
            name="%view.name.8"
148
            restorable="true">
149
      </view>
150
      <view
151
            category="org.txm.rcp.debug"
152
            class="org.txm.rcp.views.cmdparameters.ParametersView"
153
            icon="icons/functions/Properties.png"
154
            id="org.txm.rcp.views.cmdparameters.ParametersView"
155
            name="%view.name.11"
156
            restorable="true">
157
      </view>
158
      <view
159
            category="org.txm.rcp.debug"
160
            class="org.txm.rcp.views.debug.TXMResultDebugView"
161
            icon="icons/functions/Properties.png"
162
            id="org.txm.rcp.views.debug.TXMResultDebugView"
163
            name="%view.name.12"
164
            restorable="true">
165
      </view>
166
      <view
167
            category="org.txm.rcp.debug"
168
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
169
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
170
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
171
            name="%view.name.13"
172
            restorable="true">
173
      </view>
174
      <view
175
            allowMultiple="false"
176
            category="org.txm.rcp.debug"
177
            class="org.txm.rcp.views.debug.EnginesDebugView"
178
            icon="icons/functions/parameters.png"
179
            id="org.txm.rcp.views.debug.EnginesDebugView"
180
            name="%view.name.10"
181
            restorable="true">
182
      </view>
183
      <category
184
            id="org.txm.rcp.debug"
185
            name="%category.name.7"
186
            parentCategory="org.txm.rcp">
187
      </category>
188
   </extension>
189
   <extension
190
         point="org.eclipse.core.runtime.adapters">
191
      <factory
192
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
193
            class="org.txm.rcp.AdapterFactory">
194
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
195
      </factory>
196
      <factory
197
            adaptableType="org.txm.core.results.TXMResult"
198
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
199
         <adapter
200
               type="org.eclipse.ui.model.IWorkbenchAdapter">
201
         </adapter>
202
         <adapter
203
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
204
         </adapter>
205
      </factory>
206

    
207

    
208

    
209

    
210

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

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

    
2113
      </menuContribution>
2114

    
2115
      <menuContribution
2116
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2117
         <command
2118
               commandId="org.txm.rcp.commands.function.ExportSVG"
2119
               label="%command.label.101"
2120
               style="push"
2121
               tooltip="%command.tooltip.60">
2122
            <visibleWhen
2123
                  checkEnabled="false">
2124
               <reference
2125
                     definitionId="SVGEditorActive">
2126
               </reference>
2127
            </visibleWhen>
2128
         </command>
2129
      </menuContribution>
2130
      <menuContribution
2131
            locationURI="popup:org.txm.rcp.views.QueriesView">
2132
         <command
2133
               commandId="org.txm.rcp.commands.queryview.Copy"
2134
               label="%command.label.129"
2135
               style="push"
2136
               tooltip="%command.tooltip.81">
2137
            <visibleWhen
2138
                  checkEnabled="false">
2139
               <reference
2140
                     definitionId="OneQueryLogSelected">
2141
               </reference>
2142
            </visibleWhen>
2143
         </command>
2144
         <command
2145
               commandId="org.txm.rcp.commands.queryview.Paste"
2146
               label="%command.label.130"
2147
               style="push"
2148
               tooltip="%command.tooltip.82">
2149
            <visibleWhen
2150
                  checkEnabled="false">
2151
               <reference
2152
                     definitionId="OneBaseSelected">
2153
               </reference>
2154
            </visibleWhen>
2155
         </command>
2156
         <command
2157
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2158
               icon="icons/functions/Delete.png"
2159
               label="%command.label.65"
2160
               style="push"
2161
               tooltip="%command.tooltip.33">
2162
            <visibleWhen
2163
                  checkEnabled="false">
2164
               <reference
2165
                     definitionId="OneQueryLogSelected">
2166
               </reference>
2167
            </visibleWhen>
2168
         </command>
2169
      </menuContribution>
2170
      <menuContribution
2171
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2172
         <command
2173
               commandId="org.txm.rcp.commands.ExecuteMacro"
2174
               label="%command.label.23"
2175
               style="push"
2176
               tooltip="%command.tooltip.19">
2177
            <visibleWhen
2178
                  checkEnabled="false">
2179
               <reference
2180
                     definitionId="OneFileSelected">
2181
               </reference>
2182
            </visibleWhen>
2183
         </command>
2184
         <command
2185
               commandId="org.txm.rcp.commands.EditSelectedFile"
2186
               label="%command.label.186"
2187
               style="push"
2188
               tooltip="%command.tooltip.86">
2189
            <visibleWhen
2190
                  checkEnabled="false">
2191
               <reference
2192
                     definitionId="OneFileSelected">
2193
               </reference>
2194
            </visibleWhen>
2195
         </command>
2196
         <command
2197
               commandId="org.txm.rcp.commands.CreateMacro"
2198
               label="%command.label.187"
2199
               style="push"
2200
               tooltip="%command.tooltip.92">
2201
            <visibleWhen
2202
                  checkEnabled="false">
2203
               <reference
2204
                     definitionId="OneFileSelected">
2205
               </reference>
2206
            </visibleWhen>
2207
         </command>
2208
         <command
2209
               commandId="org.txm.rcp.commands.CreateFolder"
2210
               label="%command.label.123"
2211
               style="push"
2212
               tooltip="%command.tooltip.76">
2213
            <visibleWhen
2214
                  checkEnabled="false">
2215
               <reference
2216
                     definitionId="OneFileSelected">
2217
               </reference>
2218
            </visibleWhen>
2219
         </command>
2220
         <command
2221
               commandId="org.txm.rcp.commands.ShowSelected"
2222
               style="push">
2223
         </command>
2224
         <command
2225
               commandId="org.txm.rcp.commands.RenameFile"
2226
               style="push">
2227
            <visibleWhen
2228
                  checkEnabled="false">
2229
               <reference
2230
                     definitionId="OneFileSelected">
2231
               </reference>
2232
            </visibleWhen>
2233
         </command>
2234
         <command
2235
               commandId="org.txm.rcp.commands.DeleteFile"
2236
               style="push"
2237
               tooltip="%command.tooltip.15">
2238
            <visibleWhen
2239
                  checkEnabled="false">
2240
               <reference
2241
                     definitionId="OneFileSelected">
2242
               </reference>
2243
            </visibleWhen>
2244
         </command>
2245
         <command
2246
               commandId="org.txm.rcp.commands.CopyFile"
2247
               style="push"
2248
               tooltip="%command.tooltip.16">
2249
            <visibleWhen
2250
                  checkEnabled="false">
2251
               <reference
2252
                     definitionId="OneFileSelected">
2253
               </reference>
2254
            </visibleWhen>
2255
         </command>
2256
         <command
2257
               commandId="org.txm.rcp.commands.CutFile"
2258
               style="push"
2259
               tooltip="%command.tooltip.20">
2260
            <visibleWhen
2261
                  checkEnabled="false">
2262
               <reference
2263
                     definitionId="OneFileSelected">
2264
               </reference>
2265
            </visibleWhen>
2266
         </command>
2267
         <command
2268
               commandId="org.txm.rcp.commands.PasteFile"
2269
               style="push"
2270
               tooltip="%command.tooltip.21">
2271
            <visibleWhen
2272
                  checkEnabled="false">
2273
               <reference
2274
                     definitionId="OneFileSelected">
2275
               </reference>
2276
            </visibleWhen>
2277
         </command>
2278
      </menuContribution>
2279
      <menuContribution
2280
            allPopups="true"
2281
            locationURI="toolbar:TXMEditorTopToolBar">
2282
         <command
2283
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2284
               icon="icons/functions/run.png"
2285
               id="compute"
2286
               label="%command.label.36"
2287
               style="push">
2288
         </command>
2289
      </menuContribution>
2290
      <menuContribution
2291
            allPopups="false"
2292
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2293
         <command
2294
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2295
               icon="icons/refresh.png"
2296
               style="push">
2297
         </command>
2298
      </menuContribution>
2299
   </extension>
2300
   <extension
2301
         id="general"
2302
         name="%extension.name.0"
2303
         point="org.eclipse.ui.commands">
2304
      <category
2305
            description="%category.description"
2306
            id="org.txm.rcp.category.txm"
2307
            name="%category.name.0">
2308
      </category>
2309
      <command
2310
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2311
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2312
            name="%command.name.22">
2313
         <commandParameter
2314
               id="org.txm.rcp.commands.commandParameter3"
2315
               name="%commandParameter.name.1"
2316
               optional="true">
2317
         </commandParameter>
2318
      </command>
2319
      
2320
      <command
2321
            categoryId="org.eclipse.ui.category.navigate"
2322
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2323
            id="org.txm.rcp.commands.OpenBrowser"
2324
            name="%command.name.8">
2325
         <commandParameter
2326
               id="org.txm.rcp.commands.commandParameter2"
2327
               name="%commandParameter.name"
2328
               optional="true">
2329
         </commandParameter>
2330
      </command>
2331
      <command
2332
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2333
            id="org.txm.rcp.commands.ShowSelected"
2334
            name="%command.name.9">
2335
      </command>
2336
      <command
2337
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2338
            description="%command.description"
2339
            id="org.txm.rcp.commands.RestartTXM"
2340
            name="%command.name.25">
2341
      </command>
2342
      
2343
      <command
2344
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2345
            id="org.txm.rcp.commands.ImportSelectedText"
2346
            name="%command.name.28">
2347
      </command>
2348
      <command
2349
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2350
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2351
            name="%command.name.31">
2352
      </command>
2353
            
2354
      <command
2355
            categoryId="org.eclipse.ui.category.edit"
2356
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2357
            id="org.txm.rcp.commands.OpenImportForm"
2358
            name="%command.name.62">
2359
         <commandParameter
2360
               id="org.txm.rcp.commands.importscript"
2361
               name="%commandParameter.name.2"
2362
               optional="false">
2363
         </commandParameter>
2364
      </command>
2365
      <command
2366
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2367
            description="%command.description.0"
2368
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2369
            name="%command.name.3">
2370
      </command>
2371
      <command
2372
            categoryId="org.txm.rcp.category.txm"
2373
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2374
            id="org.txm.rcp.commands.OpenTestEditor"
2375
            name="%command.name.19">
2376
      </command>
2377
      <command
2378
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2379
            id="org.txm.rcp.commands.editor.SetEncoding"
2380
            name="%command.name.72">
2381
      </command>
2382
      <command
2383
            categoryId="org.eclipse.ui.category.navigate"
2384
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2385
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2386
            name="%command.name.74">
2387
         <commandParameter
2388
               id="org.txm.rcp.commands.commandParameter3"
2389
               name="%commandParameter.name.3"
2390
               optional="true">
2391
         </commandParameter>
2392
      </command>
2393
      <command
2394
            categoryId="org.eclipse.ui.category.navigate"
2395
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2396
            id="org.txm.rcp.commands.OpenWelcomePage"
2397
            name="%command.name.8">
2398
         <commandParameter
2399
               id="org.txm.rcp.commands.commandParameter2"
2400
               name="%commandParameter.name"
2401
               optional="true">
2402
         </commandParameter>
2403
      </command>
2404
      <command
2405
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2406
            description="%command.label.182"
2407
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2408
            name="%command.label.182">
2409
      </command>
2410
      <command
2411
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2412
            description="%command.description.3"
2413
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2414
            name="%command.name.87">
2415
                     <commandParameter
2416
               id="org.txm.rcp.parameters.update"
2417
               name="%commandParameter.name.4"
2418
               optional="true">
2419
         </commandParameter>
2420
      </command>
2421
      <command
2422
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2423
            description="%command.description.4"
2424
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2425
            name="%command.name.88">
2426
      </command>
2427
      <command
2428
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2429
            id="org.txm.rcp.commands.CleanPerspective"
2430
            name="%command.name.94">
2431
      </command>
2432
      <command
2433
            defaultHandler="org.txm.rcp.commands.OpenManual"
2434
            id="org.txm.rcp.commands.OpenManual"
2435
            name="%command.name.95">
2436
      </command>
2437
      <command
2438
            categoryId="org.txm.rcp.category.txm"
2439
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2440
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2441
            name="%command.name.98">
2442
      </command>
2443

    
2444
      <command
2445
            categoryId="org.txm.rcp.category.txm"
2446
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2447
            id="org.txm.rcp.commands.ReloadCorporaView"
2448
            name="%command.name.2">
2449
      </command>
2450
      <command
2451
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2452
            id="org.txm.rcp.commands.function.RenameResult"
2453
            name="%command.name.4">
2454
      </command>
2455
   </extension>
2456
   <extension
2457
         id="commands"
2458
         name="%extension.name.1"
2459
         point="org.eclipse.ui.commands">
2460

    
2461
      <command
2462
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2463
            id="org.txm.rcp.commands.function.ExportResult"
2464
            name="%command.name.24">
2465
      </command>
2466
      <command
2467
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2468
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2469
            name="%command.name.35">
2470
      </command>
2471
      <command
2472
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2473
            id="org.txm.rcp.commands.function.ExportSVG"
2474
            name="%command.name.34">
2475
      </command>
2476
      <command
2477
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2478
            id="org.txm.rcp.handlers.export.ImportResult"
2479
            name="%command.name.39">
2480
      </command>
2481
      <command
2482
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2483
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2484
            name="%command.name.40">
2485
      </command>
2486
   </extension>
2487
   <extension
2488
         id="links"
2489
         name="%extension.name.2"
2490
         point="org.eclipse.ui.commands">
2491

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