Statistics
| Revision:

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

History | View | Annotate | Download (121.4 kB)

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

    
207

    
208

    
209

    
210

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

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

    
2144
      </menuContribution>
2145

    
2146
      <menuContribution
2147
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2148
         <command
2149
               commandId="org.txm.rcp.commands.function.ExportSVG"
2150
               label="%command.label.101"
2151
               style="push"
2152
               tooltip="%command.tooltip.60">
2153
            <visibleWhen
2154
                  checkEnabled="false">
2155
               <reference
2156
                     definitionId="SVGEditorActive">
2157
               </reference>
2158
            </visibleWhen>
2159
         </command>
2160
      </menuContribution>
2161
      <menuContribution
2162
            locationURI="popup:org.txm.rcp.views.QueriesView">
2163
         <command
2164
               commandId="org.txm.rcp.commands.queryview.Copy"
2165
               label="%command.label.129"
2166
               style="push"
2167
               tooltip="%command.tooltip.81">
2168
            <visibleWhen
2169
                  checkEnabled="false">
2170
               <reference
2171
                     definitionId="OneQueryLogSelected">
2172
               </reference>
2173
            </visibleWhen>
2174
         </command>
2175
         <command
2176
               commandId="org.txm.rcp.commands.queryview.Paste"
2177
               label="%command.label.130"
2178
               style="push"
2179
               tooltip="%command.tooltip.82">
2180
            <visibleWhen
2181
                  checkEnabled="false">
2182
               <reference
2183
                     definitionId="OneBaseSelected">
2184
               </reference>
2185
            </visibleWhen>
2186
         </command>
2187
         <command
2188
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2189
               icon="icons/functions/Delete.png"
2190
               label="%command.label.65"
2191
               style="push"
2192
               tooltip="%command.tooltip.33">
2193
            <visibleWhen
2194
                  checkEnabled="false">
2195
               <reference
2196
                     definitionId="OneQueryLogSelected">
2197
               </reference>
2198
            </visibleWhen>
2199
         </command>
2200
      </menuContribution>
2201
      <menuContribution
2202
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2203
         <command
2204
               commandId="org.txm.rcp.commands.ExecuteMacro"
2205
               label="%command.label.23"
2206
               style="push"
2207
               tooltip="%command.tooltip.19">
2208
            <visibleWhen
2209
                  checkEnabled="false">
2210
               <reference
2211
                     definitionId="OneFileSelected">
2212
               </reference>
2213
            </visibleWhen>
2214
         </command>
2215
         <command
2216
               commandId="org.txm.rcp.commands.EditSelectedFile"
2217
               label="%command.label.186"
2218
               style="push"
2219
               tooltip="%command.tooltip.86">
2220
            <visibleWhen
2221
                  checkEnabled="false">
2222
               <reference
2223
                     definitionId="OneFileSelected">
2224
               </reference>
2225
            </visibleWhen>
2226
         </command>
2227
         <command
2228
               commandId="org.txm.rcp.commands.CreateMacro"
2229
               label="%command.label.187"
2230
               style="push"
2231
               tooltip="%command.tooltip.92">
2232
            <visibleWhen
2233
                  checkEnabled="false">
2234
               <reference
2235
                     definitionId="OneFileSelected">
2236
               </reference>
2237
            </visibleWhen>
2238
         </command>
2239
         <command
2240
               commandId="org.txm.rcp.commands.CreateFolder"
2241
               label="%command.label.123"
2242
               style="push"
2243
               tooltip="%command.tooltip.76">
2244
            <visibleWhen
2245
                  checkEnabled="false">
2246
               <reference
2247
                     definitionId="OneFileSelected">
2248
               </reference>
2249
            </visibleWhen>
2250
         </command>
2251
         <command
2252
               commandId="org.txm.rcp.commands.ShowSelected"
2253
               style="push">
2254
         </command>
2255
         <command
2256
               commandId="org.txm.rcp.commands.RenameFile"
2257
               style="push">
2258
            <visibleWhen
2259
                  checkEnabled="false">
2260
               <reference
