Statistics
| Revision:

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

History | View | Annotate | Download (119.3 kB)

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

    
207

    
208

    
209

    
210

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

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

    
2099
      </menuContribution>
2100

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

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

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

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