Statistics
| Revision:

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

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

    
230

    
231

    
232

    
233

    
234
 
235
   </extension>
236
   <extension
237
         point="org.eclipse.ui.editors">
238
      <editor
239
            class="org.txm.rcp.editors.SVGGraphicEditor"
240
            default="false"
241
            id="org.txm.rcp.editors.SVGGraphicEditor"
242
            name="SVG"/>
243
      <editor
244
            class="org.txm.rcp.editors.TXMMultiPageEditor"
245
            default="false"
246
            id="org.txm.rcp.editors.GenericMultiPageEditor"
247
            name="%editor.name.1">
248
      </editor>
249
      <editor
250
            class="org.txm.rcp.editors.TxtEditor"
251
            contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
252
            default="false"
253
            icon="icons/objects/file.png"
254
            id="org.txm.rcp.editors.TxtEditor"
255
            name="%editor.name.4">
256
      </editor>
257
      <editor
258
            class="org.txm.rcp.editors.TXMBrowser"
259
            default="false"
260
            icon="icons/objects/edition.png"
261
            id="org.txm.rcp.editors.TXMBrowser"
262
            name="%editor.name.5">
263
      </editor>
264
      <editor
265
            class="org.txm.rcp.editors.objectexplorer.ObjectExplorer"
266
            default="false"
267
            id="org.txm.rcp.editors.ObjectExplorer"
268
            name="%editor.name.6">
269
      </editor>
270
      <editor
271
            class="org.txm.rcp.editors.imports.ImportFormEditor"
272
            default="false"
273
            icon="icons/objects/books.png"
274
            id="org.txm.rcp.editors.imports.ImportFormEditor"
275
            name="%editor.name.15">
276
      </editor>
277
      <editor
278
            class="org.txm.rcp.editors.TXMWebBrowserEditor"
279
            default="false"
280
            icon="icons/objects/world.png"
281
            id="org.txm.rcp.editors.TXMWebBrowserEditor"
282
            name="%editor.name.22">
283
      </editor>
284
      <editor
285
            class="org.txm.rcp.editors.TXMEditor"
286
            default="false"
287
            id="org.txm.rcp.editors.TXMEditor"
288
            name="%editor.name.2">
289
      </editor>
290
   </extension>
291
   <extension
292
         point="org.eclipse.core.runtime.preferences">
293
      <initializer
294
            class="org.txm.rcp.preferences.RCPPreferences">
295
      </initializer>
296
   </extension>
297
  <extension
298
         point="org.eclipse.ui.preferencePages">
299
      <page
300
            category="org.txm.rcp.preferences.TXMMainPreferencePage"
301
            class="org.txm.rcp.preferences.UserPreferencePage"
302
            id="org.txm.rcp.preferences.UserPreferencePage"
303
            name="%page.name">
304
      </page>
305
      <page
306
            category="org.txm.rcp.preferences.TXMMainPreferencePage"
307
            class="org.txm.rcp.preferences.AdvancedPreferencePage"
308
            id="org.txm.rcp.preferences.AdvancePreferencePage"
309
            name="%page.name.0">
310
      </page>
311
      <page
312
            class="org.txm.rcp.preferences.TXMMainPreferencePage"
313
            id="org.txm.rcp.preferences.TXMMainPreferencePage"
314
            name="%page.name.6">
315
      </page>
316
      <page
317
            category="org.txm.rcp.preferences.AdvancePreferencePage"
318
            class="org.txm.rcp.preferences.NLPPreferencePage"
319
            id="org.txm.rcp.preferences.NLPPreferencePage"
320
            name="%page.name.8">
321
      </page>
322
      <page
323
            category="org.txm.rcp.preferences.UserPreferencePage"
324
            class="org.txm.rcp.preferences.ScriptPreferencePage"
325
            id="org.txm.rcp.preferences.ScriptPreferencePage"
326
            name="%page.name.18">
327
      </page>
328
      <page
329
            category="org.txm.rcp.preferences.UserPreferencePage"
330
            class="org.txm.rcp.preferences.ExportPreferencePage"
331
            id="org.txm.rcp.preferences.ExportPreferencePage"
332
            name="%page.name.12">
333
      </page>
334
      <page
335
            category="org.txm.rcp.preferences.UserPreferencePage"
336
            class="org.txm.rcp.preferences.FileExplorerPreferencePage"
