Statistics
| Revision:

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

History | View | Annotate | Download (120 kB)

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

    
200

    
201

    
202

    
203

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

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

    
2113
      </menuContribution>
2114

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

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

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

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