Statistics
| Revision:

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

History | View | Annotate | Download (124.6 kB)

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

    
230

    
231

    
232

    
233

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

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

    
2203
      </menuContribution>
2204

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

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

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

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