Statistics
| Revision:

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

History | View | Annotate | Download (119.4 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
 
7
   <extension
8
         id="Application"
9
         point="org.eclipse.core.runtime.applications">
10
      <application
11
            icon="icons/logo/TXM_logo.png">
12
         <run
13
               class="org.txm.rcp.Application">
14
         </run>
15
      </application>
16
   </extension>
17
   <extension
18
         point="org.eclipse.ui.perspectives">
19
      <perspective
20
            class="org.txm.rcp.perspective.TXMPerspective"
21
            icon="icons/objects/corpus.png"
22
            id="org.txm.rcp.perspective.TXMPerspective"
23
            name="%perspective.name">
24
      </perspective>
25
   </extension>
26
   <extension
27
         id="product"
28
         point="org.eclipse.core.runtime.products">
29
      <product
30
            application="org.txm.rcp.Application"
31
            description="%product.description"
32
            name="TXM">
33
         <property
34
               name="appName"
35
               value="TXM">
36
         </property>
37
         <property
38
               name="windowImages"
39
               value="icons/logo/TXM logo 16x16.png,icons/logo/TXM_logo.png,icons/logo/TXM logo 48x48.png,icons/logo/TXM_logo_64x64.png,icons/logo/TXM logo 128x128.png,icons/logo/TXM logo 256x256.png">
40
         </property>
41
         <property
42
               name="startupForegroundColor"
43
               value="000000">
44
         </property>
45
         <property
46
               name="startupMessageRect"
47
               value="13,312,290,20">
48
         </property>
49
         <property
50
               name="aboutImage"
51
               value="icons/logo/about TXM.png">
52
         </property>
53
         <property
54
               name="aboutText"
55
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.0 Copyright © 2010-2018 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
56
         </property>
57
         <property
58
               name="startupProgressRect"
59
               value="13,332,290,15">
60
         </property>
61
         <property
62
               name="cssTheme"
63
               value="org.txm.rcp.theme.default.linux">
64
         </property>
65
         <property
66
               name="preferenceCustomization"
67
               value="plugin_customization.ini">
68
         </property>
69
      </product>
70
   </extension>
71
   <extension
72
         point="org.eclipse.ui.perspectiveExtensions">
73
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
74
         <view
75
               closeable="false"
76
               id="org.txm.rcp.views.corpora.CorporaView"
77
               ratio="0.5"
78
               relationship="right"
79
               relative="org.eclipse.ui.views.TaskList"
80
               showTitle="true"/>
81
         <view
82
               closeable="true"
83
               id="org.eclipse.ui.views.ProgressView"
84
               ratio="0.5"
85
               relationship="bottom"
86
               showTitle="true"
87
               visible="true">
88
         </view>
89
         <view
90
               closeable="true"
91
               id="org.txm.rcp.views.GroovyConsole"
92
               minimized="false"
93
               ratio="0.5"
94
               relationship="bottom"
95
               visible="true">
96
         </view>
97
      </perspectiveExtension>
98
   </extension>
99
   <extension
100
         point="org.eclipse.ui.views">
101
      <category
102
            id="org.txm.rcp"
103
            name="%category.name"/>
104
      <view
105
            category="org.txm.rcp"
106
            class="org.txm.rcp.views.corpora.CorporaView"
107
            icon="icons/objects/corpus.png"
108
            id="org.txm.rcp.views.corpora.CorporaView"
109
            name="%view.name"/>
110
      <view
111
            allowMultiple="false"
112
            category="org.eclipse.ui"
113
            class="org.eclipse.ui.ExtensionFactory:progressView"
114
            id="org.eclipse.ui.views.ProgressView"
115
            name="%view.name.0"
116
            restorable="true">
117
      </view>
118
      <view
119
            allowMultiple="false"
120
            category="org.txm.rcp"
121
            class="org.txm.rcp.views.fileexplorer.Explorer"
122
            icon="icons/objects/folder.png"
123
            id="org.txm.rcp.views.fileexplorer.Explorer"
124
            name="%view.name.1"
125
            restorable="true">
126
      </view>
127
      <view
128
            category="org.txm.rcp.debug"
129
            class="org.txm.rcp.views.SummaryView"
130
            id="org.txm.rcp.views.InternalCorpusView"
131
            name="%view.name.7"
132
            restorable="true">
133
      </view>
134
      <view
135
            allowMultiple="false"
136
            category="org.txm.rcp"
137
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
138
            icon="icons/objects/script.png"
139
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
140
            name="%view.name.8"
141
            restorable="true">
142
      </view>
143
      <view
144
            category="org.txm.rcp.debug"
145
            class="org.txm.rcp.views.cmdparameters.ParametersView"
146
            icon="icons/functions/Properties.png"
147
            id="org.txm.rcp.views.cmdparameters.ParametersView"
148
            name="%view.name.11"
149
            restorable="true">
150
      </view>
151
      <view
152
            category="org.txm.rcp.debug"
153
            class="org.txm.rcp.views.debug.TXMResultDebugView"
154
            icon="icons/functions/Properties.png"
155
            id="org.txm.rcp.views.debug.TXMResultDebugView"
156
            name="%view.name.12"
157
            restorable="true">
158
      </view>
159
      <view
160
            category="org.txm.rcp.debug"
161
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
162
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
163
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
164
            name="%view.name.13"
165
            restorable="true">
166
      </view>
167
      <view
168
            allowMultiple="false"
169
            category="org.txm.rcp.debug"
170
            class="org.txm.rcp.views.debug.EnginesDebugView"
171
            icon="icons/functions/parameters.png"
172
            id="org.txm.rcp.views.debug.EnginesDebugView"
173
            name="%view.name.10"
174
            restorable="true">
175
      </view>
176
      <category
177
            id="org.txm.rcp.debug"
178
            name="%category.name.7"
179
            parentCategory="org.txm.rcp">
180
      </category>
181
   </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.commands.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.eclipse.ui.file.exit"
652
                  label="%command.label.6"
653
                  style="push"
654
                  tooltip="%command.tooltip.2">
655
            </command>
656
         </menu>
657
         <menu
658
               id="menu.edit"
659
               label="%menu.label.3">
660
               
661
               <command
662
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
663
                  mode="FORCE_TEXT"
664
                  style="toggle">
665
               <visibleWhen
666
                     checkEnabled="false">
667
                  <and>
668
                     <reference
669
                           definitionId="OneTXMResultSelected">
670
                     </reference>
671
                     <test
672
                           property="org.txm.rcp.testers.persistable"
673
                           value="true">
674
                     </test>
675
                     <test
676
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
677
                     </test>
678
                  </and>
679
               </visibleWhen>
680
            </command>
681
            <command
682
                  commandId="org.txm.rcp.commands.function.RenameResult"
683
                  label="%command.label.26"
684
                  style="push">
685
               <visibleWhen
686
                     checkEnabled="false">
687
                  <reference
688
                        definitionId="OneTXMResultSelected">
689
                  </reference>
690
               </visibleWhen>
691
            </command>
692
            <command
693
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
694
                  label="%command.label.37"
695
                  style="push">
696
               <visibleWhen
697
                     checkEnabled="false">
698
                  <and>
699
                     <reference
700
                           definitionId="OneTXMResultSelected">
701
                     </reference>
702
                     <not>
703
                        <reference
704
                              definitionId="OneMainCorpusSelected">
705
                        </reference>
706
                     </not>
707
                  </and>
708
               </visibleWhen>
709
            </command>
710
            <command
711
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
712
                  label="%command.label.38"
713
                  style="push">
714
               <visibleWhen
715
                     checkEnabled="false">
716
                  <and>
717
                     <reference
718
                           definitionId="OneTXMResultSelected">
719
                     </reference>
720
                     <not>
721
                        <reference
722
                              definitionId="OneMainCorpusSelected">
723
                        </reference>
724
                     </not>
725
                  </and>
726
               </visibleWhen>
727
            </command>
728
            <command
729
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
730
                  label="%command.label.42"
731
                  style="push">
732
               <visibleWhen
733
                     checkEnabled="false">
734
                  <and>
735
                     <reference
736
                           definitionId="OneTXMResultSelected">
737
                     </reference>
738
                     <test
739
                           property="org.txm.rcp.testers.IsParentHidden">
740
                     </test>
741
                  </and>
742
               </visibleWhen>
743
            </command>
744
            <command
745
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
746
                  label="%command.label.48"
747
                  style="push">
748
               <visibleWhen
749
                     checkEnabled="false">
750
                  <and>
751
                     <reference
752
                           definitionId="OneTXMResultSelected">
753
                     </reference>
754
                     <test
755
                           property="org.txm.rcp.testers.IsParentVisible"
756
                           value="true">
757
                     </test>
758
                  </and>
759
               </visibleWhen>
760
            </command>
761
            <separator
762
                  name="org.txm.rcp.separator1">
763
            </separator>
764
            
765
            <command
766
                  commandId="org.eclipse.ui.edit.findReplace"
767
                  label="%command.label.15">
768
               <visibleWhen
769
                     checkEnabled="false">
770
                  <reference
771
                        definitionId="TextEditorActive">
772
                  </reference>
773
               </visibleWhen>
774
            </command>
775
            <command
776
                  commandId="org.eclipse.ui.edit.findNext"
777
                  label="%command.label.98"
778
                  style="push">
779
               <visibleWhen
780
                     checkEnabled="false">
781
                  <reference
782
                        definitionId="TextEditorActive">
783
                  </reference>
784
               </visibleWhen>
785
            </command>
786
            <command
787
                  commandId="org.eclipse.ui.edit.findPrevious"
788
                  label="%command.label.100"
789
                  style="push">
790
               <visibleWhen
791
                     checkEnabled="false">
792
                  <reference
793
                        definitionId="TextEditorActive">
794
                  </reference>
795
               </visibleWhen>
796
            </command>
797
            <command
798
                  commandId="org.eclipse.ui.edit.findIncremental"
799
                  label="%command.label.109"
800
                  style="push">
801
               <visibleWhen
802
                     checkEnabled="false">
803
                  <reference
804
                        definitionId="TextEditorActive">
805
                  </reference>
806
               </visibleWhen>
807
            </command>
808
            <command
809
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
810
                  label="%command.label.110"
811
                  style="push">
812
               <visibleWhen
813
                     checkEnabled="false">
814
                  <reference
815
                        definitionId="TextEditorActive">
816
                  </reference>
817
               </visibleWhen>
818
            </command>
819
            <separator
820
                  name="org.txm.rcp.separator1"
821
                  visible="true">
822
            </separator>
823
            <command
824
                  commandId="org.eclipse.ui.edit.undo"
825
                  label="%command.label.16">
826
               <visibleWhen
827
                     checkEnabled="false">
828
                  <reference
829
                        definitionId="TextEditorActive">
830
                  </reference>
831
               </visibleWhen>
832
            </command>
833
            <command
834
                  commandId="org.eclipse.ui.edit.redo"
835
                  label="%command.label.17">
836
               <visibleWhen
837
                     checkEnabled="false">
838
                  <reference
839
                        definitionId="TextEditorActive">
840
                  </reference>
841
               </visibleWhen>
842
            </command>
843
            <separator
844
                  name="org.txm.rcp.separator2"
845
                  visible="true">
846
            </separator>
847
            <command
848
                  commandId="org.eclipse.ui.edit.cut"
849
                  label="%command.label.18">
850
               <visibleWhen
851
                     checkEnabled="false">
852
                  <reference
853
                        definitionId="TextEditorActive">
854
                  </reference>
855
               </visibleWhen>
856
            </command>
857
            <command
858
                  commandId="org.eclipse.ui.edit.copy"
859
                  label="%command.label.19">
860
               <visibleWhen
861
                     checkEnabled="false">
862
                  <reference
863
                        definitionId="TextEditorActive">
864
                  </reference>
865
               </visibleWhen>
866
            </command>
867
            <command
868
                  commandId="org.eclipse.ui.edit.paste"
869
                  label="%command.label.20">
870
               <visibleWhen
871
                     checkEnabled="false">
872
                  <reference
873
                        definitionId="TextEditorActive">
874
                  </reference>
875
               </visibleWhen>
876
            </command>
877
            <command
878
                  commandId="org.eclipse.ui.edit.delete"
879
                  label="%command.label.27">
880
               <visibleWhen
881
                     checkEnabled="false">
882
                  <reference
883
                        definitionId="TextEditorActive">
884
                  </reference>
885
               </visibleWhen>
886
            </command>
887
            <command
888
                  commandId="org.eclipse.ui.edit.selectAll"
889
                  label="%command.label.28">
890
               <visibleWhen
891
                     checkEnabled="false">
892
                  <reference
893
                        definitionId="TextEditorActive">
894
                  </reference>
895
               </visibleWhen>
896
            </command>
897
            <separator
898
                  name="org.txm.rcp.separator3"
899
                  visible="true">
900
            </separator>
901
            <command
902
                  commandId="org.eclipse.ui.edit.text.goto.line"
903
                  icon="icons/functions/goto.png"
904
                  label="%command.label.113"
905
                  style="push">
906
               <visibleWhen
907
                     checkEnabled="false">
908
                  <reference
909
                        definitionId="TextEditorActive">
910
                  </reference>
911
               </visibleWhen>
912
            </command>
913
            <command
914
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
915
                  icon="icons/functions/world.png"
916
                  label="%command.label.133"
917
                  style="push">
918
               <visibleWhen
919
                     checkEnabled="false">
920
                  <reference
921
                        definitionId="TextEditorActive">
922
                  </reference>
923
               </visibleWhen>
924
            </command>
925
            <command
926
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
927
                  icon="icons/functions/encoding.png"
928
                  label="%command.label.30">
929
               <visibleWhen
930
                     checkEnabled="false">
931
                  <reference
932
                        definitionId="TextEditorActive">
933
                  </reference>
934
               </visibleWhen>
935
            </command>
936
            <separator
937
                  name="org.txm.rcp.separator3"
938
                  visible="true">
939
            </separator>
940
            <command
941
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
942
                  icon="icons/functions/lines_number.png"
943
                  label="%command.label.140"
944
                  style="push">
945
               <visibleWhen
946
                     checkEnabled="false">
947
                  <reference
948
                        definitionId="TextEditorActive">
949
                  </reference>
950
               </visibleWhen>
951
            </command>
952
            <command
953
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
954
                  icon="icons/functions/paragraph.png"
955
                  label="%command.label.144"
956
                  style="push"
957
                  tooltip="%command.tooltip.31">
958
               <visibleWhen
959
                     checkEnabled="false">
960
                  <reference
961
                        definitionId="TextEditorActive">
962
                  </reference>
963
               </visibleWhen>
964
            </command>
965
            <command
966
                  commandId="org.eclipse.ui.file.revert"
967
                  icon="icons/functions/page_refresh.png"
968
                  label="%command.label.145"
969
                  style="push">
970
               <visibleWhen
971
                     checkEnabled="false">
972
                  <reference
973
                        definitionId="TextEditorActive">
974
                  </reference>
975
               </visibleWhen>
976
            </command>
977
            <command
978
                  commandId="org.eclipse.ui.window.preferences"
979
                  icon="icons/functions/prefs.png"
980
                  label="%command.label.4"
981
                  style="push"
982
                  tooltip="%command.tooltip.0">
983
            </command>
984
         </menu>
985
         <menu
986
               id="menu.corpus"
987
               label="%menu.label.1"
988
               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;">
989
            <separator
990
                  name="menu.corpus.read"
991
                  visible="true">
992
            </separator>
993
            <separator
994
                  name="menu.corpus.manage"
995
                  visible="true">
996
            </separator>
997
            
998
            <separator
999
                  name="menu.corpus.build"
1000
                  visible="true">
1001
            </separator>
1002
            <command
1003
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1004
                  icon="icons/functions/update.png"
1005
                  label="Re-import corpus"
1006
                  style="push">
1007
               <visibleWhen
1008
                     checkEnabled="false">
1009
                  <or>
1010
                     <reference
1011
                           definitionId="OneMainCorpusSelected">
1012
                     </reference>
1013
                  </or>
1014
               </visibleWhen>
1015
            </command>
1016
            <command
1017
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1018
                  icon="icons/functions/Delete.png"
1019
                  style="push">
1020
               <visibleWhen
1021
                     checkEnabled="false">
1022
                  <or>
1023
                     <reference
1024
                           definitionId="OneTXMResultSelected">
1025
                     </reference>
1026
                  </or>
1027
               </visibleWhen>
1028
            </command>
1029
            
1030
         </menu>
1031
         <menu
1032
               id="menu.tools"
1033
               label="%menu.label.6">
1034
            <separator
1035
                  name="menu.tools.separator.doc"
1036
                  visible="true">
1037
            </separator>
1038
            
1039
            <separator
1040
                  name="menu.tools.separator.stats"
1041
                  visible="true">
1042
            </separator>
1043
            <separator
1044
                  name="menu.tools.separator.misc"
1045
                  visible="true">
1046
            </separator>
1047
            <separator
1048
                  name="menu.tools.separator.end"
1049
                  visible="true">
1050
            </separator>
1051
         </menu>
1052
         <menu
1053
               id="menu.display"
1054
               label="%menu.label.7"
1055
               tooltip="%menu.tooltip.0">
1056
            <menu
1057
                  id="menu.display.views"
1058
                  label="%menu.label.9">
1059
               <command
1060
                     commandId="org.eclipse.ui.views.showView"
1061
                     label="%command.label.134"
1062
                     style="push">
1063
                  <parameter
1064
                        name="org.eclipse.ui.views.showView.viewId"
1065
                        value="org.txm.rcp.views.corpora.CorporaView">
1066
                  </parameter>
1067
               </command>
1068
               <command
1069
                     commandId="org.eclipse.ui.views.showView"
1070
                     label="%command.label.135"
1071
                     style="push">
1072
                  <parameter
1073
                        name="org.eclipse.ui.views.showView.viewId"
1074
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1075
                  </parameter>
1076
               </command>
1077
               <command
1078
                     commandId="org.eclipse.ui.views.showView"
1079
                     label="%command.label.177"
1080
                     style="push">
1081
                  <parameter
1082
                        name="org.eclipse.ui.views.showView.viewId"
1083
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1084
                  </parameter>
1085
               </command>
1086
               <command
1087
                     commandId="org.eclipse.ui.views.showView"
1088
                     label="%command.label.43"
1089
                     style="push">
1090
                  <parameter
1091
                        name="org.eclipse.ui.views.showView.viewId"
1092
                        value="org.eclipse.ui.console.ConsoleView">
1093
                  </parameter>
1094
               </command>
1095
               <separator
1096
                     name="menu.display.views.separator">
1097
               </separator>
1098
               <command
1099
                     commandId="org.eclipse.ui.views.showView"
1100
                     id="org.eclipse.ui.views.showView"
1101
                     label="%command.label.139"
1102
                     style="push">
1103
               </command>
1104
            </menu>
1105
            <menu
1106
                  label="%menu.label.8">
1107
               <command
1108
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1109
                     label="%command.label.131"
1110
                     style="push">
1111
                  <parameter
1112
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1113
                        value="org.txm.rcp.perspective.TXMPerspective">
1114
                  </parameter>
1115
               </command>
1116
               <command
1117
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1118
                     label="%command.label.132"
1119
                     style="push">
1120
                  <parameter
1121
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1122
                        value="org.txm.rcp.perspective.RPerspective">
1123
                  </parameter>
1124
               </command>
1125
            </menu>
1126
            <command
1127
                  commandId="org.txm.rcp.commands.CleanPerspective"
1128
                  style="push">
1129
            </command>
1130
            <command
1131
                  commandId="org.eclipse.ui.window.newWindow"
1132
                  label="%command.label.157">
1133
            </command>
1134
            <command
1135
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1136
                  label="%command.label.75"
1137
                  style="push"
1138
                  tooltip="%command.tooltip.42">
1139
            </command>
1140
         </menu>
1141
         <menu
1142
               id="menu.help"
1143
               label="%menu.label.2"
1144
               tooltip="%menu.tooltip">
1145
            <command
1146
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1147
                  label="%command.label.173"
1148
                  style="push">
1149
            </command>
1150
            <separator
1151
                  name="org.txm.rcp.separator1"
1152
                  visible="true">
1153
            </separator>
1154
            <command
1155
                  commandId="org.eclipse.ui.window.showKeyAssist"
1156
                  label="%command.label.52"
1157
                  style="push">
1158
            </command>
1159
            <command
1160
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1161
                  label="%command.label.68"
1162
                  style="push"
1163
                  tooltip="%command.tooltip.23">
1164
               <parameter
1165
                     name="org.txm.rcp.commands.commandParameter3"
1166
                     value="refman">
1167
               </parameter>
1168
            </command>
1169
            <command
1170
                  commandId="org.txm.rcp.commands.OpenManual"
1171
                  label="%command.label.63"
1172
                  style="push"
1173
                  tooltip="%command.tooltip.64">
1174
            </command>
1175
            <command
1176
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1177
                  label="%command.label.33"
1178
                  style="push"
1179
                  tooltip="%command.tooltip.13">
1180
               <parameter
1181
                     name="org.txm.rcp.commands.commandParameter3"
1182
                     value="macros">
1183
               </parameter>
1184
            </command>
1185
            <menu
1186
                  id="menu.help.plugins"
1187
                  label="%menu.label.4">
1188
            </menu>
1189
            <command
1190
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1191
                  label="%command.label.49"
1192
                  style="push"
1193
                  tooltip="%command.tooltip">
1194
               <parameter
1195
                     name="org.txm.rcp.commands.commandParameter3"
1196
                     value="http://textometrie.ens-lyon.fr/files/corpora/">
1197
               </parameter>
1198
            </command>
1199
            <command
1200
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1201
                  label="%command.label.70"
1202
                  style="push">
1203
               <parameter
1204
                     name="org.txm.rcp.commands.commandParameter3"
1205
                     value="sf_docs">
1206
               </parameter>
1207
            </command>
1208
            <command
1209
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1210
                  label="%command.label.178"
1211
                  style="push"
1212
                  tooltip="%command.tooltip.41">
1213
               <parameter
1214
                     name="org.txm.rcp.commands.commandParameter3"
1215
                     value="faq">
1216
               </parameter>
1217
            </command>
1218
            <command
1219
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1220
                  label="%command.label.35"
1221
                  style="push"
1222
                  tooltip="%command.tooltip.43">
1223
               <parameter
1224
                     name="org.txm.rcp.commands.commandParameter3"
1225
                     value="txm-users wiki">
1226
               </parameter>
1227
            </command>
1228
            <command
1229
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1230
                  label="%command.label.55"
1231
                  style="push"
1232
                  tooltip="%command.tooltip">
1233
               <parameter
1234
                     name="org.txm.rcp.commands.commandParameter3"
1235
                     value="mailinglist">
1236
               </parameter>
1237
            </command>
1238
            <command
1239
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1240
                  label="%command.label.76"
1241
                  style="push"
1242
                  tooltip="%command.tooltip.65">
1243
               <parameter
1244
                     name="org.txm.rcp.commands.commandParameter3"
1245
                     value="http://webchat.freenode.net/?channels=txm">
1246
               </parameter>
1247
            </command>
1248
            <separator
1249
                  name="helpSeparator1"
1250
                  visible="true">
1251
            </separator>
1252
            <command
1253
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1254
                  label="%command.label.56"
1255
                  style="push"
1256
                  tooltip="%command.tooltip">
1257
               <parameter
1258
                     name="org.txm.rcp.commands.commandParameter3"
1259
                     value="sf">
1260
               </parameter>
1261
            </command>
1262
            <command
1263
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1264
                  label="%command.label.69"
1265
                  style="push">
1266
               <parameter
1267
                     name="org.txm.rcp.commands.commandParameter3"
1268
                     value="textometrie">
1269
               </parameter>
1270
            </command>
1271
            <command
1272
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1273
                  label="%command.label.72"
1274
                  style="push">
1275
               <parameter
1276
                     name="org.txm.rcp.commands.commandParameter3"
1277
                     value="textometrie_docs">
1278
               </parameter>
1279
            </command>
1280
            <separator
1281
                  name="helpSeparator3"
1282
                  visible="true">
1283
            </separator>
1284
            <command
1285
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1286
                  label="%command.label.67"
1287
                  style="push"
1288
                  tooltip="%command.tooltip">
1289
               <parameter
1290
                     name="org.txm.rcp.commands.commandParameter3"
1291
                     value="treetagger">
1292
               </parameter>
1293
            </command>
1294
            <command
1295
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1296
                  label="%command.label.53"
1297
                  style="push"
1298
                  tooltip="%command.tooltip">
1299
               <parameter
1300
                     name="org.txm.rcp.commands.commandParameter3"
1301
                     value="bug">
1302
               </parameter>
1303
            </command>
1304
            <command
1305
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1306
                  label="%command.label.54"
1307
                  style="push"
1308
                  tooltip="%command.tooltip">
1309
               <parameter
1310
                     name="org.txm.rcp.commands.commandParameter3"
1311
                     value="feature">
1312
               </parameter>
1313
            </command>
1314
            <command
1315
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1316
                  label="%command.label.179"
1317
                  style="push"
1318
                  tooltip="%command.tooltip.47">
1319
               <parameter
1320
                     name="org.txm.rcp.commands.commandParameter3"
1321
                     value="contrib">
1322
               </parameter>
1323
            </command>
1324
            <separator
1325
                  name="org.txm.rcp.separator4"
1326
                  visible="true">
1327
            </separator>
1328
            <command
1329
                  commandId="org.eclipse.ui.help.aboutAction"
1330
                  label="%command.label.14"
1331
                  style="push"
1332
                  tooltip="%command.tooltip.10">
1333
            </command>
1334
         </menu>
1335
         <menu
1336
               id="menu.recettes"
1337
               label="%menu.label.12"
1338
               tooltip="%menu.tooltip.1">
1339
            <visibleWhen
1340
                  checkEnabled="false">
1341
               <or>
1342
                  <reference
1343
                        definitionId="ExpertEnabled">
1344
                  </reference>
1345
               </or>
1346
            </visibleWhen>
1347
         </menu>
1348
      </menuContribution>
1349
      <menuContribution
1350
            allPopups="true"
1351
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1352
         <separator
1353
               name="org.txm.rcp.toolbars.begin"
1354
               visible="false">
1355
         </separator>
1356
         <toolbar
1357
               id="org.txm.rcp.toolbars.result">
1358
            <command
1359
                  commandId="org.txm.rcp.commands.function.ExportResult"
1360
                  icon="icons/functions/export_data.png"
1361
                  label="%command.label.51"
1362
                  style="push">
1363
               <visibleWhen
1364
                     checkEnabled="false">
1365
                  <and>
1366
                     <reference
1367
                           definitionId="OneTXMResultSelected">
1368
                     </reference>
1369
                     <not>
1370
                        <or>
1371
                           <reference
1372
                                 definitionId="OnePartitionSelected">
1373
                           </reference>
1374
                           <reference
1375
                                 definitionId="OneCorpusSelected">
1376
                           </reference>
1377
                        </or>
1378
                     </not>
1379
                  </and>
1380
               </visibleWhen>
1381
            </command>
1382
         </toolbar>
1383
         <separator
1384
               name="org.txm.rcp.toolbar.separator1"
1385
               visible="false">
1386
         </separator>
1387
         <toolbar
1388
               id="org.txm.rcp.toolbarcorpus">
1389
            <separator
1390
                  name="org.txm.rcp.toolbarcorpus.read"
1391
                  visible="false">
1392
            </separator>
1393
            <command
1394
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1395
                  icon="icons/functions/Delete.png"
1396
                  style="push"
1397
                  tooltip="%command.tooltip.33">
1398
               <visibleWhen
1399
                     checkEnabled="false">
1400
                  <or>
1401
                     <reference
1402
                           definitionId="OneTXMResultSelected">
1403
                     </reference>
1404
                  </or>
1405
               </visibleWhen>
1406
            </command>
1407
            
1408
            <separator
1409
                  name="org.txm.rcp.toolbarcorpus.corpus"
1410
                  visible="false">
1411
            </separator>
1412
            <separator
1413
                  name="org.txm.rcp.toolbarcorpus.annotation"
1414
                  visible="false">
1415
            </separator>
1416
         </toolbar>
1417
         <separator
1418
               name="org.txm.rcp.toolbar.separator1"
1419
               visible="true">
1420
         </separator>
1421
         <toolbar
1422
               id="org.txm.rcp.toolbartools">
1423
            <separator
1424
                  name="org.txm.rcp.separator1"
1425
                  visible="true">
1426
            </separator>
1427
            <separator
1428
                  name="org.txm.rcp.toolbartools.stats"
1429
                  visible="true">
1430
            </separator>
1431

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

    
2101
      </menuContribution>
2102

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

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

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

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