Statistics
| Revision:

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

History | View | Annotate | Download (119.2 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
      </perspectiveExtension>
98
   </extension>
99
   <extension
100
         point="org.eclipse.ui.views">
101
      <category
102
            id="org.txm.rcp"
103
            name="%category.name"/>
104
      <view
105
            category="org.txm.rcp"
106
            class="org.txm.rcp.views.corpora.CorporaView"
107
            icon="icons/objects/corpus.png"
108
            id="org.txm.rcp.views.corpora.CorporaView"
109
            name="%view.name"/>
110
      <view
111
            allowMultiple="false"
112
            category="org.eclipse.ui"
113
            class="org.eclipse.ui.ExtensionFactory:progressView"
114
            id="org.eclipse.ui.views.ProgressView"
115
            name="%view.name.0"
116
            restorable="true">
117
      </view>
118
      <view
119
            allowMultiple="false"
120
            category="org.txm.rcp"
121
            class="org.txm.rcp.views.fileexplorer.Explorer"
122
            icon="icons/objects/folder.png"
123
            id="org.txm.rcp.views.fileexplorer.Explorer"
124
            name="%view.name.1"
125
            restorable="true">
126
      </view>
127
      <view
128
            category="org.txm.rcp.debug"
129
            class="org.txm.rcp.views.SummaryView"
130
            id="org.txm.rcp.views.InternalCorpusView"
131
            name="%view.name.7"
132
            restorable="true">
133
      </view>
134
      <view
135
            allowMultiple="false"
136
            category="org.txm.rcp"
137
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
138
            icon="icons/objects/script.png"
139
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
140
            name="%view.name.8"
141
            restorable="true">
142
      </view>
143
      <view
144
            category="org.txm.rcp.debug"
145
            class="org.txm.rcp.views.cmdparameters.ParametersView"
146
            icon="icons/functions/Properties.png"
147
            id="org.txm.rcp.views.cmdparameters.ParametersView"
148
            name="%view.name.11"
149
            restorable="true">
150
      </view>
151
      <view
152
            category="org.txm.rcp.debug"
153
            class="org.txm.rcp.views.debug.TXMResultDebugView"
154
            icon="icons/functions/Properties.png"
155
            id="org.txm.rcp.views.debug.TXMResultDebugView"
156
            name="%view.name.12"
157
            restorable="true">
158
      </view>
159
      <view
160
            category="org.txm.rcp.debug"
161
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
162
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
163
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
164
            name="%view.name.13"
165
            restorable="true">
166
      </view>
167
      <view
168
            allowMultiple="false"
169
            category="org.txm.rcp.debug"
170
            class="org.txm.rcp.views.debug.EnginesDebugView"
171
            icon="icons/functions/parameters.png"
172
            id="org.txm.rcp.views.debug.EnginesDebugView"
173
            name="%view.name.10"
174
            restorable="true">
175
      </view>
176
      <category
177
            id="org.txm.rcp.debug"
178
            name="%category.name.7"
179
            parentCategory="org.txm.rcp">
180
      </category>
181
   </extension>
182
   <extension
183
         point="org.eclipse.core.runtime.adapters">
184
      <factory
185
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
186
            class="org.txm.rcp.AdapterFactory">
187
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
188
      </factory>
189
      <factory
190
            adaptableType="org.txm.core.results.TXMResult"
191
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
192
         <adapter
193
               type="org.eclipse.ui.model.IWorkbenchAdapter">
194
         </adapter>
195
         <adapter
196
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
197
         </adapter>
198
      </factory>
199

    
200

    
201

    
202

    
203

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

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

    
2097
      </menuContribution>
2098

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

    
2428
      <command
2429
            categoryId="org.txm.rcp.category.txm"
2430
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2431
            id="org.txm.rcp.commands.ReloadCorporaView"
2432
            name="%command.name.2">
2433
      </command>
2434
      <command
2435
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2436
            id="org.txm.rcp.commands.function.RenameResult"
2437
            name="%command.name.4">
2438
      </command>
2439
   </extension>
2440
   <extension
2441
         id="commands"
2442
         name="%extension.name.1"
2443
         point="org.eclipse.ui.commands">
2444

    
2445
      <command
2446
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2447
            id="org.txm.rcp.commands.function.ExportResult"
2448
            name="%command.name.24">
2449
      </command>
2450
      <command
2451
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2452
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2453
            name="%command.name.35">
2454
      </command>
2455
      <command
2456
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2457
            id="org.txm.rcp.commands.function.ExportSVG"
2458
            name="%command.name.34">
2459
      </command>
2460
      <command
2461
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2462
            id="org.txm.rcp.handlers.export.ImportResult"
2463
            name="%command.name.39">
2464
      </command>
2465
      <command
2466
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2467
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2468
            name="%command.name.40">
2469
      </command>
2470
   </extension>
2471
   <extension
2472
         id="links"
2473
         name="%extension.name.2"
2474
         point="org.eclipse.ui.commands">
2475

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