Statistics
| Revision:

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

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

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

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

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

    
2430
      <command
2431
            categoryId="org.txm.rcp.category.txm"
2432
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2433
            id="org.txm.rcp.commands.ReloadCorporaView"
2434
            name="Reload">
2435
      </command>
2436
   </extension>
2437
   <extension
2438
         id="commands"
2439
         name="commands"
2440
         point="org.eclipse.ui.commands">
2441

    
2442
      <command
2443
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2444
            description="%command.description.2"
2445
            id="org.txm.rcp.commands.tests.NilsTest"
2446
            name="%command.name.85">
2447
      </command>
2448
      <command
2449
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2450
            id="org.txm.rcp.commands.function.ExportResult"
2451
            name="%command.name.24">
2452
      </command>
2453
      <command
2454
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2455
            id="org.txm.rcp.commands.function.ExportSVG"
2456
            name="%command.name.34">
2457
      </command>
2458
   </extension>
2459
   <extension
2460
         id="links"
2461
         name="links"
2462
         point="org.eclipse.ui.commands">
2463

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