Statistics
| Revision:

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

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.display"
1058
               label="%menu.label.7"
1059
               tooltip="%menu.tooltip.0">
1060
            <menu
1061
                  id="menu.display.views"
1062
                  label="%menu.label.9">
1063
               <command
1064
                     commandId="org.eclipse.ui.views.showView"
1065
                     label="%command.label.134"
1066
                     style="push">
1067
                  <parameter
1068
                        name="org.eclipse.ui.views.showView.viewId"
1069
                        value="org.txm.rcp.views.corpora.CorporaView">
1070
                  </parameter>
1071
               </command>
1072
               <command
1073
                     commandId="org.eclipse.ui.views.showView"
1074
                     label="%command.label.135"
1075
                     style="push">
1076
                  <parameter
1077
                        name="org.eclipse.ui.views.showView.viewId"
1078
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1079
                  </parameter>
1080
               </command>
1081
               <command
1082
                     commandId="org.eclipse.ui.views.showView"
1083
                     label="%command.label.177"
1084
                     style="push">
1085
                  <parameter
1086
                        name="org.eclipse.ui.views.showView.viewId"
1087
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1088
                  </parameter>
1089
               </command>
1090
               <command
1091
                     commandId="org.eclipse.ui.views.showView"
1092
                     label="%command.label.43"
1093
                     style="push">
1094
                  <parameter
1095
                        name="org.eclipse.ui.views.showView.viewId"
1096
                        value="org.eclipse.ui.console.ConsoleView">
1097
                  </parameter>
1098
               </command>
1099
               <separator
1100
                     name="menu.display.views.separator">
1101
               </separator>
1102
               <command
1103
                     commandId="org.eclipse.ui.views.showView"
1104
                     id="org.eclipse.ui.views.showView"
1105
                     label="%command.label.139"
1106
                     style="push">
1107
               </command>
1108
            </menu>
1109
            <menu
1110
                  label="%menu.label.8">
1111
               <command
1112
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1113
                     label="%command.label.131"
1114
                     style="push">
1115
                  <parameter
1116
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1117
                        value="org.txm.rcp.perspective.TXMPerspective">
1118
                  </parameter>
1119
               </command>
1120
               <command
1121
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1122
                     label="%command.label.132"
1123
                     style="push">
1124
                  <parameter
1125
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1126
                        value="org.txm.rcp.perspective.RPerspective">
1127
                  </parameter>
1128
               </command>
1129
            </menu>
1130
            <command
1131
                  commandId="org.txm.rcp.commands.CleanPerspective"
1132
                  style="push">
1133
            </command>
1134
            <command
1135
                  commandId="org.eclipse.ui.window.newWindow"
1136
                  label="%command.label.157">
1137
            </command>
1138
            <command
1139
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1140
                  label="%command.label.75"
1141
                  style="push"
1142
                  tooltip="%command.tooltip.42">
1143
            </command>
1144
         </menu>
1145
         <menu
1146
               id="menu.macros"
1147
               label="Macros">
1148
            <dynamic
1149
                  class="org.txm.rcp.menu.MacrosMenuContribution"
1150
                  id="org.txm.rcp.menu.MacrosContribution">
1151
            </dynamic>
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
               style="push"
2286
               tooltip="org.txm.rcp.handlers.ComputeTXMResult">
2287
         </command>
2288
      </menuContribution>
2289
      <menuContribution
2290
            allPopups="false"
2291
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2292
         <command
2293
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2294
               icon="icons/refresh.png"
2295
               style="push">
2296
         </command>
2297
      </menuContribution>
2298
   </extension>
2299
   <extension
2300
         id="general"
2301
         name="%extension.name.0"
2302
         point="org.eclipse.ui.commands">
2303
      <category
2304
            description="%category.description"
2305
            id="org.txm.rcp.category.txm"
2306
            name="%category.name.0">
2307
      </category>
2308
      <command
2309
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2310
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2311
            name="%command.name.22">
2312
         <commandParameter