337
            id="org.txm.rcp.preferences.FileExplorerPreferencePage"
338
            name="%page.name.2">
339
      </page>
340
      <page
341
            category="org.txm.rcp.preferences.UserPreferencePage"
342
            class="org.txm.rcp.preferences.ImportPreferencePage"
343
            id="org.txm.rcp.preferences.ImportPreferencePage"
344
            name="%page.name.19">
345
        </page>
346
      <page
347
            category="org.txm.rcp.preferences.AdvancePreferencePage"
348
            class="org.txm.rcp.preferences.DebugPreferencePage"
349
            id="DebugPreferencePage"
350
            name="%page.name.1">
351
      </page>
352
   </extension>
353
   <extension
354
         point="org.eclipse.ui.menus">
355
      <menuContribution
356
            locationURI="menu:org.eclipse.ui.main.menu">
357
         <menu
358
               id="menu.file"
359
               label="%menu.label">
360
            <separator
361
                  name="menu.file.separator.import"
362
                  visible="true">
363
            </separator>
364
            <menu
365
                  icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png"
366
                  id="menu.file.import"
367
                  label="%menu.label.0">
368
               <command
369
                     commandId="org.txm.rcp.commands.ImportSelectedText"
370
                     label="%command.label.60"
371
                     style="push"
372
                     tooltip="%command.tooltip.27">
373
               </command>
374
               <command
375
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
376
                     label="%command.label.78"
377
                     style="push"
378
                     tooltip="%command.tooltip.45">
379
                  <parameter
380
                        name="org.txm.rcp.commands.commandParameter3"
381
                        value="txt/txtLoader.groovy">
382
                  </parameter>
383
               </command>
384
               <command
385
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
386
                     label="%command.label.87"
387
                     style="push"
388
                     tooltip="%command.tooltip.66">
389
                  <parameter
390
                        name="org.txm.rcp.commands.commandParameter3"
391
                        value="doc/docLoader.groovy">
392
                  </parameter>
393
               </command>
394
               <separator
395
                     name="menu.file.import.separator.xml"
396
                     visible="true">
397
               </separator>
398
               <command
399
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
400
                     label="%command.label.1"
401
                     style="push"
402
                     tooltip="%command.tooltip.44">
403
                  <parameter
404
                        name="org.txm.rcp.commands.commandParameter3"
405
                        value="xml/xmlLoader.groovy">
406
                  </parameter>
407
               </command>
408
               <command
409
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
410
                     label="%command.label.92"
411
                     style="push"
412
                     tooltip="%command.tooltip.88">
413
                  <parameter
414
                        name="org.txm.rcp.commands.commandParameter3"
415
                        value="xtz/xtzLoader.groovy">
416
                  </parameter>
417
               </command>
418
               <command
419
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
420
                     label="%command.label.5"
421
                     style="push"
422
                     tooltip="%command.tooltip.8">
423
                  <parameter
424
                        name="org.txm.rcp.commands.commandParameter3"
425
                        value="bfm/bfmLoader.groovy">
426
                  </parameter>
427
               </command>
428
               <command
429
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
430
                     label="%command.label.9"
431
                     style="push"
432
                     tooltip="%command.tooltip.9">
433
                  <parameter
434
                        name="org.txm.rcp.commands.commandParameter3"
435
                        value="frantext/frantextLoader.groovy">
436
                  </parameter>
437
               </command>
438
               <command
439
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
440
                     label="%command.label.12"
441
                     style="push"
442
                     tooltip="%command.tooltip.11">
443
                  <parameter
444
                        name="org.txm.rcp.commands.commandParameter3"
445
                        value="xmltxm/xmltxmLoader.groovy">
446
                  </parameter>
447
               </command>
448
               <command
449
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
450
                     label="%command.label.3"
451
                     style="push"
452
                     tooltip="%command.tooltip.5">
453
                  <parameter
454
                        name="org.txm.rcp.commands.commandParameter3"
455
                        value="transcriber/transcriberLoader.groovy">
456
                  </parameter>
457
               </command>
458
               <command
459
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
460
                     label="%command.label.2"
461
                     style="push"
462
                     tooltip="%command.tooltip.1">
463
                  <parameter
464
                        name="org.txm.rcp.commands.commandParameter3"
465
                        value="factiva/factivaLoader.groovy">
466
                  </parameter>
