Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (123,82 ko)

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.2 Copyright © 2010-2020 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.TXMResultParametersView"
146
            icon="icons/functions/Properties.png"
147
            id="org.txm.rcp.views.cmdparameters.ParametersView"
148
            name="Parameters panel"
149
            restorable="true">
150
      </view>
151
      <view
152
            category="org.txm.rcp.debug"
153
            class="org.txm.rcp.views.debug.TXMResultDebugView"
154
            icon="icons/debug.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"
183
            class="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
184
            icon="icons/functions/Properties.png"
185
            id="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
186
            name="Parameters"
187
            restorable="true">
188
      </view>
189
   </extension>
190
   <extension
191
         point="org.eclipse.core.runtime.adapters">
192
      <factory
193
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
194
            class="org.txm.rcp.AdapterFactory">
195
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
196
      </factory>
197
      <factory
198
            adaptableType="org.txm.core.results.TXMResult"
199
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
200
         <adapter
201
               type="org.eclipse.ui.model.IWorkbenchAdapter">
202
         </adapter>
203
         <adapter
204
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
205
         </adapter>
206
      </factory>
207
      <factory
208
            adaptableType="org.txm.objects.Project"
209
            class="org.txm.rcp.adapters.ProjectAdapterFactory">
210
         <adapter
211
               type="org.eclipse.ui.model.IWorkbenchAdapter">
212
         </adapter>
213
      </factory>
214
      <factory
215
            adaptableType="org.eclipse.core.resources.IProject"
216
            class="org.txm.rcp.adapters.RCPProjectAdapterFactory">
217
         <adapter
218
               type="org.eclipse.ui.model.IWorkbenchAdapter">
219
         </adapter>
220
      </factory>
221

    
222

    
223

    
224

    
225

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

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

    
2207
      </menuContribution>
2208

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

    
2543
      <command
2544
            categoryId="org.txm.rcp.category.txm"
2545
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2546
            id="org.txm.rcp.commands.ReloadCorporaView"
2547
            name="%command.name.2">
2548
      </command>
2549
      <command
2550
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2551
            id="org.txm.rcp.commands.function.RenameResult"
2552
            name="%command.name.4">
2553
      </command>
2554
      <command
2555
            categoryId="org.txm.rcp.category.txm"
2556
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2557
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2558
            name="%command.name.64">
2559
      </command>
2560
   </extension>
2561
   <extension
2562
         id="commands"
2563
         name="%extension.name.1"
2564
         point="org.eclipse.ui.commands">
2565

    
2566
      <command
2567
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2568
            id="org.txm.rcp.commands.function.ExportResult"
2569
            name="%command.name.24">
2570
      </command>
2571
      <command
2572
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2573
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2574
            name="%command.name.35">
2575
      </command>
2576
      <command
2577
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2578
            id="org.txm.rcp.commands.function.ExportSVG"
2579
            name="%command.name.34">
2580
      </command>
2581
      <command
2582
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2583
            id="org.txm.rcp.handlers.export.ImportResult"
2584
            name="%command.name.39">
2585
      </command>
2586
      <command
2587
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2588
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2589
            name="%command.name.40">
2590
      </command>
2591
   </extension>
2592
   <extension
2593
         id="links"
2594
         name="%extension.name.2"
2595
         point="org.eclipse.ui.commands">
2596

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

    
3294
</plugin>