Statistics
| Revision:

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

History | View | Annotate | Download (119.5 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
               <command
591
                     commandId="org.txm.rcp.commands.function.ExportSVG"
592
                     icon="icons/functions/exportSVG.png"
593
                     label="%command.label.101"
594
                     style="push"
595
                     tooltip="%command.tooltip.54">
596
                  <visibleWhen
597
                        checkEnabled="false">
598
                     <or>
599
                        <reference
600
                              definitionId="SVGEditorActive">
601
                        </reference>
602
                        <reference
603
                              definitionId="OneCAHSelected">
604
                        </reference>
605
                        <reference
606
                              definitionId="OneProgressionSelected">
607
                        </reference>
608
                        <reference
609
                              definitionId="OneWordCloudSelected">
610
                        </reference>
611
                     </or>
612
                  </visibleWhen>
613
               </command>
614
            </menu>
615
            <separator
616
                  name="menu.file.separator.file"
617
                  visible="true">
618
            </separator>
619
            <command
620
                  commandId="org.txm.rcp.commands.CreateFile"
621
                  icon="icons/functions/page_white_add.png"
622
                  label="%command.label.83">
623
            </command>
624
            <command
625
                  commandId="org.txm.rcp.commands.EditFile"
626
                  icon="icons/functions/open.png"
627
                  id="file.open"
628
                  label="%command.label.45"
629
                  style="push">
630
            </command>
631
            <command
632
                  commandId="org.eclipse.ui.file.save"
633
                  icon="icons/functions/save.png"
634
                  label="%command.label.86">
635
            </command>
636
            <command
637
                  commandId="org.eclipse.ui.file.saveAll"
638
                  icon="icons/functions/saveall.png"
639
                  label="%command.label.88">
640
            </command>
641
            <command
642
                  commandId="org.txm.rcp.commands.editor.SaveAs"
643
                  icon="icons/functions/saveas.png"
644
                  label="%command.label.29">
645
               <visibleWhen
646
                     checkEnabled="false">
647
                  <reference
648
                        definitionId="TextEditorActive">
649
                  </reference>
650
               </visibleWhen>
651
            </command>
652
            <command
653
                  commandId="org.eclipse.ui.file.close"
654
                  label="%command.label.90">
655
            </command>
656
            <command
657
                  commandId="org.eclipse.ui.file.closeAll"
658
                  label="%command.label.93">
659
            </command>
660
            <separator
661
                  name="menu.file.separator.open"
662
                  visible="true">
663
            </separator>
664
            <command
665
                  commandId="org.txm.rcp.commands.OpenBrowser"
666
                  label="%command.label"
667
                  style="push"
668
                  tooltip="%command.tooltip">
669
            </command>
670
            <separator
671
                  name="menu.file.separator.lang"
672
                  visible="true">
673
            </separator>
674
            <separator
675
                  name="menu.file.separator.update"
676
                  visible="true">
677
            </separator>
678
            <command
679
                  commandId="org.txm.rcp.p2.plugins.TXMUpdateHandler"
680
                  label="%command.label.181"
681
                  style="push">
682
               <parameter
683
                     name="org.txm.rcp.parameters.update"
684
                     value="true">
685
               </parameter>
686
            </command>
687
            <command
688
                  commandId="org.txm.rcp.p2.plugins.InstallPluginHandler"
689
                  label="%command.label.182"
690
                  style="push">
691
            </command>
692
            <command
693
                  commandId="org.eclipse.equinox.p2.ui.sdk.install"
694
                  label="%command.label.34"
695
                  style="push">
696
            </command>
697
            <separator
698
                  name="menu.file.separator.close"
699
                  visible="true">
700
            </separator>
701
            <command
702
                  commandId="org.txm.rcp.commands.RestartTXM"
703
                  label="%command.label.59"
704
                  style="push"
705
                  tooltip="%command.tooltip.26">
706
            </command>
707
            <command
708
                  commandId="org.eclipse.ui.file.exit"
709
                  label="%command.label.6"
710
                  style="push"
711
                  tooltip="%command.tooltip.2">
712
            </command>
713
         </menu>
714
         <menu
715
               id="menu.edit"
716
               label="%menu.label.3">
717
            <command
718
                  commandId="org.eclipse.ui.edit.findReplace"
719
                  label="%command.label.15">
720
               <visibleWhen
721
                     checkEnabled="false">
722
                  <reference
723
                        definitionId="TextEditorActive">
724
                  </reference>
725
               </visibleWhen>
726
            </command>
727
            <command
728
                  commandId="org.eclipse.ui.edit.findNext"
729
                  label="%command.label.98"
730
                  style="push">
731
               <visibleWhen
732
                     checkEnabled="false">
733
                  <reference
734
                        definitionId="TextEditorActive">
735
                  </reference>
736
               </visibleWhen>
737
            </command>
738
            <command
739
                  commandId="org.eclipse.ui.edit.findPrevious"
740
                  label="%command.label.100"
741
                  style="push">
742
               <visibleWhen
743
                     checkEnabled="false">
744
                  <reference
745
                        definitionId="TextEditorActive">
746
                  </reference>
747
               </visibleWhen>
748
            </command>
749
            <command
750
                  commandId="org.eclipse.ui.edit.findIncremental"
751
                  label="%command.label.109"
752
                  style="push">
753
               <visibleWhen
754
                     checkEnabled="false">
755
                  <reference
756
                        definitionId="TextEditorActive">
757
                  </reference>
758
               </visibleWhen>
759
            </command>
760
            <command
761
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
762
                  label="%command.label.110"
763
                  style="push">
764
               <visibleWhen
765
                     checkEnabled="false">
766
                  <reference
767
                        definitionId="TextEditorActive">
768
                  </reference>
769
               </visibleWhen>
770
            </command>
771
            <separator
772
                  name="org.txm.rcp.separator1"
773
                  visible="true">
774
            </separator>
775
            <command
776
                  commandId="org.eclipse.ui.edit.undo"
777
                  label="%command.label.16">
778
               <visibleWhen
779
                     checkEnabled="false">
780
                  <reference
781
                        definitionId="TextEditorActive">
782
                  </reference>
783
               </visibleWhen>
784
            </command>
785
            <command
786
                  commandId="org.eclipse.ui.edit.redo"
787
                  label="%command.label.17">
788
               <visibleWhen
789
                     checkEnabled="false">
790
                  <reference
791
                        definitionId="TextEditorActive">
792
                  </reference>
793
               </visibleWhen>
794
            </command>
795
            <separator
796
                  name="org.txm.rcp.separator2"
797
                  visible="true">
798
            </separator>
799
            <command
800
                  commandId="org.eclipse.ui.edit.cut"
801
                  label="%command.label.18">
802
               <visibleWhen
803
                     checkEnabled="false">
804
                  <reference
805
                        definitionId="TextEditorActive">
806
                  </reference>
807
               </visibleWhen>
808
            </command>
809
            <command
810
                  commandId="org.eclipse.ui.edit.copy"
811
                  label="%command.label.19">
812
               <visibleWhen
813
                     checkEnabled="false">
814
                  <reference
815
                        definitionId="TextEditorActive">
816
                  </reference>
817
               </visibleWhen>
818
            </command>
819
            <command
820
                  commandId="org.eclipse.ui.edit.paste"
821
                  label="%command.label.20">
822
               <visibleWhen
823
                     checkEnabled="false">
824
                  <reference
825
                        definitionId="TextEditorActive">
826
                  </reference>
827
               </visibleWhen>
828
            </command>
829
            <command
830
                  commandId="org.eclipse.ui.edit.delete"
831
                  label="%command.label.27">
832
               <visibleWhen
833
                     checkEnabled="false">
834
                  <reference
835
                        definitionId="TextEditorActive">
836
                  </reference>
837
               </visibleWhen>
838
            </command>
839
            <command
840
                  commandId="org.eclipse.ui.edit.selectAll"
841
                  label="%command.label.28">
842
               <visibleWhen
843
                     checkEnabled="false">
844
                  <reference
845
                        definitionId="TextEditorActive">
846
                  </reference>
847
               </visibleWhen>
848
            </command>
849
            <separator
850
                  name="org.txm.rcp.separator3"
851
                  visible="true">
852
            </separator>
853
            <command
854
                  commandId="org.eclipse.ui.edit.text.goto.line"
855
                  icon="icons/functions/goto.png"
856
                  label="%command.label.113"
857
                  style="push">
858
               <visibleWhen
859
                     checkEnabled="false">
860
                  <reference
861
                        definitionId="TextEditorActive">
862
                  </reference>
863
               </visibleWhen>
864
            </command>
865
            <command
866
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
867
                  icon="icons/functions/world.png"
868
                  label="%command.label.133"
869
                  style="push">
870
               <visibleWhen
871
                     checkEnabled="false">
872
                  <reference
873
                        definitionId="TextEditorActive">
874
                  </reference>
875
               </visibleWhen>
876
            </command>
877
            <command
878
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
879
                  icon="icons/functions/encoding.png"
880
                  label="%command.label.30">
881
               <visibleWhen
882
                     checkEnabled="false">
883
                  <reference
884
                        definitionId="TextEditorActive">
885
                  </reference>
886
               </visibleWhen>
887
            </command>
888
            <separator
889
                  name="org.txm.rcp.separator3"
890
                  visible="true">
891
            </separator>
892
            <command
893
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
894
                  icon="icons/functions/lines_number.png"
895
                  label="%command.label.140"
896
                  style="push">
897
               <visibleWhen
898
                     checkEnabled="false">
899
                  <reference
900
                        definitionId="TextEditorActive">
901
                  </reference>
902
               </visibleWhen>
903
            </command>
904
            <command
905
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
906
                  icon="icons/functions/paragraph.png"
907
                  label="%command.label.144"
908
                  style="push"
909
                  tooltip="%command.tooltip.31">
910
               <visibleWhen
911
                     checkEnabled="false">
912
                  <reference
913
                        definitionId="TextEditorActive">
914
                  </reference>
915
               </visibleWhen>
916
            </command>
917
            <command
918
                  commandId="org.eclipse.ui.file.revert"
919
                  icon="icons/functions/page_refresh.png"
920
                  label="%command.label.145"
921
                  style="push">
922
               <visibleWhen
923
                     checkEnabled="false">
924
                  <reference
925
                        definitionId="TextEditorActive">
926
                  </reference>
927
               </visibleWhen>
928
            </command>
929
         </menu>
930
         <menu
931
               id="menu.corpus"
932
               label="%menu.label.1"
933
               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;">
934
            <separator
935
                  name="menu.corpus.read"
936
                  visible="true">
937
            </separator>
938
            <separator
939
                  name="menu.corpus.manage"
940
                  visible="true">
941
            </separator>
942
            <command
943
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
944
                  icon="icons/functions/Delete.png"
945
                  style="push">
946
               <visibleWhen
947
                     checkEnabled="false">
948
                  <or>
949
                     <reference
950
                           definitionId="OneTXMResultSelected">
951
                     </reference>
952
                  </or>
953
               </visibleWhen>
954
            </command>
955
            
956
            <separator
957
                  name="menu.corpus.build"
958
                  visible="true">
959
            </separator>
960
            
961
         </menu>
962
         <menu
963
               id="menu.tools"
964
               label="%menu.label.6">
965
            <separator
966
                  name="menu.tools.separator.doc"
967
                  visible="true">
968
            </separator>
969
            
970
            <separator
971
                  name="menu.tools.separator.stats"
972
                  visible="true">
973
            </separator>
974
            <separator
975
                  name="menu.tools.separator.misc"
976
                  visible="true">
977
            </separator>
978
            <separator
979
                  name="menu.tools.separator.end"
980
                  visible="true">
981
            </separator>
982
            <command
983
                  commandId="org.eclipse.ui.window.preferences"
984
                  icon="icons/functions/prefs.png"
985
                  label="%command.label.4"
986
                  style="push"
987
                  tooltip="%command.tooltip.0">
988
            </command>
989
         </menu>
990
         <menu
991
               id="menu.display"
992
               label="%menu.label.7"
993
               tooltip="%menu.tooltip.0">
994
            <menu
995
                  id="menu.display.views"
996
                  label="%menu.label.9">
997
               <command
998
                     commandId="org.eclipse.ui.views.showView"
999
                     label="%command.label.134"
1000
                     style="push">
1001
                  <parameter
1002
                        name="org.eclipse.ui.views.showView.viewId"
1003
                        value="org.txm.rcp.views.corpora.CorporaView">
1004
                  </parameter>
1005
               </command>
1006
               <command
1007
                     commandId="org.eclipse.ui.views.showView"
1008
                     label="%command.label.135"
1009
                     style="push">
1010
                  <parameter
1011
                        name="org.eclipse.ui.views.showView.viewId"
1012
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1013
                  </parameter>
1014
               </command>
1015
               <command
1016
                     commandId="org.eclipse.ui.views.showView"
1017
                     label="%command.label.177"
1018
                     style="push">
1019
                  <parameter
1020
                        name="org.eclipse.ui.views.showView.viewId"
1021
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1022
                  </parameter>
1023
               </command>
1024
               <command
1025
                     commandId="org.eclipse.ui.views.showView"
1026
                     label="%command.label.136"
1027
                     style="push">
1028
                  <parameter
1029
                        name="org.eclipse.ui.views.showView.viewId"
1030
                        value="org.txm.rcp.views.QueriesView">
1031
                  </parameter>
1032
               </command>
1033
               <command
1034
                     commandId="org.eclipse.ui.views.showView"
1035
                     label="%command.label.43"
1036
                     style="push">
1037
                  <parameter
1038
                        name="org.eclipse.ui.views.showView.viewId"
1039
                        value="org.eclipse.ui.console.ConsoleView">
1040
                  </parameter>
1041
               </command>
1042
               <command
1043
                     commandId="org.eclipse.ui.views.showView"
1044
                     label="%command.label.139"
1045
                     style="push">
1046
               </command>
1047
            </menu>
1048
            <menu
1049
                  label="%menu.label.8">
1050
               <command
1051
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1052
                     label="%command.label.131"
1053
                     style="push">
1054
                  <parameter
1055
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1056
                        value="org.txm.rcp.perspective.TXMPerspective">
1057
                  </parameter>
1058
               </command>
1059
               <command
1060
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1061
                     label="%command.label.132"
1062
                     style="push">
1063
                  <parameter
1064
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1065
                        value="org.txm.rcp.perspective.RPerspective">
1066
                  </parameter>
1067
               </command>
1068
            </menu>
1069
            <command
1070
                  commandId="org.txm.rcp.commands.CleanPerspective"
1071
                  style="push">
1072
            </command>
1073
            <command
1074
                  commandId="org.eclipse.ui.window.newWindow"
1075
                  label="%command.label.157">
1076
            </command>
1077
            <command
1078
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1079
                  label="%command.label.75"
1080
                  style="push"
1081
                  tooltip="%command.tooltip.42">
1082
            </command>
1083
         </menu>
1084
         <menu
1085
               id="menu.help"
1086
               label="%menu.label.2"
1087
               tooltip="%menu.tooltip">
1088
            <command
1089
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1090
                  label="%command.label.173"
1091
                  style="push">
1092
            </command>
1093
            <separator
1094
                  name="org.txm.rcp.separator1"
1095
                  visible="true">
1096
            </separator>
1097
            <command
1098
                  commandId="org.eclipse.ui.window.showKeyAssist"
1099
                  label="%command.label.52"
1100
                  style="push">
1101
            </command>
1102
            <command
1103
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1104
                  label="%command.label.68"
1105
                  style="push"
1106
                  tooltip="%command.tooltip.23">
1107
               <parameter
1108
                     name="org.txm.rcp.commands.commandParameter3"
1109
                     value="refman">
1110
               </parameter>
1111
            </command>
1112
            <command
1113
                  commandId="org.txm.rcp.commands.OpenManual"
1114
                  label="%command.label.63"
1115
                  style="push"
1116
                  tooltip="%command.tooltip.64">
1117
            </command>
1118
            <command
1119
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1120
                  label="%command.label.33"
1121
                  style="push"
1122
                  tooltip="%command.tooltip.13">
1123
               <parameter
1124
                     name="org.txm.rcp.commands.commandParameter3"
1125
                     value="macros">
1126
               </parameter>
1127
            </command>
1128
            <menu
1129
                  id="menu.help.plugins"
1130
                  label="%menu.label.4">
1131
            </menu>
1132
            <command
1133
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1134
                  label="%command.label.70"
1135
                  style="push">
1136
               <parameter
1137
                     name="org.txm.rcp.commands.commandParameter3"
1138
                     value="sf_docs">
1139
               </parameter>
1140
            </command>
1141
            <command
1142
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1143
                  label="%command.label.178"
1144
                  style="push"
1145
                  tooltip="%command.tooltip.41">
1146
               <parameter
1147
                     name="org.txm.rcp.commands.commandParameter3"
1148
                     value="faq">
1149
               </parameter>
1150
            </command>
1151
            <command
1152
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1153
                  label="%command.label.35"
1154
                  style="push"
1155
                  tooltip="%command.tooltip.43">
1156
               <parameter
1157
                     name="org.txm.rcp.commands.commandParameter3"
1158
                     value="txm-users wiki">
1159
               </parameter>
1160
            </command>
1161
            <command
1162
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1163
                  label="%command.label.55"
1164
                  style="push"
1165
                  tooltip="%command.tooltip">
1166
               <parameter
1167
                     name="org.txm.rcp.commands.commandParameter3"
1168
                     value="mailinglist">
1169
               </parameter>
1170
            </command>
1171
            <command
1172
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1173
                  label="%command.label.76"
1174
                  style="push"
1175
                  tooltip="%command.tooltip.65">
1176
               <parameter
1177
                     name="org.txm.rcp.commands.commandParameter3"
1178
                     value="http://webchat.freenode.net/?channels=txm">
1179
               </parameter>
1180
            </command>
1181
            <separator
1182
                  name="helpSeparator1"
1183
                  visible="true">
1184
            </separator>
1185
            <command
1186
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1187
                  label="%command.label.56"
1188
                  style="push"
1189
                  tooltip="%command.tooltip">
1190
               <parameter
1191
                     name="org.txm.rcp.commands.commandParameter3"
1192
                     value="sf">
1193
               </parameter>
1194
            </command>
1195
            <command
1196
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1197
                  label="%command.label.69"
1198
                  style="push">
1199
               <parameter
1200
                     name="org.txm.rcp.commands.commandParameter3"
1201
                     value="textometrie">
1202
               </parameter>
1203
            </command>
1204
            <command
1205
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1206
                  label="%command.label.72"
1207
                  style="push">
1208
               <parameter
1209
                     name="org.txm.rcp.commands.commandParameter3"
1210
                     value="textometrie_docs">
1211
               </parameter>
1212
            </command>
1213
            <separator
1214
                  name="helpSeparator3"
1215
                  visible="true">
1216
            </separator>
1217
            <command
1218
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1219
                  label="%command.label.67"
1220
                  style="push"
1221
                  tooltip="%command.tooltip">
1222
               <parameter
1223
                     name="org.txm.rcp.commands.commandParameter3"
1224
                     value="treetagger">
1225
               </parameter>
1226
            </command>
1227
            <command
1228
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1229
                  label="%command.label.53"
1230
                  style="push"
1231
                  tooltip="%command.tooltip">
1232
               <parameter
1233
                     name="org.txm.rcp.commands.commandParameter3"
1234
                     value="bug">
1235
               </parameter>
1236
            </command>
1237
            <command
1238
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1239
                  label="%command.label.54"
1240
                  style="push"
1241
                  tooltip="%command.tooltip">
1242
               <parameter
1243
                     name="org.txm.rcp.commands.commandParameter3"
1244
                     value="feature">
1245
               </parameter>
1246
            </command>
1247
            <command
1248
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1249
                  label="%command.label.179"
1250
                  style="push"
1251
                  tooltip="%command.tooltip.47">
1252
               <parameter
1253
                     name="org.txm.rcp.commands.commandParameter3"
1254
                     value="contrib">
1255
               </parameter>
1256
            </command>
1257
            <separator
1258
                  name="org.txm.rcp.separator4"
1259
                  visible="true">
1260
            </separator>
1261
            <command
1262
                  commandId="org.eclipse.ui.help.aboutAction"
1263
                  label="%command.label.14"
1264
                  style="push"
1265
                  tooltip="%command.tooltip.10">
1266
            </command>
1267
         </menu>
1268
         <menu
1269
               id="menu.recettes"
1270
               label="%menu.label.12"
1271
               tooltip="%menu.tooltip.1">
1272
            <visibleWhen
1273
                  checkEnabled="false">
1274
               <or>
1275
                  <reference
1276
                        definitionId="ExpertEnabled">
1277
                  </reference>
1278
               </or>
1279
            </visibleWhen>
1280
         </menu>
1281
      </menuContribution>
1282
      <menuContribution
1283
            allPopups="true"
1284
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1285
         <separator
1286
               name="org.txm.rcp.toolbars.begin"
1287
               visible="false">
1288
         </separator>
1289
         <toolbar
1290
               id="org.txm.rcp.toolbars.result">
1291
            <command
1292
                  commandId="org.txm.rcp.commands.function.ExportResult"
1293
                  icon="icons/functions/export_data.png"
1294
                  style="push">
1295
               <visibleWhen
1296
                     checkEnabled="false">
1297
                  <or>
1298
                     <reference
1299
                           definitionId="OneLexiconSelected">
1300
                     </reference>
1301
                     <reference
1302
                           definitionId="OneIndexSelected">
1303
                     </reference>
1304
                     <reference
1305
                           definitionId="OneConcordanceSelected">
1306
                     </reference>
1307
                     <reference
1308
                           definitionId="OneSpecificitiesResultSelected">
1309
                     </reference>
1310
                     <reference
1311
                           definitionId="OneReferencerSelected">
1312
                     </reference>
1313
                     <reference
1314
                           definitionId="OneProgressionSelected">
1315
                     </reference>
1316
                     <reference
1317
                           definitionId="OneCooccurrenceSelected">
1318
                     </reference>
1319
                     <reference
1320
                           definitionId="OneLexicalTableSelected">
1321
                     </reference>
1322
                     <reference
1323
                           definitionId="OneCASelected">
1324
                     </reference>
1325
                     <reference
1326
                           definitionId="OneCAHSelected">
1327
                     </reference>
1328
                  </or>
1329
               </visibleWhen>
1330
            </command>
1331
            <command
1332
                  commandId="org.txm.rcp.commands.function.ExportSVG"
1333
                  icon="icons/functions/exportSVG.png"
1334
                  style="push"
1335
                  tooltip="%command.tooltip.54">
1336
               <visibleWhen
1337
                     checkEnabled="false">
1338
                  <or>
1339
                     <reference
1340
                           definitionId="SVGEditorActive">
1341
                     </reference>
1342
                  </or>
1343
               </visibleWhen>
1344
            </command>
1345
         </toolbar>
1346
         <separator
1347
               name="org.txm.rcp.toolbar.separator1"
1348
               visible="false">
1349
         </separator>
1350
         <toolbar
1351
               id="org.txm.rcp.toolbarcorpus">
1352
            <separator
1353
                  name="org.txm.rcp.toolbarcorpus.read"
1354
                  visible="false">
1355
            </separator>
1356
            <command
1357
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1358
                  icon="icons/functions/Delete.png"
1359
                  style="push"
1360
                  tooltip="%command.tooltip.33">
1361
               <visibleWhen
1362
                     checkEnabled="false">
1363
                  <or>
1364
                     <reference
1365
                           definitionId="OneTXMResultSelected">
1366
                     </reference>
1367
                  </or>
1368
               </visibleWhen>
1369
            </command>
1370
            
1371
            <separator
1372
                  name="org.txm.rcp.toolbarcorpus.corpus"
1373
                  visible="false">
1374
            </separator>
1375
            <separator
1376
                  name="org.txm.rcp.toolbarcorpus.annotation"
1377
                  visible="false">
1378
            </separator>
1379
         </toolbar>
1380
         <separator
1381
               name="org.txm.rcp.toolbar.separator1"
1382
               visible="true">
1383
         </separator>
1384
         <toolbar
1385
               id="org.txm.rcp.toolbartools">
1386
            <separator
1387
                  name="org.txm.rcp.separator1"
1388
                  visible="true">
1389
            </separator>
1390
            <separator
1391
                  name="org.txm.rcp.toolbartools.stats"
1392
                  visible="true">
1393
            </separator>
1394

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

    
2108
      </menuContribution>
2109

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

    
2439
      <command
2440
            categoryId="org.txm.rcp.category.txm"
2441
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2442
            id="org.txm.rcp.commands.ReloadCorporaView"
2443
            name="%command.name.2">
2444
      </command>
2445
      <command
2446
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2447
            id="org.txm.rcp.commands.function.RenameResult"
2448
            name="%command.name.4">
2449
      </command>
2450
   </extension>
2451
   <extension
2452
         id="commands"
2453
         name="%extension.name.1"
2454
         point="org.eclipse.ui.commands">
2455

    
2456
      <command
2457
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2458
            description="%command.description.2"
2459
            id="org.txm.rcp.commands.tests.NilsTest"
2460
            name="%command.name.85">
2461
      </command>
2462
      <command
2463
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2464
            id="org.txm.rcp.commands.function.ExportResult"
2465
            name="%command.name.24">
2466
      </command>
2467
      <command
2468
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2469
            id="org.txm.rcp.commands.function.ExportSVG"
2470
            name="%command.name.34">
2471
      </command>
2472
   </extension>
2473
   <extension
2474
         id="links"
2475
         name="%extension.name.2"
2476
         point="org.eclipse.ui.commands">
2477

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