Statistics
| Revision:

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

History | View | Annotate | Download (115.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="TXM">
33
         <property
34
               name="appName"
35
               value="TXM">
36
         </property>
37
         <property
38
               name="windowImages"
39
               value="icons/logo/TXM logo 16x16.png,icons/logo/TXM logo.png,icons/logo/TXM logo 48x48.png,icons/logo/TXM logo 64x64.png,icons/logo/TXM logo 128x128.png,icons/logo/TXM logo 256x256.png">
40
         </property>
41
         <property
42
               name="startupForegroundColor"
43
               value="000000">
44
         </property>
45
         <property
46
               name="startupMessageRect"
47
               value="13,312,290,20">
48
         </property>
49
         <property
50
               name="aboutImage"
51
               value="icons/logo/about TXM.png">
52
         </property>
53
         <property
54
               name="aboutText"
55
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.0 Copyright © 2010-2018 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
56
         </property>
57
         <property
58
               name="startupProgressRect"
59
               value="13,332,290,15">
60
         </property>
61
         <property
62
               name="cssTheme"
63
               value="org.txm.rcp.theme.default.linux">
64
         </property>
65
         <property
66
               name="preferenceCustomization"
67
               value="plugin_customization.ini">
68
         </property>
69
      </product>
70
   </extension>
71
   <extension
72
         point="org.eclipse.ui.perspectiveExtensions">
73
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
74
         <view
75
               closeable="false"
76
               id="org.txm.rcp.views.corpora.CorporaView"
77
               ratio="0.5"
78
               relationship="right"
79
               relative="org.eclipse.ui.views.TaskList"
80
               showTitle="true"/>
81
         <view
82
               closeable="true"
83
               id="org.eclipse.ui.views.ProgressView"
84
               ratio="0.5"
85
               relationship="bottom"
86
               showTitle="true"
87
               visible="true">
88
         </view>
89
         <view
90
               closeable="true"
91
               id="org.txm.rcp.views.GroovyConsole"
92
               minimized="false"
93
               ratio="0.5"
94
               relationship="bottom"
95
               visible="true">
96
         </view>
97
         <view
98
               closeable="true"
99
               id="org.txm.rcp.views.QueriesView"
100
               ratio="0.5"
101
               relationship="right"
102
               relative="org.eclipse.ui.views.TaskList">
103
         </view>
104
      </perspectiveExtension>
105
   </extension>
106
   <extension
107
         point="org.eclipse.ui.views">
108
      <category
109
            id="org.txm.rcp"
110
            name="%category.name"/>
111
      <view
112
            category="org.txm.rcp"
113
            class="org.txm.rcp.views.corpora.CorporaView"
114
            icon="icons/objects/corpus.png"
115
            id="org.txm.rcp.views.corpora.CorporaView"
116
            name="%view.name"/>
117
      <view
118
            allowMultiple="false"
119
            category="org.eclipse.ui"
120
            class="org.eclipse.ui.ExtensionFactory:progressView"
121
            id="org.eclipse.ui.views.ProgressView"
122
            name="%view.name.0"
123
            restorable="true">
124
      </view>
125
      <view
126
            allowMultiple="false"
127
            category="org.txm.rcp"
128
            class="org.txm.rcp.views.fileexplorer.Explorer"
129
            icon="icons/objects/folder.png"
130
            id="org.txm.rcp.views.fileexplorer.Explorer"
131
            name="%view.name.1"
132
            restorable="true">
133
      </view>
134
      <view
135
            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.5"
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.6"
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.10"
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

    
206

    
207

    
208

    
209

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

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

    
2065
      </menuContribution>
2066
      <menuContribution
2067
            locationURI="popup:org.txm.rcp.views.BasesView">
2068
         <separator
2069
               name="org.txm.rcp.separator1">
2070
         </separator>
2071
         <command
2072
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2073
               icon="icons/functions/Delete.png"
2074
               label="%command.label.65"
2075
               style="push"
2076
               tooltip="%command.tooltip.33">
2077
            <visibleWhen
2078
                  checkEnabled="false">
2079
               <or>
2080
                  <reference
2081
                        definitionId="OnePartitionSelected">
2082
                  </reference>
2083
                  <reference
2084
                        definitionId="OneSubCorpusSelected">
2085
                  </reference>
2086
                  <reference
2087
                        definitionId="OneBaseSelected">
2088
                  </reference>
2089
                  <reference
2090
                        definitionId="OneIndexSelected">
2091
                  </reference>
2092
                  <reference
2093
                        definitionId="OneLexiconSelected">
2094
                  </reference>
2095
                  <reference
2096
                        definitionId="OneConcordanceSelected">
2097
                  </reference>
2098
                  <reference
2099
                        definitionId="OneCASelected">
2100
                  </reference>
2101
                  <reference
2102
                        definitionId="OneSpecificitiesResultSelected">
2103
                  </reference>
2104
                  <reference
2105
                        definitionId="OneMainCorpusSelected">
2106
                  </reference>
2107
               </or>
2108
            </visibleWhen>
2109
         </command>
2110
        
2111
      </menuContribution>
2112

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

    
2447
      <command
2448
            categoryId="org.txm.rcp.category.txm"
2449
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2450
            id="org.txm.rcp.commands.ReloadCorporaView"
2451
            name="%command.name.2">
2452
      </command>
2453
      <command
2454
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2455
            id="org.txm.rcp.commands.function.RenameResult"
2456
            name="%command.name.4">
2457
      </command>
2458
   </extension>
2459
   <extension
2460
         id="commands"
2461
         name="%extension.name.1"
2462
         point="org.eclipse.ui.commands">
2463

    
2464
      <command
2465
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2466
            description="%command.description.2"
2467
            id="org.txm.rcp.commands.tests.NilsTest"
2468
            name="%command.name.85">
2469
      </command>
2470
      <command
2471
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2472
            id="org.txm.rcp.commands.function.ExportResult"
2473
            name="%command.name.24">
2474
      </command>
2475
      <command
2476
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2477
            id="org.txm.rcp.commands.function.ExportSVG"
2478
            name="%command.name.34">
2479
      </command>
2480
   </extension>
2481
   <extension
2482
         id="links"
2483
         name="%extension.name.2"
2484
         point="org.eclipse.ui.commands">
2485

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