Statistics
| Revision:

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

History | View | Annotate | Download (119.7 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="%product.name.3">
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
            allowMultiple="false"
136
            category="org.txm.rcp"
137
            class="org.txm.rcp.views.GroovyConsole"
138
            id="org.txm.rcp.views.GroovyConsole"
139
            name="%view.name.2"
140
            restorable="true">
141
      </view>
142
      <view
143
            category="org.txm.rcp"
144
            class="org.txm.rcp.views.BasesView"
145
            id="org.txm.rcp.views.BasesView"
146
            name="%view.name.3"
147
            restorable="true">
148
      </view>
149
      <view
150
            category="org.txm.rcp"
151
            class="org.txm.rcp.views.QueriesView"
152
            icon="icons/objects/query.png"
153
            id="org.txm.rcp.views.QueriesView"
154
            name="%view.name.4"
155
            restorable="true">
156
      </view>
157
      <view
158
            category="org.txm.rcp"
159
            class="org.txm.rcp.views.SummaryView"
160
            id="org.txm.rcp.views.InternalCorpusView"
161
            name="%view.name.7"
162
            restorable="true">
163
      </view>
164
      <view
165
            allowMultiple="false"
166
            category="org.txm.rcp"
167
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
168
            icon="icons/objects/script.png"
169
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
170
            name="%view.name.8"
171
            restorable="true">
172
      </view>
173
      <view
174
            category="org.txm.rcp"
175
            class="org.txm.rcp.views.cmdparameters.ParametersView"
176
            icon="icons/functions/Properties.png"
177
            id="org.txm.rcp.views.cmdparameters.ParametersView"
178
            name="%view.name.11"
179
            restorable="true">
180
      </view>
181
      <view
182
            category="org.txm.rcp"
183
            class="org.txm.rcp.views.debug.TXMResultDebugView"
184
            icon="icons/functions/Properties.png"
185
            id="org.txm.rcp.views.debug.TXMResultDebugView"
186
            name="%view.name.12"
187
            restorable="true">
188
      </view>
189
      <view
190
            category="org.txm.rcp"
191
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
192
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
193
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
194
            name="%view.name.13"
195
            restorable="true">
196
      </view>
197
   </extension>
198
   <extension
199
         point="org.eclipse.core.runtime.adapters">
200
      <factory
201
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
202
            class="org.txm.rcp.AdapterFactory">
203
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
204
      </factory>
205
      <factory
206
            adaptableType="org.txm.core.results.TXMResult"
207
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
208
         <adapter
209
               type="org.eclipse.ui.model.IWorkbenchAdapter">
210
         </adapter>
211
         <adapter
212
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
213
         </adapter>
214
      </factory>
215

    
216

    
217

    
218

    
219

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

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

    
2096
      </menuContribution>
2097
      <menuContribution
2098
            locationURI="popup:org.txm.rcp.views.BasesView">
2099
         <separator
2100
               name="org.txm.rcp.separator1">
2101
         </separator>
2102
         <command
2103
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2104
               icon="icons/functions/Delete.png"
2105
               label="%command.label.65"
2106
               style="push"
2107
               tooltip="%command.tooltip.33">
2108
            <visibleWhen
2109
                  checkEnabled="false">
2110
               <or>
2111
                  <reference
2112
                        definitionId="OnePartitionSelected">
2113
                  </reference>
2114
                  <reference
2115
                        definitionId="OneSubCorpusSelected">
2116
                  </reference>
2117
                  <reference
2118
                        definitionId="OneBaseSelected">
2119
                  </reference>
2120
                  <reference
2121
                        definitionId="OneIndexSelected">
2122
                  </reference>
2123
                  <reference
2124
                        definitionId="OneLexiconSelected">
2125
                  </reference>
2126
                  <reference
2127
                        definitionId="OneConcordanceSelected">
2128
                  </reference>
2129
                  <reference
2130
                        definitionId="OneCASelected">
2131
                  </reference>
2132
                  <reference
2133
                        definitionId="OneSpecificitiesResultSelected">
2134
                  </reference>
2135
                  <reference
2136
                        definitionId="OneMainCorpusSelected">
2137
                  </reference>
2138
               </or>
2139
            </visibleWhen>
2140
         </command>
2141
        
2142
      </menuContribution>
2143

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

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

    
2495
      <command
2496
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2497
            description="%command.description.2"
2498
            id="org.txm.rcp.commands.tests.NilsTest"
2499
            name="%command.name.85">
2500
      </command>
2501
      <command
2502
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2503
            id="org.txm.rcp.commands.function.ExportResult"
2504
            name="%command.name.24">
2505
      </command>
2506
      <command
2507
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2508
            id="org.txm.rcp.commands.function.ExportSVG"
2509
            name="%command.name.34">
2510
      </command>
2511
   </extension>
2512
   <extension
2513
         id="links"
2514
         name="%extension.name.2"
2515
         point="org.eclipse.ui.commands">
2516

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