Statistics
| Revision:

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

History | View | Annotate | Download (125.4 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>  
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
 
7
   <extension
8
         id="Application"
9
         point="org.eclipse.core.runtime.applications">
10
      <application
11
            icon="icons/logo/TXM_logo.png">
12
         <run
13
               class="org.txm.rcp.Application">
14
         </run>
15
      </application>
16
   </extension>
17
   <extension
18
         point="org.eclipse.ui.perspectives">
19
      <perspective
20
            class="org.txm.rcp.perspective.TXMPerspective"
21
            icon="icons/objects/corpus.png"
22
            id="org.txm.rcp.perspective.TXMPerspective"
23
            name="%perspective.name">
24
      </perspective>
25
   </extension>
26
   <extension
27
         id="product"
28
         point="org.eclipse.core.runtime.products">
29
      <product
30
            application="org.txm.rcp.Application"
31
            description="%product.description"
32
            name="TXM">
33
         <property
34
               name="appName"
35
               value="TXM">
36
         </property>
37
         <property
38
               name="windowImages"
39
               value="icons/logo/TXM logo 16x16.png,icons/logo/TXM_logo.png,icons/logo/TXM logo 48x48.png,icons/logo/TXM_logo_64x64.png,icons/logo/TXM logo 128x128.png,icons/logo/TXM logo 256x256.png">
40
         </property>
41
         <property
42
               name="startupForegroundColor"
43
               value="000000">
44
         </property>
45
         <property
46
               name="startupMessageRect"
47
               value="13,312,290,20">
48
         </property>
49
         <property
50
               name="aboutImage"
51
               value="icons/logo/about TXM.png">
52
         </property>
53
         <property
54
               name="aboutText"
55
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.1 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.ParametersView"
146
            icon="icons/functions/Properties.png"
147
            id="org.txm.rcp.views.cmdparameters.ParametersView"
148
            name="%view.name.11"
149
            restorable="true">
150
      </view>
151
      <view
152
            category="org.txm.rcp.debug"
153
            class="org.txm.rcp.views.debug.TXMResultDebugView"
154
            icon="icons/functions/Properties.png"
155
            id="org.txm.rcp.views.debug.TXMResultDebugView"
156
            name="%view.name.12"
157
            restorable="true">
158
      </view>
159
      <view
160
            category="org.txm.rcp.debug"
161
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
162
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
163
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
164
            name="%view.name.13"
165
            restorable="true">
166
      </view>
167
      <view
168
            allowMultiple="false"
169
            category="org.txm.rcp.debug"
170
            class="org.txm.rcp.views.debug.EnginesDebugView"
171
            icon="icons/functions/parameters.png"
172
            id="org.txm.rcp.views.debug.EnginesDebugView"
173
            name="%view.name.10"
174
            restorable="true">
175
      </view>
176
      <category
177
            id="org.txm.rcp.debug"
178
            name="%category.name.7"
179
            parentCategory="org.txm.rcp">
180
      </category>
181
      <view
182
            category="org.txm.rcp.debug"
183
            class="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
184
            icon="icons/functions/Properties.png"
185
            id="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
186
            name="Properties"
187
            restorable="true">
188
      </view>
189
      <view
190
            category="org.txm.rcp.debug"
191
            class="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
192
            icon="icons/functions/Properties.png"
193
            id="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
194
            name="%view.name.11"
195
            restorable="true">
196
      </view>
197
   </extension>
198
   <extension
199
         point="org.eclipse.core.runtime.adapters">
200
      <factory
201
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
202
            class="org.txm.rcp.AdapterFactory">
203
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
204
      </factory>
205
      <factory
206
            adaptableType="org.txm.core.results.TXMResult"
207
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
208
         <adapter
209
               type="org.eclipse.ui.model.IWorkbenchAdapter">
210
         </adapter>
211
         <adapter
212
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
213
         </adapter>
214
      </factory>
215
      <factory
216
            adaptableType="org.txm.objects.Project"
217
            class="org.txm.rcp.adapters.ProjectAdapterFactory">
218
         <adapter
219
               type="org.eclipse.ui.model.IWorkbenchAdapter">
220
         </adapter>
221
      </factory>
222
      <factory
223
            adaptableType="org.eclipse.core.resources.IProject"
224
            class="org.txm.rcp.adapters.RCPProjectAdapterFactory">
225
         <adapter
226
               type="org.eclipse.ui.model.IWorkbenchAdapter">
227
         </adapter>
228
      </factory>
229

    
230

    
231

    
232

    
233

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

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

    
2215
      </menuContribution>
2216

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

    
2551
      <command
2552
            categoryId="org.txm.rcp.category.txm"
2553
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2554
            id="org.txm.rcp.commands.ReloadCorporaView"
2555
            name="%command.name.2">
2556
      </command>
2557
      <command
2558
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2559
            id="org.txm.rcp.commands.function.RenameResult"
2560
            name="%command.name.4">
2561
      </command>
2562
      <command
2563
            categoryId="org.txm.rcp.category.txm"
2564
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2565
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2566
            name="%command.name.64">
2567
      </command>
2568
   </extension>
2569
   <extension
2570
         id="commands"
2571
         name="%extension.name.1"
2572
         point="org.eclipse.ui.commands">
2573

    
2574
      <command
2575
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2576
            id="org.txm.rcp.commands.function.ExportResult"
2577
            name="%command.name.24">
2578
      </command>
2579
      <command
2580
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2581
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2582
            name="%command.name.35">
2583
      </command>
2584
      <command
2585
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2586
            id="org.txm.rcp.commands.function.ExportSVG"
2587
            name="%command.name.34">
2588
      </command>
2589
      <command
2590
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2591
            id="org.txm.rcp.handlers.export.ImportResult"
2592
            name="%command.name.39">
2593
      </command>
2594
      <command
2595
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2596
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2597
            name="%command.name.40">
2598
      </command>
2599
   </extension>
2600
   <extension
2601
         id="links"
2602
         name="%extension.name.2"
2603
         point="org.eclipse.ui.commands">
2604

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

    
3340
</plugin>