2261
                     definitionId="OneFileSelected">
2262
               </reference>
2263
            </visibleWhen>
2264
         </command>
2265
         <command
2266
               commandId="org.txm.rcp.commands.DeleteFile"
2267
               style="push"
2268
               tooltip="%command.tooltip.15">
2269
            <visibleWhen
2270
                  checkEnabled="false">
2271
               <reference
2272
                     definitionId="OneFileSelected">
2273
               </reference>
2274
            </visibleWhen>
2275
         </command>
2276
         <command
2277
               commandId="org.txm.rcp.commands.CopyFile"
2278
               style="push"
2279
               tooltip="%command.tooltip.16">
2280
            <visibleWhen
2281
                  checkEnabled="false">
2282
               <reference
2283
                     definitionId="OneFileSelected">
2284
               </reference>
2285
            </visibleWhen>
2286
         </command>
2287
         <command
2288
               commandId="org.txm.rcp.commands.CutFile"
2289
               style="push"
2290
               tooltip="%command.tooltip.20">
2291
            <visibleWhen
2292
                  checkEnabled="false">
2293
               <reference
2294
                     definitionId="OneFileSelected">
2295
               </reference>
2296
            </visibleWhen>
2297
         </command>
2298
         <command
2299
               commandId="org.txm.rcp.commands.PasteFile"
2300
               style="push"
2301
               tooltip="%command.tooltip.21">
2302
            <visibleWhen
2303
                  checkEnabled="false">
2304
               <reference
2305
                     definitionId="OneFileSelected">
2306
               </reference>
2307
            </visibleWhen>
2308
         </command>
2309
      </menuContribution>
2310
      <menuContribution
2311
            allPopups="true"
2312
            locationURI="toolbar:TXMEditorTopToolBar">
2313
         <command
2314
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2315
               icon="icons/functions/run.png"
2316
               id="compute"
2317
               label="%command.label.36"
2318
               style="push">
2319
         </command>
2320
      </menuContribution>
2321
      <menuContribution
2322
            allPopups="false"
2323
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2324
         <command
2325
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2326
               icon="icons/refresh.png"
2327
               style="push">
2328
         </command>
2329
      </menuContribution>
2330
   </extension>
2331
   <extension
2332
         id="general"
2333
         name="%extension.name.0"
2334
         point="org.eclipse.ui.commands">
2335
      <category
2336
            description="%category.description"
2337
            id="org.txm.rcp.category.txm"
2338
            name="%category.name.0">
2339
      </category>
2340
      <command
2341
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2342
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2343
            name="%command.name.22">
2344
         <commandParameter
2345
               id="org.txm.rcp.commands.commandParameter3"
2346
               name="%commandParameter.name.1"
2347
               optional="true">
2348
         </commandParameter>
2349
      </command>
2350
      
2351
      <command
2352
            categoryId="org.eclipse.ui.category.navigate"
2353
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2354
            id="org.txm.rcp.commands.OpenBrowser"
2355
            name="%command.name.8">
2356
         <commandParameter
2357
               id="org.txm.rcp.commands.commandParameter2"
2358
               name="%commandParameter.name"
2359
               optional="true">
2360
         </commandParameter>
2361
      </command>
2362
      <command
2363
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2364
            id="org.txm.rcp.commands.ShowSelected"
2365
            name="%command.name.9">
2366
      </command>
2367
      <command
2368
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2369
            description="%command.description"
2370
            id="org.txm.rcp.commands.RestartTXM"
2371
            name="%command.name.25">
2372
      </command>
2373
      
2374
      <command
2375
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2376
            id="org.txm.rcp.commands.ImportSelectedText"
2377
            name="%command.name.28">
2378
      </command>
2379
      <command
2380
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2381
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2382
            name="%command.name.31">
2383
      </command>
2384
            
2385
      <command
2386
            categoryId="org.eclipse.ui.category.edit"
2387
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2388
            id="org.txm.rcp.commands.OpenImportForm"
2389
            name="%command.name.62">
2390
         <commandParameter