467
               </command>
468
               <command
469
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
470
                     label="%command.label.81"
471
                     style="push"
472
                     tooltip="%command.tooltip.24">
473
                  <parameter
474
                        name="org.txm.rcp.commands.commandParameter3"
475
                        value="tmx/tmxLoader.groovy">
476
                  </parameter>
477
               </command>
478
               <separator
479
                     name="menu.file.import.separator.software"
480
                     visible="true">
481
               </separator>
482
               <command
483
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
484
                     label="%command.label.64"
485
                     style="push"
486
                     tooltip="%command.tooltip.22">
487
                  <parameter
488
                        name="org.txm.rcp.commands.commandParameter3"
489
                        value="factiva/factivamailLoader.groovy">
490
                  </parameter>
491
               </command>
492
               <command
493
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
494
                     label="%command.label.0"
495
                     style="push"
496
                     tooltip="%command.tooltip.28">
497
                  <parameter
498
                        name="org.txm.rcp.commands.commandParameter3"
499
                        value="discours/discoursLoader.groovy">
500
                  </parameter>
501
               </command>
502
               <command
503
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
504
                     label="%command.label.62"
505
                     style="push"
506
                     tooltip="%command.tooltip.30">
507
                  <parameter
508
                        name="org.txm.rcp.commands.commandParameter3"
509
                        value="alceste/alcesteLoader.groovy">
510
                  </parameter>
511
               </command>
512
               <command
513
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
514
                     label="%command.label.61"
515
                     style="push"
516
                     tooltip="%command.tooltip.29">
517
                  <parameter
518
                        name="org.txm.rcp.commands.commandParameter3"
519
                        value="hyperbase/hyperbaseLoader.groovy">
520
                  </parameter>
521
               </command>
522
               <separator
523
                     name="menu.file.import.separator.cqp"
524
                     visible="true">
525
               </separator>
526
               <command
527
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
528
                     label="%command.label.82"
529
                     style="push"
530
                     tooltip="%command.tooltip.25">
531
                  <parameter
532
                        name="org.txm.rcp.commands.commandParameter3"
533
                        value="cqp/cqpLoader.groovy">
534
                  </parameter>
535
               </command>
536
               <separator
537
                     name="menu.file.import.separator.end"
538
                     visible="false">
539
               </separator>
540
            </menu>
541
            <menu
542
                  id="menu.file.load"
543
                  label="%menu.label.11">
544
               <command
545
                     commandId="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
546
                     label="%command.label.10"
547
                     style="push">
548
               </command>
549
               <command
550
                     commandId="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
551
                     label="%command.label.11"
552
                     style="push">
553
               </command>
554
               <separator
555
                     name="menu.file.load.separator.end"
556
                     visible="false">
557
               </separator>
558
            </menu>
559
            <menu
560
                  icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/export_wiz.png"
561
                  id="menu.file.export"
562
                  label="%menu.label.5">
563
               <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
            <command
1229
                  commandId="org.eclipse.ui.window.showKeyAssist"
1230
                  label="%command.label.52"
1231
                  style="push">
1232
            </command>
1233
            <command
1234
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1235
                  label="%command.label.68"
1236
                  style="push"
1237
                  tooltip="%command.tooltip.23">
1238
               <parameter
1239
                     name="org.txm.rcp.commands.commandParameter3"
1240
                     value="refman">
1241
               </parameter>
1242
            </command>
1243
            <command
1244
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1245
                  label="%command.label.33"
1246
                  style="push"
1247
                  tooltip="%command.tooltip.13">
1248
               <parameter
1249
                     name="org.txm.rcp.commands.commandParameter3"
1250
                     value="macros">
1251
               </parameter>
1252
            </command>
1253
            <menu
1254
                  id="menu.help.plugins"
1255
                  label="%menu.label.4">
1256
            </menu>
1257
            <command
1258
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1259
                  label="%command.label.49"
1260
                  style="push"
1261
                  tooltip="%command.tooltip">
1262
               <parameter
1263
                     name="org.txm.rcp.commands.commandParameter3"
1264
                     value="http://textometrie.ens-lyon.fr/files/corpora/">
1265
               </parameter>
1266
            </command>
1267
            <command
1268
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1269
                  label="%command.label.70"
1270
                  style="push">
1271
               <parameter
1272
                     name="org.txm.rcp.commands.commandParameter3"
