Statistics
| Revision:

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

History | View | Annotate | Download (123.8 kB)

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

    
230

    
231

    
232

    
233

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

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

    
2181
      </menuContribution>
2182

    
2183
      <menuContribution
2184
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2185
         <command
2186
               commandId="org.txm.rcp.commands.function.ExportSVG"
2187
               label="%command.label.101"
2188
               style="push"
2189
               tooltip="%command.tooltip.60">
2190
            <visibleWhen
2191
                  checkEnabled="false">
2192
               <reference
2193
                     definitionId="SVGEditorActive">
2194
               </reference>
2195
            </visibleWhen>
2196
         </command>
2197
      </menuContribution>
2198
      <menuContribution
2199
            locationURI="popup:org.txm.rcp.views.QueriesView">
2200
         <command
2201
               commandId="org.txm.rcp.commands.queryview.Copy"
2202
               label="%command.label.129"
2203
               style="push"
2204
               tooltip="%command.tooltip.81">
2205
            <visibleWhen
2206
                  checkEnabled="false">
2207
               <reference
2208
                     definitionId="OneQueryLogSelected">
2209
               </reference>
2210
            </visibleWhen>
2211
         </command>
2212
         <command
2213
               commandId="org.txm.rcp.commands.queryview.Paste"
2214
               label="%command.label.130"
2215
               style="push"
2216
               tooltip="%command.tooltip.82">
2217
            <visibleWhen
2218
                  checkEnabled="false">
2219
               <reference
2220
                     definitionId="OneBaseSelected">
2221
               </reference>
2222
            </visibleWhen>
2223
         </command>
2224
         <command
2225
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2226
               icon="icons/functions/Delete.png"
2227
               label="%command.label.65"
2228
               style="push"
2229
               tooltip="%command.tooltip.33">
2230
            <visibleWhen
2231
                  checkEnabled="false">
2232
               <reference
2233
                     definitionId="OneQueryLogSelected">
2234
               </reference>
2235
            </visibleWhen>
2236
         </command>
2237
      </menuContribution>
2238
      <menuContribution
2239
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2240
         <command
2241
               commandId="org.txm.rcp.commands.ExecuteMacro"
2242
               label="%command.label.23"
2243
               style="push"
2244
               tooltip="%command.tooltip.19">
2245
            <visibleWhen
2246
                  checkEnabled="false">
2247
               <reference
2248
                     definitionId="OneFileSelected">
2249
               </reference>
2250
            </visibleWhen>
2251
         </command>
2252
         <command
2253
               commandId="org.txm.rcp.commands.EditSelectedFile"
2254
               label="%command.label.186"
2255
               style="push"
2256
               tooltip="%command.tooltip.86">
2257
            <visibleWhen
2258
                  checkEnabled="false">
2259
               <reference
2260
                     definitionId="OneFileSelected">
2261
               </reference>
2262
            </visibleWhen>
2263
         </command>
2264
         <command
2265
               commandId="org.txm.rcp.commands.CreateMacro"
2266
               label="%command.label.187"
2267
               style="push"
2268
               tooltip="%command.tooltip.92">
2269
            <visibleWhen
2270
                  checkEnabled="false">
2271
               <reference
2272
                     definitionId="OneFileSelected">
2273
               </reference>
2274
            </visibleWhen>
2275
         </command>
2276
         <command
2277
               commandId="org.txm.rcp.commands.CreateFolder"
2278
               label="%command.label.123"
2279
               style="push"
2280
               tooltip="%command.tooltip.76">
2281
            <visibleWhen
2282
                  checkEnabled="false">
2283
               <reference
2284
                     definitionId="OneFileSelected">
2285
               </reference>
2286
            </visibleWhen>
2287
         </command>
2288
         <command
2289
               commandId="org.txm.rcp.commands.ShowSelected"
2290
               style="push">
2291
         </command>
2292
         <command
2293
               commandId="org.txm.rcp.commands.RenameFile"
2294
               style="push">
2295
            <visibleWhen
2296
                  checkEnabled="false">
2297
               <reference