2313
               id="org.txm.rcp.commands.commandParameter3"
2314
               name="%commandParameter.name.1"
2315
               optional="true">
2316
         </commandParameter>
2317
      </command>
2318
      
2319
      <command
2320
            categoryId="org.eclipse.ui.category.navigate"
2321
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2322
            id="org.txm.rcp.commands.OpenBrowser"
2323
            name="%command.name.8">
2324
         <commandParameter
2325
               id="org.txm.rcp.commands.commandParameter2"
2326
               name="%commandParameter.name"
2327
               optional="true">
2328
         </commandParameter>
2329
      </command>
2330
      <command
2331
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2332
            id="org.txm.rcp.commands.ShowSelected"
2333
            name="%command.name.9">
2334
      </command>
2335
      <command
2336
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2337
            description="%command.description"
2338
            id="org.txm.rcp.commands.RestartTXM"
2339
            name="%command.name.25">
2340
      </command>
2341
      
2342
      <command
2343
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2344
            id="org.txm.rcp.commands.ImportSelectedText"
2345
            name="%command.name.28">
2346
      </command>
2347
      <command
2348
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2349
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2350
            name="%command.name.31">
2351
      </command>
2352
            
2353
      <command
2354
            categoryId="org.eclipse.ui.category.edit"
2355
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2356
            id="org.txm.rcp.commands.OpenImportForm"
2357
            name="%command.name.62">
2358
         <commandParameter
2359
               id="org.txm.rcp.commands.importscript"
2360
               name="%commandParameter.name.2"
2361
               optional="false">
2362
         </commandParameter>
2363
      </command>
2364
      <command
2365
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2366
            description="%command.description.0"
2367
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2368
            name="%command.name.3">
2369
      </command>
2370
      <command
2371
            categoryId="org.txm.rcp.category.txm"
2372
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2373
            id="org.txm.rcp.commands.OpenTestEditor"
2374
            name="%command.name.19">
2375
      </command>
2376
      <command
2377
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2378
            id="org.txm.rcp.commands.editor.SetEncoding"
2379
            name="%command.name.72">
2380
      </command>
2381
      <command
2382
            categoryId="org.eclipse.ui.category.navigate"
2383
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2384
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2385
            name="%command.name.74">
2386
         <commandParameter
2387
               id="org.txm.rcp.commands.commandParameter3"
2388
               name="%commandParameter.name.3"
2389
               optional="true">
2390
         </commandParameter>
2391
      </command>
2392
      <command
2393
            categoryId="org.eclipse.ui.category.navigate"
2394
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2395
            id="org.txm.rcp.commands.OpenWelcomePage"
2396
            name="%command.name.8">
2397
         <commandParameter
2398
               id="org.txm.rcp.commands.commandParameter2"
2399
               name="%commandParameter.name"
2400
               optional="true">
2401
         </commandParameter>
2402
      </command>
2403
      <command
2404
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2405
            description="%command.label.182"
2406
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2407
            name="%command.label.182">
2408
      </command>
2409
      <command
2410
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2411
            description="%command.description.3"
2412
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2413
            name="%command.name.87">
2414
                     <commandParameter
2415
               id="org.txm.rcp.parameters.update"
2416
               name="%commandParameter.name.4"
2417
               optional="true">
2418
         </commandParameter>
2419
      </command>
2420
      <command
2421
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2422
            description="%command.description.4"
2423
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2424
            name="%command.name.88">
2425
      </command>
2426
      <command
2427
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2428
            id="org.txm.rcp.commands.CleanPerspective"
2429
            name="%command.name.94">
2430
      </command>
2431
      <command
2432
            defaultHandler="org.txm.rcp.commands.OpenManual"
2433
            id="org.txm.rcp.commands.OpenManual"
2434
            name="%command.name.95">
2435
      </command>
2436
      <command
2437
            categoryId="org.txm.rcp.category.txm"
2438
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2439
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2440
            name="%command.name.98">
2441
      </command>
2442

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

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

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