1273
                     value="sf_docs">
1274
               </parameter>
1275
            </command>
1276
            <command
1277
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1278
                  label="%command.label.178"
1279
                  style="push"
1280
                  tooltip="%command.tooltip.41">
1281
               <parameter
1282
                     name="org.txm.rcp.commands.commandParameter3"
1283
                     value="faq">
1284
               </parameter>
1285
            </command>
1286
            <command
1287
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1288
                  label="%command.label.35"
1289
                  style="push"
1290
                  tooltip="%command.tooltip.43">
1291
               <parameter
1292
                     name="org.txm.rcp.commands.commandParameter3"
1293
                     value="txm-users wiki">
1294
               </parameter>
1295
            </command>
1296
            <command
1297
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1298
                  label="%command.label.55"
1299
                  style="push"
1300
                  tooltip="%command.tooltip">
1301
               <parameter
1302
                     name="org.txm.rcp.commands.commandParameter3"
1303
                     value="mailinglist">
1304
               </parameter>
1305
            </command>
1306
            <command
1307
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1308
                  label="%command.label.76"
1309
                  style="push"
1310
                  tooltip="%command.tooltip.65">
1311
               <parameter
1312
                     name="org.txm.rcp.commands.commandParameter3"
1313
                     value="http://webchat.freenode.net/?channels=txm">
1314
               </parameter>
1315
            </command>
1316
            <separator
1317
                  name="helpSeparator1"
1318
                  visible="true">
1319
            </separator>
1320
            <command
1321
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1322
                  label="%command.label.56"
1323
                  style="push"
1324
                  tooltip="%command.tooltip">
1325
               <parameter
1326
                     name="org.txm.rcp.commands.commandParameter3"
1327
                     value="sf">
1328
               </parameter>
1329
            </command>
1330
            <command
1331
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1332
                  label="%command.label.69"
1333
                  style="push">
1334
               <parameter
1335
                     name="org.txm.rcp.commands.commandParameter3"
1336
                     value="textometrie">
1337
               </parameter>
1338
            </command>
1339
            <command
1340
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1341
                  label="%command.label.72"
1342
                  style="push">
1343
               <parameter
1344
                     name="org.txm.rcp.commands.commandParameter3"
1345
                     value="textometrie_docs">
1346
               </parameter>
1347
            </command>
1348
            <separator
1349
                  name="helpSeparator3"
1350
                  visible="true">
1351
            </separator>
1352
            <command
1353
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1354
                  label="%command.label.67"
1355
                  style="push"
1356
                  tooltip="%command.tooltip">
1357
               <parameter
1358
                     name="org.txm.rcp.commands.commandParameter3"
1359
                     value="treetagger">
1360
               </parameter>
1361
            </command>
1362
            <command
1363
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1364
                  label="%command.label.53"
1365
                  style="push"
1366
                  tooltip="%command.tooltip">
1367
               <parameter
1368
                     name="org.txm.rcp.commands.commandParameter3"
1369
                     value="bug">
1370
               </parameter>
1371
            </command>
1372
            <command
1373
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1374
                  label="%command.label.54"
1375
                  style="push"
1376
                  tooltip="%command.tooltip">
1377
               <parameter
1378
                     name="org.txm.rcp.commands.commandParameter3"
1379
                     value="feature">
1380
               </parameter>
1381
            </command>
1382
            <command
1383
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1384
                  label="%command.label.179"
1385
                  style="push"
1386
                  tooltip="%command.tooltip.47">
1387
               <parameter
1388
                     name="org.txm.rcp.commands.commandParameter3"
1389
                     value="contrib">
1390
               </parameter>
1391
            </command>
1392
            <separator
1393
                  name="org.txm.rcp.separator4"
1394
                  visible="true">
1395
            </separator>
1396
            <command
1397
                  commandId="org.eclipse.ui.help.aboutAction"
1398
                  label="%command.label.14"
1399
                  style="push"
1400
                  tooltip="%command.tooltip.10">
1401
            </command>
1402
         </menu>
1403
         <menu
1404
               id="menu.recettes"
1405
               label="%menu.label.12"
1406
               tooltip="%menu.tooltip.1">
1407
            <visibleWhen
1408
                  checkEnabled="false">
1409
               <or>
1410
                  <reference
1411
                        definitionId="ExpertEnabled">
1412
                  </reference>