2298
                     definitionId="OneFileSelected">
2299
               </reference>
2300
            </visibleWhen>
2301
         </command>
2302
         <command
2303
               commandId="org.txm.rcp.commands.DeleteFile"
2304
               style="push"
2305
               tooltip="%command.tooltip.15">
2306
            <visibleWhen
2307
                  checkEnabled="false">
2308
               <reference
2309
                     definitionId="OneFileSelected">
2310
               </reference>
2311
            </visibleWhen>
2312
         </command>
2313
         <command
2314
               commandId="org.txm.rcp.commands.CopyFile"
2315
               style="push"
2316
               tooltip="%command.tooltip.16">
2317
            <visibleWhen
2318
                  checkEnabled="false">
2319
               <reference
2320
                     definitionId="OneFileSelected">
2321
               </reference>
2322
            </visibleWhen>
2323
         </command>
2324
         <command
2325
               commandId="org.txm.rcp.commands.CutFile"
2326
               style="push"
2327
               tooltip="%command.tooltip.20">
2328
            <visibleWhen
2329
                  checkEnabled="false">
2330
               <reference
2331
                     definitionId="OneFileSelected">
2332
               </reference>
2333
            </visibleWhen>
2334
         </command>
2335
         <command
2336
               commandId="org.txm.rcp.commands.PasteFile"
2337
               style="push"
2338
               tooltip="%command.tooltip.21">
2339
            <visibleWhen
2340
                  checkEnabled="false">
2341
               <reference
2342
                     definitionId="OneFileSelected">
2343
               </reference>
2344
            </visibleWhen>
2345
         </command>
2346
      </menuContribution>
2347
      <menuContribution
2348
            allPopups="true"
2349
            locationURI="toolbar:TXMEditorTopToolBar">
2350
         <command
2351
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2352
               icon="icons/functions/run.png"
2353
               id="compute"
2354
               style="push"
2355
               tooltip="org.txm.rcp.handlers.ComputeTXMResult">
2356
         </command>
2357
      </menuContribution>
2358
      <menuContribution
2359
            allPopups="false"
2360
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2361
         <command
2362
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2363
               icon="icons/refresh.png"
2364
               style="push">
2365
         </command>
2366
      </menuContribution>
2367
   </extension>
2368
   <extension
2369
         id="general"
2370
         name="%extension.name.0"
2371
         point="org.eclipse.ui.commands">
2372
      <category
2373
            description="%category.description"
2374
            id="org.txm.rcp.category.txm"
2375
            name="%category.name.0">
2376
      </category>
2377
      <command
2378
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2379
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2380
            name="%command.name.22">
2381
         <commandParameter
2382
               id="org.txm.rcp.commands.commandParameter3"
2383
               name="%commandParameter.name.1"
2384
               optional="true">
2385
         </commandParameter>
2386
      </command>
2387
      
2388
      <command
2389
            categoryId="org.eclipse.ui.category.navigate"
2390
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2391
            id="org.txm.rcp.commands.OpenBrowser"
2392
            name="%command.name.8">
2393
         <commandParameter
2394
               id="org.txm.rcp.commands.commandParameter2"
2395
               name="%commandParameter.name"
2396
               optional="true">
2397
         </commandParameter>
2398
      </command>
2399
      <command
2400
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2401
            id="org.txm.rcp.commands.ShowSelected"
2402
            name="%command.name.9">
2403
      </command>
2404
      <command
2405
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2406
            description="%command.description"
2407
            id="org.txm.rcp.commands.RestartTXM"
2408
            name="%command.name.25">
2409
      </command>
2410
      
2411
      <command
2412
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2413
            id="org.txm.rcp.commands.ImportSelectedText"
2414
            name="%command.name.28">
2415
      </command>
2416
      <command
2417
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2418
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2419
            name="%command.name.31">
2420
      </command>
2421
            
2422
      <command
2423
            categoryId="org.eclipse.ui.category.edit"
2424
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2425
            id="org.txm.rcp.commands.OpenImportForm"
2426
            name="%command.name.62">
2427
         <commandParameter