2391
               id="org.txm.rcp.commands.importscript"
2392
               name="%commandParameter.name.2"
2393
               optional="false">
2394
         </commandParameter>
2395
      </command>
2396
      <command
2397
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2398
            description="%command.description.0"
2399
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2400
            name="%command.name.3">
2401
      </command>
2402
      <command
2403
            categoryId="org.txm.rcp.category.txm"
2404
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2405
            id="org.txm.rcp.commands.OpenTestEditor"
2406
            name="%command.name.19">
2407
      </command>
2408
      <command
2409
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2410
            id="org.txm.rcp.commands.editor.SetEncoding"
2411
            name="%command.name.72">
2412
      </command>
2413
      <command
2414
            categoryId="org.eclipse.ui.category.navigate"
2415
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2416
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2417
            name="%command.name.74">
2418
         <commandParameter
2419
               id="org.txm.rcp.commands.commandParameter3"
2420
               name="%commandParameter.name.3"
2421
               optional="true">
2422
         </commandParameter>
2423
      </command>
2424
      <command
2425
            categoryId="org.eclipse.ui.category.navigate"
2426
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2427
            id="org.txm.rcp.commands.OpenWelcomePage"
2428
            name="%command.name.8">
2429
         <commandParameter
2430
               id="org.txm.rcp.commands.commandParameter2"
2431
               name="%commandParameter.name"
2432
               optional="true">
2433
         </commandParameter>
2434
      </command>
2435
      <command
2436
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2437
            description="%command.label.182"
2438
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2439
            name="%command.label.182">
2440
      </command>
2441
      <command
2442
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2443
            description="%command.description.3"
2444
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2445
            name="%command.name.87">
2446
                     <commandParameter
2447
               id="org.txm.rcp.parameters.update"
2448
               name="%commandParameter.name.4"
2449
               optional="true">
2450
         </commandParameter>
2451
      </command>
2452
      <command
2453
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2454
            description="%command.description.4"
2455
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2456
            name="%command.name.88">
2457
      </command>
2458
      <command
2459
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2460
            id="org.txm.rcp.commands.CleanPerspective"
2461
            name="%command.name.94">
2462
      </command>
2463
      <command
2464
            defaultHandler="org.txm.rcp.commands.OpenManual"
2465
            id="org.txm.rcp.commands.OpenManual"
2466
            name="%command.name.95">
2467
      </command>
2468
      <command
2469
            categoryId="org.txm.rcp.category.txm"
2470
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2471
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2472
            name="%command.name.98">
2473
      </command>
2474

    
2475
      <command
2476
            categoryId="org.txm.rcp.category.txm"
2477
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2478
            id="org.txm.rcp.commands.ReloadCorporaView"
2479
            name="%command.name.2">
2480
      </command>
2481
      <command
2482
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2483
            id="org.txm.rcp.commands.function.RenameResult"
2484
            name="%command.name.4">
2485
      </command>
2486
   </extension>
2487
   <extension
2488
         id="commands"
2489
         name="%extension.name.1"
2490
         point="org.eclipse.ui.commands">
2491

    
2492
      <command
2493
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2494
            description="%command.description.2"
2495
            id="org.txm.rcp.commands.tests.NilsTest"
2496
            name="%command.name.85">
2497
      </command>
2498
      <command
2499
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2500
            id="org.txm.rcp.commands.function.ExportResult"
2501
            name="%command.name.24">
2502
      </command>
2503
      <command
2504
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2505
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2506
            name="%command.name.35">
2507
      </command>
2508
      <command
2509
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2510
            id="org.txm.rcp.commands.function.ExportSVG"
2511
            name="%command.name.34">
2512
      </command>
2513
      <command
2514
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2515
            id="org.txm.rcp.handlers.export.ImportResult"
2516
            name="%command.name.39">
2517
      </command>
2518
      <command
2519
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2520
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2521
            name="%command.name.40">
2522
      </command>
2523
   </extension>
2524
   <extension
2525
         id="links"
2526
         name="%extension.name.2"
2527
         point="org.eclipse.ui.commands">
2528

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