Statistics
| Revision:

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

History | View | Annotate | Download (116.4 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
 
6
   <extension
7
         id="Application"
8
         point="org.eclipse.core.runtime.applications">
9
      <application
10
            icon="icons/logo/TXM logo.png">
11
         <run
12
               class="org.txm.rcp.Application">
13
         </run>
14
      </application>
15
   </extension>
16
   <extension
17
         point="org.eclipse.ui.perspectives">
18
      <perspective
19
            class="org.txm.rcp.perspective.TXMPerspective"
20
            icon="icons/objects/corpus.png"
21
            id="org.txm.rcp.perspective.TXMPerspective"
22
            name="%perspective.name">
23
      </perspective>
24
      <perspective
25
            class="org.txm.rcp.perspective.RPerspective"
26
            icon="icons/logo/Rcran.png"
27
            id="org.txm.rcp.perspective.RPerspective"
28
            name="%perspective.name.0">
29
      </perspective>
30
   </extension>
31
   <extension
32
         id="product"
33
         point="org.eclipse.core.runtime.products">
34
      <product
35
            application="org.txm.rcp.Application"
36
            description="TXM desktop application"
37
            name="TXM">
38
         <property
39
               name="appName"
40
               value="TXM">
41
         </property>
42
         <property
43
               name="preferenceCustomization"
44
               value="plugin_customization.ini">
45
         </property>
46
         <property
47
               name="windowImages"
48
               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">
49
         </property>
50
         <property
51
               name="startupForegroundColor"
52
               value="000000">
53
         </property>
54
         <property
55
               name="startupMessageRect"
56
               value="13,312,290,20">
57
         </property>
58
         <property
59
               name="aboutImage"
60
               value="icons/logo/about TXM.png">
61
         </property>
62
         <property
63
               name="aboutText"
64
               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;">
65
         </property>
66
         <property
67
               name="startupProgressRect"
68
               value="13,332,290,15">
69
         </property>
70
         <property
71
               name="cssTheme"
72
               value="org.txm.rcp.theme.default.linux">
73
         </property>
74
      </product>
75
   </extension>
76
   <extension
77
         point="org.eclipse.ui.perspectiveExtensions">
78
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
79
         <view
80
               closeable="false"
81
               id="org.txm.rcp.views.corpora.CorporaView"
82
               ratio="0.5"
83
               relationship="right"
84
               relative="org.eclipse.ui.views.TaskList"/>
85
         <view
86
               closeable="true"
87
               id="org.eclipse.ui.views.ProgressView"
88
               ratio="0.5"
89
               relationship="bottom"
90
               showTitle="true"
91
               visible="true">
92
         </view>
93
         <view
94
               closeable="true"
95
               id="org.txm.rcp.views.GroovyConsole"
96
               minimized="false"
97
               ratio="0.5"
98
               relationship="bottom"
99
               visible="true">
100
         </view>
101
         <view
102
               closeable="true"
103
               id="org.txm.rcp.views.QueriesView"
104
               ratio="0.5"
105
               relationship="right"
106
               relative="org.eclipse.ui.views.TaskList">
107
         </view>
108
      </perspectiveExtension>
109
   </extension>
110
   <extension
111
         point="org.eclipse.ui.views">
112
      <category
113
            id="org.txm.rcp"
114
            name="%category.name"/>
115
      <view
116
            category="org.txm.rcp"
117
            class="org.txm.rcp.views.corpora.CorporaView"
118
            icon="icons/objects/corpus.png"
119
            id="org.txm.rcp.views.corpora.CorporaView"
120
            name="%view.name"/>
121
      <view
122
            allowMultiple="false"
123
            category="org.eclipse.ui"
124
            class="org.eclipse.ui.ExtensionFactory:progressView"
125
            id="org.eclipse.ui.views.ProgressView"
126
            name="%view.name.0"
127
            restorable="true">
128
      </view>
129
      <view
130
            allowMultiple="false"
131
            category="org.txm.rcp"
132
            class="org.txm.rcp.views.fileexplorer.Explorer"
133
            icon="icons/objects/folder.png"
134
            id="org.txm.rcp.views.fileexplorer.Explorer"
135
            name="%view.name.1"
136
            restorable="true">
137
      </view>
138
      <view
139
            allowMultiple="false"
140
            category="org.txm.rcp"
141
            class="org.txm.rcp.views.GroovyConsole"
142
            id="org.txm.rcp.views.GroovyConsole"
143
            name="%view.name.2"
144
            restorable="true">
145
      </view>
146
      <view
147
            category="org.txm.rcp"
148
            class="org.txm.rcp.views.BasesView"
149
            id="org.txm.rcp.views.BasesView"
150
            name="%view.name.3"
151
            restorable="true">
152
      </view>
153
      <view
154
            category="org.txm.rcp"
155
            class="org.txm.rcp.views.QueriesView"
156
            icon="icons/objects/query.png"
157
            id="org.txm.rcp.views.QueriesView"
158
            name="%view.name.4"
159
            restorable="true">
160
      </view>
161
      <view
162
            category="org.txm.rcp"
163
            class="org.txm.rcp.views.SummaryView"
164
            id="org.txm.rcp.views.InternalCorpusView"
165
            name="%view.name.7"
166
            restorable="true">
167
      </view>
168
      <view
169
            allowMultiple="false"
170
            category="org.txm.rcp"
171
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
172
            icon="icons/objects/script.png"
173
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
174
            name="%view.name.8"
175
            restorable="true">
176
      </view>
177
      <view
178
            category="org.txm.rcp"
179
            class="org.txm.rcp.views.cmdparameters.ParametersView"
180
            icon="icons/functions/Properties.png"
181
            id="org.txm.rcp.views.cmdparameters.ParametersView"
182
            name="ParametersView"
183
            restorable="true">
184
      </view>
185
      <view
186
            category="org.txm.rcp"
187
            class="org.txm.rcp.views.debug.TXMResultDebugView"
188
            icon="icons/functions/Properties.png"
189
            id="org.txm.rcp.views.debug.TXMResultDebugView"
190
            name="TXMResultDebugView"
191
            restorable="true">
192
      </view>
193
   </extension>
194
   <extension
195
         point="org.eclipse.core.runtime.adapters">
196
      <factory
197
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
198
            class="org.txm.rcp.AdapterFactory">
199
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
200
      </factory>
201

    
202

    
203

    
204

    
205

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

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

    
2049
      </menuContribution>
2050
      <menuContribution
2051
            locationURI="popup:org.txm.rcp.views.BasesView">
2052
         <separator
2053
               name="org.txm.rcp.separator1">
2054
         </separator>
2055
         <command
2056
               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
2057
               icon="icons/functions/Delete.png"
2058
               label="%command.label.65"
2059
               style="push"
2060
               tooltip="%command.tooltip.33">
2061
            <visibleWhen
2062
                  checkEnabled="false">
2063
               <or>
2064
                  <reference
2065
                        definitionId="OnePartitionSelected">
2066
                  </reference>
2067
                  <reference
2068
                        definitionId="OneSubCorpusSelected">
2069
                  </reference>
2070
                  <reference
2071
                        definitionId="OneBaseSelected">
2072
                  </reference>
2073
                  <reference
2074
                        definitionId="OneIndexSelected">
2075
                  </reference>
2076
                  <reference
2077
                        definitionId="OneLexiconSelected">
2078
                  </reference>
2079
                  <reference
2080
                        definitionId="OneConcordanceSelected">
2081
                  </reference>
2082
                  <reference
2083
                        definitionId="OneCASelected">
2084
                  </reference>
2085
                  <reference
2086
                        definitionId="OneSpecificitiesResultSelected">
2087
                  </reference>
2088
                  <reference
2089
                        definitionId="OneMainCorpusSelected">
2090
                  </reference>
2091
               </or>
2092
            </visibleWhen>
2093
         </command>
2094
        
2095
      </menuContribution>
2096

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

    
2422
      <command
2423
            categoryId="org.txm.rcp.category.txm"
2424
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2425
            id="org.txm.rcp.commands.ReloadCorporaView"
2426
            name="Reload">
2427
      </command>
2428
   </extension>
2429
   <extension
2430
         id="commands"
2431
         name="commands"
2432
         point="org.eclipse.ui.commands">
2433

    
2434
      <command
2435
            categoryId="org.txm.rcp.category.txm"
2436
            defaultHandler="org.txm.rcp.commands.function.OpenParaBrowser"
2437
            id="org.txm.rcp.commands.function.OpenParaBrowser"
2438
            name="%command.name.33">
2439
      </command>
2440
      <command
2441
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2442
            description="%command.description.2"
2443
            id="org.txm.rcp.commands.tests.NilsTest"
2444
            name="%command.name.85">
2445
      </command>
2446
      <command
2447
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2448
            id="org.txm.rcp.commands.function.ExportResult"
2449
            name="%command.name.24">
2450
      </command>
2451
      <command
2452
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2453
            id="org.txm.rcp.commands.function.ExportSVG"
2454
            name="%command.name.34">
2455
      </command>
2456
   </extension>
2457
   <extension
2458
         id="links"
2459
         name="links"
2460
         point="org.eclipse.ui.commands">
2461

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