2428
               id="org.txm.rcp.commands.importscript"
2429
               name="%commandParameter.name.2"
2430
               optional="false">
2431
         </commandParameter>
2432
      </command>
2433
      <command
2434
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2435
            description="%command.description.0"
2436
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2437
            name="%command.name.3">
2438
      </command>
2439
      <command
2440
            categoryId="org.txm.rcp.category.txm"
2441
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2442
            id="org.txm.rcp.commands.OpenTestEditor"
2443
            name="%command.name.19">
2444
      </command>
2445
      <command
2446
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2447
            id="org.txm.rcp.commands.editor.SetEncoding"
2448
            name="%command.name.72">
2449
      </command>
2450
      <command
2451
            categoryId="org.eclipse.ui.category.navigate"
2452
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2453
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2454
            name="%command.name.74">
2455
         <commandParameter
2456
               id="org.txm.rcp.commands.commandParameter3"
2457
               name="%commandParameter.name.3"
2458
               optional="true">
2459
         </commandParameter>
2460
      </command>
2461
      <command
2462
            categoryId="org.eclipse.ui.category.navigate"
2463
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2464
            id="org.txm.rcp.commands.OpenWelcomePage"
2465
            name="%command.name.8">
2466
         <commandParameter
2467
               id="org.txm.rcp.commands.commandParameter2"
2468
               name="%commandParameter.name"
2469
               optional="true">
2470
         </commandParameter>
2471
      </command>
2472
      <command
2473
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2474
            description="%command.label.182"
2475
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2476
            name="%command.label.182">
2477
      </command>
2478
      <command
2479
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2480
            description="%command.description.3"
2481
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2482
            name="%command.name.87">
2483
                     <commandParameter
2484
               id="org.txm.rcp.parameters.update"
2485
               name="%commandParameter.name.4"
2486
               optional="true">
2487
         </commandParameter>
2488
      </command>
2489
      <command
2490
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2491
            description="%command.description.4"
2492
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2493
            name="%command.name.88">
2494
      </command>
2495
      <command
2496
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2497
            id="org.txm.rcp.commands.CleanPerspective"
2498
            name="%command.name.94">
2499
      </command>
2500
      <command
2501
            defaultHandler="org.txm.rcp.commands.OpenManual"
2502
            id="org.txm.rcp.commands.OpenManual"
2503
            name="%command.name.95">
2504
      </command>
2505
      <command
2506
            categoryId="org.txm.rcp.category.txm"
2507
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2508
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2509
            name="%command.name.98">
2510
      </command>
2511

    
2512
      <command
2513
            categoryId="org.txm.rcp.category.txm"
2514
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2515
            id="org.txm.rcp.commands.ReloadCorporaView"
2516
            name="%command.name.2">
2517
      </command>
2518
      <command
2519
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2520
            id="org.txm.rcp.commands.function.RenameResult"
2521
            name="%command.name.4">
2522
      </command>
2523
      <command
2524
            categoryId="org.txm.rcp.category.txm"
2525
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2526
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2527
            name="%command.name.64">
2528
      </command>
2529
   </extension>
2530
   <extension
2531
         id="commands"
2532
         name="%extension.name.1"
2533
         point="org.eclipse.ui.commands">
2534

    
2535
      <command
2536
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2537
            id="org.txm.rcp.commands.function.ExportResult"
2538
            name="%command.name.24">
2539
      </command>
2540
      <command
2541
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2542
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2543
            name="%command.name.35">
2544
      </command>
2545
      <command
2546
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2547
            id="org.txm.rcp.commands.function.ExportSVG"
2548
            name="%command.name.34">
2549
      </command>
2550
      <command
2551
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2552
            id="org.txm.rcp.handlers.export.ImportResult"
2553
            name="%command.name.39">
2554
      </command>
2555
      <command
2556
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2557
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2558
            name="%command.name.40">
2559
      </command>
2560
   </extension>
2561
   <extension
2562
         id="links"
2563
         name="%extension.name.2"
2564
         point="org.eclipse.ui.commands">
2565

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