Statistics
| Revision:

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

History | View | Annotate | Download (119.6 kB)

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

    
200

    
201

    
202

    
203

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

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

    
2099
      </menuContribution>
2100

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

    
2430
      <command
2431
            categoryId="org.txm.rcp.category.txm"
2432
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2433
            id="org.txm.rcp.commands.ReloadCorporaView"
2434
            name="%command.name.2">
2435
      </command>
2436
      <command
2437
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2438
            id="org.txm.rcp.commands.function.RenameResult"
2439
            name="%command.name.4">
2440
      </command>
2441
      <command
2442
            categoryId="org.txm.rcp.category.txm"
2443
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2444
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2445
            name="%command.name.64">
2446
      </command>
2447
   </extension>
2448
   <extension
2449
         id="commands"
2450
         name="%extension.name.1"
2451
         point="org.eclipse.ui.commands">
2452

    
2453
      <command
2454
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2455
            id="org.txm.rcp.commands.function.ExportResult"
2456
            name="%command.name.24">
2457
      </command>
2458
      <command
2459
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2460
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2461
            name="%command.name.35">
2462
      </command>
2463
      <command
2464
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2465
            id="org.txm.rcp.commands.function.ExportSVG"
2466
            name="%command.name.34">
2467
      </command>
2468
      <command
2469
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2470
            id="org.txm.rcp.handlers.export.ImportResult"
2471
            name="%command.name.39">
2472
      </command>
2473
      <command
2474
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2475
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2476
            name="%command.name.40">
2477
      </command>
2478
   </extension>
2479
   <extension
2480
         id="links"
2481
         name="%extension.name.2"
2482
         point="org.eclipse.ui.commands">
2483

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