Statistics
| Revision:

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

History | View | Annotate | Download (117.1 kB)

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

    
214

    
215

    
216

    
217

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

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

    
2046
      </menuContribution>
2047

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

    
2377
      <command
2378
            categoryId="org.txm.rcp.category.txm"
2379
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2380
            id="org.txm.rcp.commands.ReloadCorporaView"
2381
            name="%command.name.2">
2382
      </command>
2383
      <command
2384
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2385
            id="org.txm.rcp.commands.function.RenameResult"
2386
            name="%command.name.4">
2387
      </command>
2388
   </extension>
2389
   <extension
2390
         id="commands"
2391
         name="%extension.name.1"
2392
         point="org.eclipse.ui.commands">
2393

    
2394
      <command
2395
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2396
            description="%command.description.2"
2397
            id="org.txm.rcp.commands.tests.NilsTest"
2398
            name="%command.name.85">
2399
      </command>
2400
      <command
2401
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2402
            id="org.txm.rcp.commands.function.ExportResult"
2403
            name="%command.name.24">
2404
      </command>
2405
      <command
2406
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2407
            id="org.txm.rcp.commands.function.ExportSVG"
2408
            name="%command.name.34">
2409
      </command>
2410
   </extension>
2411
   <extension
2412
         id="links"
2413
         name="%extension.name.2"
2414
         point="org.eclipse.ui.commands">
2415

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