1413
               </or>
1414
            </visibleWhen>
1415
         </menu>
1416
      </menuContribution>
1417
      <menuContribution
1418
            allPopups="true"
1419
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1420
         <separator
1421
               name="org.txm.rcp.toolbars.begin"
1422
               visible="false">
1423
         </separator>
1424
         <toolbar
1425
               id="org.txm.rcp.toolbars.result">
1426
            <command
1427
                  commandId="org.txm.rcp.commands.function.ExportResult"
1428
                  icon="icons/functions/export_data.png"
1429
                  label="%command.label.51"
1430
                  style="push">
1431
               <visibleWhen
1432
                     checkEnabled="false">
1433
                  <and>
1434
                     <reference
1435
                           definitionId="OneTXMResultSelected">
1436
                     </reference>
1437
                     <not>
1438
                        <or>
1439
                           <reference
1440
                                 definitionId="OnePartitionSelected">
1441
                           </reference>
1442
                           <reference
1443
                                 definitionId="OneCorpusSelected">
1444
                           </reference>
1445
                        </or>
1446
                     </not>
1447
                  </and>
1448
               </visibleWhen>
1449
            </command>
1450
         </toolbar>
1451
         <separator
1452
               name="org.txm.rcp.toolbar.separator1"
1453
               visible="false">
1454
         </separator>
1455
         <toolbar
1456
               id="org.txm.rcp.toolbarcorpus">
1457
            <separator
1458
                  name="org.txm.rcp.toolbarcorpus.read"
1459
                  visible="false">
1460
            </separator>
1461
            <command
1462
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1463
                  icon="icons/functions/Delete.png"
1464
                  style="push"
1465
                  tooltip="%command.tooltip.33">
1466
               <visibleWhen
1467
                     checkEnabled="false">
1468
                  <or>
1469
                     <reference
1470
                           definitionId="OneTXMResultSelected">
1471
                     </reference>
1472
                  </or>
1473
               </visibleWhen>
1474
            </command>
1475
            
1476
            <separator
1477
                  name="org.txm.rcp.toolbarcorpus.corpus"
1478
                  visible="false">
1479
            </separator>
1480
            <separator
1481
                  name="org.txm.rcp.toolbarcorpus.annotation"
1482
                  visible="false">
1483
            </separator>
1484
         </toolbar>
1485
         <separator
1486
               name="org.txm.rcp.toolbar.separator1"
1487
               visible="true">
1488
         </separator>
1489
         <toolbar
1490
               id="org.txm.rcp.toolbartools">
1491
            <separator
1492
                  name="org.txm.rcp.separator1"
1493
                  visible="true">
1494
            </separator>
1495
            <separator
1496
                  name="org.txm.rcp.toolbartools.stats"
1497
                  visible="true">
1498
            </separator>
1499

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

    
2195
      </menuContribution>
2196

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

    
2531
      <command
2532
            categoryId="org.txm.rcp.category.txm"
2533
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2534
            id="org.txm.rcp.commands.ReloadCorporaView"
2535
            name="%command.name.2">
2536
      </command>
2537
      <command
2538
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2539
            id="org.txm.rcp.commands.function.RenameResult"
2540
            name="%command.name.4">
2541
      </command>
2542
      <command
2543
            categoryId="org.txm.rcp.category.txm"
2544
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2545
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2546
            name="%command.name.64">
2547
      </command>
2548
   </extension>
2549
   <extension
2550
         id="commands"
2551
         name="%extension.name.1"
2552
         point="org.eclipse.ui.commands">
2553

    
2554
      <command
2555
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2556
            id="org.txm.rcp.commands.function.ExportResult"
2557
            name="%command.name.24">
2558
      </command>
2559
      <command
2560
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2561
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2562
            name="%command.name.35">
2563
      </command>
2564
      <command
2565
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2566
            id="org.txm.rcp.commands.function.ExportSVG"
2567
            name="%command.name.34">
2568
      </command>
2569
      <command
2570
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2571
            id="org.txm.rcp.handlers.export.ImportResult"
2572
            name="%command.name.39">
2573
      </command>
2574
      <command
2575
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2576
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2577
            name="%command.name.40">
2578
      </command>
2579
   </extension>
2580
   <extension
2581
         id="links"
2582
         name="%extension.name.2"
2583
         point="org.eclipse.ui.commands">
2584

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