Statistics
| Revision:

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

History | View | Annotate | Download (124.5 kB)

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

    
230

    
231

    
232

    
233

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

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

    
2199
      </menuContribution>
2200

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

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

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

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