Statistics
| Revision:

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

History | View | Annotate | Download (115.6 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-2017 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
   </extension>
186
   <extension
187
         point="org.eclipse.core.runtime.adapters">
188
      <factory
189
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
190
            class="org.txm.rcp.AdapterFactory">
191
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
192
      </factory>
193
        <factory 
194
                adaptableType="org.txm.searchengine.cqp.corpus.Lexicon" 
195
                class="org.txm.rcp.AdapterFactory">
196
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
197
        </factory>
198

    
199
        <factory 
200
                adaptableType="org.txm.searchengine.cqp.corpus.Corpus" 
201
                class="org.txm.rcp.AdapterFactory">
202
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
203
        </factory>
204

    
205
        <factory 
206
                adaptableType="org.txm.searchengine.cqp.corpus.Partition" 
207
                class="org.txm.rcp.AdapterFactory">
208
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
209
        </factory>
210

    
211

    
212

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

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

    
2052
      </menuContribution>
2053
      <menuContribution
2054
            locationURI="popup:org.txm.rcp.views.BasesView">
2055
         <command
2056
               commandId="HIDEorg.txm.rcp2.commands.workspace.AddProject"
2057
               label="%command.label.36"
2058
               style="push">
2059
            <visibleWhen
2060
                  checkEnabled="false">
2061
               <reference
2062
                     definitionId="OneProjectSelected">
2063
               </reference>
2064
            </visibleWhen>
2065
         </command>
2066
         <command
2067
               commandId="org.txm.rcp.commands.workspace.AddBase"
2068
               label="%command.label.37"
2069
               style="push">
2070
            <visibleWhen
2071
                  checkEnabled="false">
2072
               <reference
2073
                     definitionId="OneProjectSelected">
2074
               </reference>
2075
            </visibleWhen>
2076
         </command>       
2077
         <separator
2078
               name="org.txm.rcp.separator1">
2079
         </separator>
2080
         <command
2081
               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
2082
               icon="icons/functions/Delete.png"
2083
               label="%command.label.65"
2084
               style="push"
2085
               tooltip="%command.tooltip.33">
2086
            <visibleWhen
2087
                  checkEnabled="false">
2088
               <or>
2089
                  <reference
2090
                        definitionId="OnePartitionSelected">
2091
                  </reference>
2092
                  <reference
2093
                        definitionId="OneSubCorpusSelected">
2094
                  </reference>
2095
                  <reference
2096
                        definitionId="OneBaseSelected">
2097
                  </reference>
2098
                  <reference
2099
                        definitionId="OneIndexSelected">
2100
                  </reference>
2101
                  <reference
2102
                        definitionId="OneLexiconSelected">
2103
                  </reference>
2104
                  <reference
2105
                        definitionId="OneConcordanceSelected">
2106
                  </reference>
2107
                  <reference
2108
                        definitionId="OneCASelected">
2109
                  </reference>
2110
                  <reference
2111
                        definitionId="OneSpecificitiesResultSelected">
2112
                  </reference>
2113
                  <reference
2114
                        definitionId="OneMainCorpusSelected">
2115
                  </reference>
2116
               </or>
2117
            </visibleWhen>
2118
         </command>
2119
        
2120
      </menuContribution>
2121

    
2122
      <menuContribution
2123
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2124
         <command
2125
               commandId="org.txm.rcp.commands.function.ExportSVG"
2126
               label="%command.label.101"
2127
               style="push"
2128
               tooltip="%command.tooltip.60">
2129
            <visibleWhen
2130
                  checkEnabled="false">
2131
               <reference
2132
                     definitionId="SVGEditorActive">
2133
               </reference>
2134
            </visibleWhen>
2135
         </command>
2136
      </menuContribution>
2137
      <menuContribution
2138
            locationURI="popup:org.txm.rcp.views.QueriesView">
2139
         <command
2140
               commandId="org.txm.rcp.commands.queryview.Copy"
2141
               label="%command.label.129"
2142
               style="push"
2143
               tooltip="%command.tooltip.81">
2144
            <visibleWhen
2145
                  checkEnabled="false">
2146
               <reference
2147
                     definitionId="OneQueryLogSelected">
2148
               </reference>
2149
            </visibleWhen>
2150
         </command>
2151
         <command
2152
               commandId="org.txm.rcp.commands.queryview.Paste"
2153
               label="%command.label.130"
2154
               style="push"
2155
               tooltip="%command.tooltip.82">
2156
            <visibleWhen
2157
                  checkEnabled="false">
2158
               <reference
2159
                     definitionId="OneBaseSelected">
2160
               </reference>
2161
            </visibleWhen>
2162
         </command>
2163
         <command
2164
               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
2165
               icon="icons/functions/Delete.png"
2166
               label="%command.label.65"
2167
               style="push"
2168
               tooltip="%command.tooltip.33">
2169
            <visibleWhen
2170
                  checkEnabled="false">
2171
               <reference
2172
                     definitionId="OneQueryLogSelected">
2173
               </reference>
2174
            </visibleWhen>
2175
         </command>
2176
      </menuContribution>
2177
      <menuContribution
2178
            locationURI="popup:org.txm.rcp.editors.internal.InternalViewEditor">
2179
         <command
2180
               commandId="org.txm.rcp.commands.link.ToConcordance"
2181
               label="%command.label.73"
2182
               style="push">
2183
         </command>
2184
         <command
2185
               commandId="org.txm.rcp.commands.link.ToIndex"
2186
               label="%command.label.77"
2187
               style="push">
2188
         </command>
2189
         <command
2190
               commandId="org.txm.rcp.commands.link.ToProgression"
2191
               label="%command.label.99"
2192
               style="push">
2193
         </command>
2194
      </menuContribution>
2195
      <menuContribution
2196
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2197
         <command
2198
               commandId="org.txm.rcp.commands.ExecuteMacro"
2199
               label="%command.label.23"
2200
               style="push"
2201
               tooltip="%command.tooltip.19">
2202
            <visibleWhen
2203
                  checkEnabled="false">
2204
               <reference
2205
                     definitionId="OneFileSelected">
2206
               </reference>
2207
            </visibleWhen>
2208
         </command>
2209
         <command
2210
               commandId="org.txm.rcp.commands.EditSelectedFile"
2211
               label="%command.label.186"
2212
               style="push"
2213
               tooltip="%command.tooltip.86">
2214
            <visibleWhen
2215
                  checkEnabled="false">
2216
               <reference
2217
                     definitionId="OneFileSelected">
2218
               </reference>
2219
            </visibleWhen>
2220
         </command>
2221
         <command
2222
               commandId="org.txm.rcp.commands.CreateMacro"
2223
               label="%command.label.187"
2224
               style="push"
2225
               tooltip="%command.tooltip.92">
2226
            <visibleWhen
2227
                  checkEnabled="false">
2228
               <reference
2229
                     definitionId="OneFileSelected">
2230
               </reference>
2231
            </visibleWhen>
2232
         </command>
2233
         <command
2234
               commandId="org.txm.rcp.commands.CreateFolder"
2235
               label="%command.label.123"
2236
               style="push"
2237
               tooltip="%command.tooltip.76">
2238
            <visibleWhen
2239
                  checkEnabled="false">
2240
               <reference
2241
                     definitionId="OneFileSelected">
2242
               </reference>
2243
            </visibleWhen>
2244
         </command>
2245
         <command
2246
               commandId="org.txm.rcp.commands.ShowSelected"
2247
               style="push">
2248
         </command>
2249
         <command
2250
               commandId="org.txm.rcp.commands.RenameFile"
2251
               style="push">
2252
            <visibleWhen
2253
                  checkEnabled="false">
2254
               <reference
2255
                     definitionId="OneFileSelected">
2256
               </reference>
2257
            </visibleWhen>
2258
         </command>
2259
         <command
2260
               commandId="org.txm.rcp.commands.DeleteFile"
2261
               style="push"
2262
               tooltip="%command.tooltip.15">
2263
            <visibleWhen
2264
                  checkEnabled="false">
2265
               <reference
2266
                     definitionId="OneFileSelected">
2267
               </reference>
2268
            </visibleWhen>
2269
         </command>
2270
         <command
2271
               commandId="org.txm.rcp.commands.CopyFile"
2272
               style="push"
2273
               tooltip="%command.tooltip.16">
2274
            <visibleWhen
2275
                  checkEnabled="false">
2276
               <reference
2277
                     definitionId="OneFileSelected">
2278
               </reference>
2279
            </visibleWhen>
2280
         </command>
2281
         <command
2282
               commandId="org.txm.rcp.commands.CutFile"
2283
               style="push"
2284
               tooltip="%command.tooltip.20">
2285
            <visibleWhen
2286
                  checkEnabled="false">
2287
               <reference
2288
                     definitionId="OneFileSelected">
2289
               </reference>
2290
            </visibleWhen>
2291
         </command>
2292
         <command
2293
               commandId="org.txm.rcp.commands.PasteFile"
2294
               style="push"
2295
               tooltip="%command.tooltip.21">
2296
            <visibleWhen
2297
                  checkEnabled="false">
2298
               <reference
2299
                     definitionId="OneFileSelected">
2300
               </reference>
2301
            </visibleWhen>
2302
         </command>
2303
      </menuContribution>
2304
      <menuContribution
2305
            allPopups="true"
2306
            locationURI="toolbar:top">
2307
         <command
2308
               commandId="org.txm.rcp.commands.ComputeTXMResult"
2309
               icon="icons/functions/run.png"
2310
               label="Compute"
2311
               style="push">
2312
         </command>
2313
      </menuContribution>
2314
   </extension>
2315
   <extension
2316
         id="general"
2317
         name="general"
2318
         point="org.eclipse.ui.commands">
2319
      <category
2320
            description="%category.description"
2321
            id="org.txm.rcp.category.txm"
2322
            name="%category.name.0">
2323
      </category>
2324
      <command
2325
            categoryId="org.eclipse.ui.category.edit"
2326
            defaultHandler="org.txm.rcp.commands.EditFile"
2327
            id="org.txm.rcp.commands.EditFile"
2328
            name="%command.name">
2329
         <commandParameter
2330
               id="org.txm.rcp.commands.commandParameter2"
2331
               name="%commandParameter.name"
2332
               optional="true">
2333
         </commandParameter>
2334
      </command>
2335
      <command
2336
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyScript"
2337
            id="org.txm.rcp.commands.ExecuteScriptGroovy"
2338
            name="%command.name.0">
2339
      </command>
2340
      <command
2341
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyText"
2342
            id="org.txm.rcp.commands.ExecuteGroovyText"
2343
            name="%command.name.10">
2344
      </command>
2345
      <command
2346
            defaultHandler="org.txm.rcp.commands.ExecuteImportScript"
2347
            id="org.txm.rcp.commands.ExecuteScriptImport"
2348
            name="%command.name.22">
2349
         <commandParameter
2350
               id="org.txm.rcp.commands.commandParameter3"
2351
               name="%commandParameter.name.1"
2352
               optional="true">
2353
         </commandParameter>
2354
      </command>
2355
      
2356
      <command
2357
            categoryId="org.eclipse.ui.category.navigate"
2358
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2359
            id="org.txm.rcp.commands.OpenBrowser"
2360
            name="%command.name.8">
2361
         <commandParameter
2362
               id="org.txm.rcp.commands.commandParameter2"
2363
               name="%commandParameter.name"
2364
               optional="true">
2365
         </commandParameter>
2366
      </command>
2367
      <command
2368
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2369
            id="org.txm.rcp.commands.ShowSelected"
2370
            name="%command.name.9">
2371
      </command>
2372
      <command
2373
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2374
            description="%command.description"
2375
            id="org.txm.rcp.commands.RestartTXM"
2376
            name="%command.name.25">
2377
      </command>
2378
      <command
2379
            defaultHandler="org.txm.rcp.commands.base.DeleteObject"
2380
            id="org.txm.rcp.commands.base.DeleteInCorpora"
2381
            name="%command.name.26">
2382
      </command>
2383
      
2384
      <command
2385
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2386
            id="org.txm.rcp.commands.ImportSelectedText"
2387
            name="%command.name.28">
2388
      </command>
2389
      <command
2390
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2391
            id="org.txm.rcp.commands.changelanguage"
2392
            name="%command.name.31">
2393
      </command>
2394
            
2395
      <command
2396
            defaultHandler="org.txm.rcp.commands.CreateFile"
2397
            id="org.txm.rcp.commands.CreateFile"
2398
            name="%command.name.47">
2399
      </command>
2400
      <command
2401
            defaultHandler="org.txm.rcp.commands.CreateFolder"
2402
            id="org.txm.rcp.commands.CreateFolder"
2403
            name="%command.name.48">
2404
      </command>
2405
      <command
2406
            categoryId="org.eclipse.ui.category.edit"
2407
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2408
            id="org.txm.rcp.commands.OpenImportForm"
2409
            name="%command.name.62">
2410
         <commandParameter
2411
               id="org.txm.rcp.commands.importscript"
2412
               name="%commandParameter.name.2"
2413
               optional="false">
2414
         </commandParameter>
2415
      </command>
2416
      <command
2417
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyScriptFromFile"
2418
            id="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
2419
            name="%command.name.66">
2420
      </command>
2421
      <command
2422
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2423
            description="%command.description.0"
2424
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2425
            name="%command.name.3">
2426
      </command>
2427
      <command
2428
            defaultHandler="org.txm.rcp.commands.workspace.PurgeCorpora"
2429
            description="%command.description.1"
2430
            id="org.txm.rcp.commands.workspace.PurgeCorpora"
2431
            name="%command.name.18">
2432
      </command>
2433
      <command
2434
            categoryId="org.txm.rcp.category.txm"
2435
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2436
            id="org.txm.rcp.commands.OpenTestEditor"
2437
            name="%command.name.19">
2438
      </command>
2439
      <command
2440
            defaultHandler="org.txm.rcp.commands.ExecuteScript"
2441
            id="org.txm.rcp.commands.ExecuteScript"
2442
            name="%command.name.21">
2443
      </command>
2444
      <command
2445
            defaultHandler="org.txm.rcp.commands.ExecuteText"
2446
            id="org.txm.rcp.commands.ExecuteText"
2447
            name="%command.name.50">
2448
      </command>
2449
      <command
2450
            defaultHandler="org.txm.rcp.commands.editor.SaveAs"
2451
            id="org.txm.rcp.commands.editor.SaveAs"
2452
            name="%command.name.67">
2453
      </command>
2454
      <command
2455
            defaultHandler="org.txm.rcp.commands.DeleteFile"
2456
            id="org.txm.rcp.commands.DeleteFile"
2457
            name="%command.name.68">
2458
      </command>
2459
      <command
2460
            defaultHandler="org.txm.rcp.commands.CopyFile"
2461
            id="org.txm.rcp.commands.CopyFile"
2462
            name="%command.name.69">
2463
      </command>
2464
      <command
2465
            defaultHandler="org.txm.rcp.commands.PasteFile"
2466
            id="org.txm.rcp.commands.PasteFile"
2467
            name="%command.name.70">
2468
      </command>
2469
      <command
2470
            defaultHandler="org.txm.rcp.commands.CutFile"
2471
            id="org.txm.rcp.commands.CutFile"
2472
            name="%command.name.71">
2473
      </command>
2474
      <command
2475
            defaultHandler="org.txm.rcp.commands.RenameFile"
2476
            id="org.txm.rcp.commands.RenameFile"
2477
            name="%command.name.108">
2478
      </command>
2479
      <command
2480
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2481
            id="org.txm.rcp.commands.editor.SetEncoding"
2482
            name="%command.name.72">
2483
      </command>
2484
      <command
2485
            categoryId="org.eclipse.ui.category.navigate"
2486
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2487
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2488
            name="%command.name.74">
2489
         <commandParameter
2490
               id="org.txm.rcp.commands.commandParameter3"
2491
               name="%commandParameter.name.3"
2492
               optional="true">
2493
         </commandParameter>
2494
      </command>
2495
      <command
2496
            categoryId="org.eclipse.ui.category.navigate"
2497
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2498
            id="org.txm.rcp.commands.OpenWelcomePage"
2499
            name="%command.name.8">
2500
         <commandParameter
2501
               id="org.txm.rcp.commands.commandParameter2"
2502
               name="%commandParameter.name"
2503
               optional="true">
2504
         </commandParameter>
2505
      </command>
2506
      <command
2507
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyMacro"
2508
            id="org.txm.rcp.commands.ExecuteMacro"
2509
            name="%command.name.79">
2510
      </command>
2511
      <command
2512
            defaultHandler="org.txm.rcp.commands.CreateMacro"
2513
            id="org.txm.rcp.commands.CreateMacro"
2514
            name="%command.name.80">
2515
      </command>
2516
      <command
2517
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2518
            description="%command.label.182"
2519
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2520
            name="%command.label.182">
2521
      </command>
2522
      <command
2523
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2524
            description="%command.description.3"
2525
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2526
            name="%command.name.87">
2527
      </command>
2528
      <command
2529
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2530
            description="%command.description.4"
2531
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2532
            name="%command.name.88">
2533
      </command>
2534
      <command
2535
            defaultHandler="org.txm.rcp.commands.ExecuteLastGroovyScript"
2536
            id="org.txm.rcp.commands.ExecuteLastGroovyScript"
2537
            name="%command.name.89">
2538
      </command>
2539
      <command
2540
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2541
            id="org.txm.rcp.commands.CleanPerspective"
2542
            name="%command.name.94">
2543
      </command>
2544
      <command
2545
            defaultHandler="org.txm.rcp.commands.OpenManual"
2546
            id="org.txm.rcp.commands.OpenManual"
2547
            name="%command.name.95">
2548
      </command>
2549
      <command
2550
            categoryId="org.txm.rcp.category.txm"
2551
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2552
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2553
            name="%command.name.98">
2554
      </command>
2555

    
2556
      <command
2557
            categoryId="org.eclipse.ui.category.edit"
2558
            defaultHandler="org.txm.rcp.commands.EditSelectedFile"
2559
            id="org.txm.rcp.commands.EditSelectedFile"
2560
            name="%command.name.106">
2561
      </command>
2562
      <command
2563
            categoryId="org.txm.rcp.category.txm"
2564
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2565
            id="org.txm.rcp.commands.ReloadCorporaView"
2566
            name="Reload">
2567
      </command>
2568
      <command
2569
            defaultHandler="org.txm.rcp.commands.ComputeTXMResult"
2570
            description="Compute/Update the TXMResult of a TXMEditor"
2571
            id="org.txm.rcp.commands.ComputeTXMResult"
2572
            name="Compute">
2573
      </command>
2574
   </extension>
2575
   <extension
2576
         id="commands"
2577
         name="commands"
2578
         point="org.eclipse.ui.commands">
2579

    
2580
      <command
2581
            categoryId="org.txm.rcp.category.txm"
2582
            defaultHandler="org.txm.rcp.commands.function.OpenParaBrowser"
2583
            id="org.txm.rcp.commands.function.OpenParaBrowser"
2584
            name="%command.name.33">
2585
      </command>
2586
      <command
2587
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2588
            description="%command.description.2"
2589
            id="org.txm.rcp.commands.tests.NilsTest"
2590
            name="%command.name.85">
2591
      </command>
2592
      <command
2593
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
2594
            id="org.txm.rcp.commands.function.ExportResult"
2595
            name="%command.name.24">
2596
      </command>
2597
      <command
2598
            defaultHandler="org.txm.rcp.commands.function.ExportSVG"
2599
            id="org.txm.rcp.commands.function.ExportSVG"
2600
            name="%command.name.34">
2601
      </command>
2602
   </extension>
2603
   <extension
2604
         id="links"
2605
         name="links"
2606
         point="org.eclipse.ui.commands">
2607

    
2608
      <command
2609
            defaultHandler="org.txm.rcp.commands.editor.Copy"
2610
            id="org.txm.rcp.commands.editor.Copy"
2611
            name="%command.name.55">
2612
      </command>
2613
   </extension>
2614
   <extension
2615
         id="views"
2616
         name="views"
2617
         point="org.eclipse.ui.commands">
2618
      <command
2619
            defaultHandler="org.txm.rcp.commands.workspace.AddProject"
2620
            id="org.txm.rcp.commands.workspace.AddProject"
2621
            name="%command.name.11">
2622
      </command>
2623
      <command
2624
            defaultHandler="org.txm.rcp.commands.workspace.RemoveProject"
2625
            id="org.txm.rcp.commands.workspace.RemoveProject"
2626
            name="%command.name.12">
2627
      </command>
2628
      <command
2629
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
2630
            id="org.txm.rcp.commands.workspace.AddBase"
2631
            name="%command.name.13">
2632
      </command>
2633
      <command
2634
            defaultHandler="org.txm.rcp.commands.workspace.RemoveBase"
2635
            id="org.txm.rcp.commands.workspace.RemoveBase"
2636
            name="%command.name.14">
2637
      </command>
2638
      <command
2639
            defaultHandler="org.txm.rcp.commands.workspace.AddText"
2640
            id="org.txm.rcp.commands.workspace.AddText"
2641
            name="%command.name.15">
2642
      </command>
2643
      <command
2644
            defaultHandler="org.txm.rcp.commands.workspace.RemoveText"
2645
            id="org.txm.rcp.commands.workspace.RemoveText"
2646
            name="%command.name.16">
2647
      </command>
2648
      <command
2649
            defaultHandler="org.txm.rcp.commands.workspace.BuildCorpus"
2650
            id="org.txm.rcp.commands.workspace"
2651
            name="%command.name.17">
2652
      </command>
2653
      <command
2654
            defaultHandler="org.txm.rcp.commands.queryview.Copy"
2655
            id="org.txm.rcp.commands.queryview.Copy"
2656
            name="%command.name.55">
2657
      </command>
2658
      <command
2659
            defaultHandler="org.txm.rcp.commands.queryview.Paste"
2660
            id="org.txm.rcp.commands.queryview.Paste"
2661
            name="%command.name.56">
2662
      </command>
2663
      <command
2664
            defaultHandler="org.txm.rcp.commands.DownloadFile"
2665
            id="org.txm.rcp.commands.DownloadFile"
2666
            name="%command.name.91">
2667
      </command>
2668
      <command
2669
            defaultHandler="org.txm.rcp.handlers.CloneTXMResult"
2670
            id="CloneTXMResult"
2671
            name="Clone result">
2672
      </command>
2673
   </extension>
2674
   <extension
2675
         point="org.eclipse.core.expressions.definitions">
2676
      <definition
2677
            id="OneMainCorpusSelected">
2678
        <with variable="selection">
2679
            <iterate
2680
                  ifEmpty="false"
2681
                  operator="and">
2682
               <instanceof
2683
                     value="org.txm.searchengine.cqp.corpus.MainCorpus">
2684
               </instanceof>
2685
            </iterate>
2686
         </with>
2687
      </definition>
2688
      <definition
2689
            id="OneSubCorpusSelected">
2690
                 <with variable="selection">
2691
            <iterate
2692
                  ifEmpty="false"
2693
                  operator="and">
2694
               <instanceof
2695
                     value="org.txm.searchengine.cqp.corpus.Subcorpus">
2696
               </instanceof>
2697
            </iterate>
2698
         </with>
2699
      </definition>
2700
            <definition
2701
            id="OneCorpusSelected">
2702
                 <with variable="selection">
2703
            <iterate
2704
                  ifEmpty="false"
2705
                  operator="and">
2706
               <instanceof
2707
                     value="org.txm.searchengine.cqp.corpus.Corpus">
2708
               </instanceof>
2709
            </iterate>
2710
         </with>
2711
      </definition>
2712
      <definition
2713
            id="OnePartitionSelected">
2714
        <with variable="selection">
2715
            <iterate
2716
                  ifEmpty="false"
2717
                  operator="and">
2718
               <instanceof
2719
                     value="org.txm.searchengine.cqp.corpus.Partition">
2720
               </instanceof>
2721
            </iterate>
2722
         </with>
2723
      </definition>
2724
      <definition
2725
            id="OneFileSelected">
2726
         <with
2727
               variable="selection">
2728
            <iterate
2729
                  ifEmpty="false"
2730
                  operator="and">
2731
               <instanceof
2732
                     value="java.io.File">
2733
               </instanceof>
2734
            </iterate>
2735
         </with>
2736
      </definition>
2737
      <definition
2738
            id="OneDirSelected">
2739
         <and>
2740
            <instanceof
2741
                  value="java.io.File">
2742
            </instanceof>
2743
            <test
2744
                  args="isDirectory()"
2745
                  property="org.txm.rcp.test2"
2746
                  value="true">
2747
            </test>
2748
         </and>
2749
      </definition>
2750
            <definition
2751
                  id="OneProjectSelected">
2752
               <with
2753
                     variable="selection">
2754
                  <iterate
2755
                        ifEmpty="false"
2756
                        operator="and">
2757
                     <instanceof
2758
                           value="org.txm.objects.Project">
2759
                     </instanceof>
2760
                  </iterate>
2761
               </with>
2762
            </definition>
2763
            <definition
2764
                  id="OneBaseSelected">
2765
               <with
2766
                     variable="selection">
2767
                  <iterate
2768
                        ifEmpty="false"
2769
                        operator="and">
2770
                     <instanceof
2771
                           value="org.txm.objects.Base">
2772
                     </instanceof>
2773
                  </iterate>
2774
               </with>
2775
            </definition>
2776
            <definition
2777
                  id="OneTextSelected">
2778
               <with
2779
                     variable="selection">
2780
                  <iterate
2781
                        ifEmpty="false"
2782
                        operator="and">
2783
                     <instanceof
2784
                           value="org.txm.objects.Text">
2785
                     </instanceof>
2786
                  </iterate>
2787
               </with>
2788
            </definition>
2789
            <definition
2790
                  id="OneScriptSelected">
2791
               <with
2792
                     variable="selection">
2793
                  <iterate
2794
                        ifEmpty="false"
2795
                        operator="and">
2796
                     <instanceof
2797
                           value="org.txm.objects.Script">
2798
                     </instanceof>
2799
                  </iterate>
2800
               </with>
2801
            </definition>
2802
            <definition
2803
                  id="OneResultSelected">
2804
               <visibleWhen
2805
                     checkEnabled="false">
2806
                  <or>
2807
                     <reference
2808
                           definitionId="OneSpecificitiesResultSelected">
2809
                     </reference>
2810
                     <reference
2811
                           definitionId="OneCASelected">
2812
                     </reference>
2813
                     <reference
2814
                           definitionId="OneLexiconSelected">
2815
                     </reference>
2816
                     <reference
2817
                           definitionId="OneConcordanceSelected">
2818
                     </reference>
2819
                     <reference
2820
                           definitionId="OneIndexSelected">
2821
                     </reference>
2822
                     <reference
2823
                           definitionId="OneReferencerSelected">
2824
                     </reference>
2825
                  </or>
2826
               </visibleWhen>
2827
            </definition>
2828
            <definition
2829
                  id="SVGEditorActive">
2830
               <with
2831
                     variable="activeEditorId">
2832
                  <equals
2833
                        value="org.txm.rcp.editors.SVGGraphicEditor">
2834
                  </equals>
2835
               </with>
2836
            </definition>
2837
            <definition
2838
                  id="OneTxmObjectSelected">
2839
               <with
2840
                     variable="selection">
2841
                  <iterate
2842
                        ifEmpty="false"
2843
                        operator="and">
2844
                     <instanceof
2845
                           value="org.txm.objects.TxmObject">
2846
                     </instanceof>
2847
                  </iterate>
2848
               </with>
2849
            </definition>
2850
            <definition
2851
                  id="OneReferencerSelected">
2852
               <with
2853
                     variable="selection">
2854
                  <iterate
2855
                        ifEmpty="false"
2856
                        operator="and">
2857
                     <instanceof
2858
                           value="org.txm.functions.referencer.Referencer">
2859
                     </instanceof>
2860
                  </iterate>
2861
               </with>
2862
            </definition>
2863
            <definition
2864
                  id="OneQueryLogSelected">
2865
               <with
2866
                     variable="selection">
2867
                  <iterate
2868
                        ifEmpty="false"
2869
                        operator="and">
2870
                     <instanceof
2871
                           value="org.txm.objects.QueryLog">
2872
                     </instanceof>
2873
                  </iterate>
2874
               </with>
2875
            </definition>
2876
            <definition
2877
                  id="RPerspectiveSelected">
2878
               <with
2879
                     variable="activeWorkbenchWindow.activePerspective">
2880
                  <equals
2881
                        value="org.txm.rcp.perspective.RPerspective">
2882
                  </equals>
2883
               </with>
2884
            </definition>
2885
            <definition
2886
                  id="StatEngineReady">
2887
               <test
2888
                     forcePluginActivation="true"
2889
                     property="org.txm.rcp.testers.ToolboxTester"
2890
                     value="StateEngineReady">
2891
               </test>
2892
            </definition>
2893
            <definition
2894
                  id="LabPerspectiveSelected">
2895
               <with
2896
                     variable="activeWorkbenchWindow.activePerspective">
2897
                  <equals
2898
                        value="org.txm.rcp.perspective.LabPerspective">
2899
                  </equals>
2900
               </with>
2901
            </definition>
2902
            <definition
2903
                  id="WasNotFirstTXMRun">
2904
               <systemTest
2905
                     property="org.txm.rcp.wasfirstrun"
2906
                     value="false">
2907
               </systemTest>
2908
            </definition>
2909
            <definition
2910
                  id="OneLexicalTableAbleSelected">
2911
               <with
2912
                     variable="selection">
2913
                  <iterate
2914
                        ifEmpty="false"
2915
                        operator="and">
2916
                     <instanceof
2917
                           value="org.txm.functions.LexicalTableAble">
2918
                     </instanceof>
2919
                  </iterate>
2920
               </with>
2921
            </definition>
2922
            <definition
2923
                  id="NeedToSaveAnnotations">
2924
               <test
2925
                     forcePluginActivation="true"
2926
                     property="org.txm.rcp.testers.annotate.canSave">
2927
               </test>
2928
            </definition>
2929
            <definition
2930
                  id="ExpertEnabled">
2931
               <test
2932
                     forcePluginActivation="true"
2933
                     property="org.txm.rcp.testers.ExpertEnabled">
2934
               </test>
2935
            </definition>
2936
            <definition
2937
                  id="IsXTZCorpus">
2938
               <test
2939
                     forcePluginActivation="true"
2940
                     property="org.txm.rcp.testers.corpus.xtzCorpus">
2941
               </test>
2942
            </definition>
2943
            <definition
2944
                  id="TextEditorActive">
2945
               <with
2946
                     variable="activePartId">
2947
                  <equals
2948
                        value="org.txm.rcp.editors.TxtEditor">
2949
                  </equals>
2950
               </with>
2951
            </definition>
2952
            <definition
2953
                  id="OneTXMResultSelected">
2954
               <with
2955
                     variable="selection">
2956
                  <iterate
2957
                        ifEmpty="false"
2958
                        operator="and">
2959
                     <instanceof
2960
                           value="org.txm.core.results.TXMResult">
2961
                     </instanceof>
2962
                  </iterate>
2963
               </with>
2964
            </definition>
2965
   </extension>
2966
  
2967
   <extension
2968
         point="org.eclipse.ui.popupMenus">
2969
      <viewerContribution
2970
            id="projmenu"
2971
            targetID="org.txm.rcp.views.BasesView">
2972
      </viewerContribution>
2973
   </extension>
2974
   
2975
   <extension
2976
         point="org.eclipse.ui.splashHandlers">
2977
      <splashHandler
2978
            class="org.txm.rcp.AbstractSplashHandler2"
2979
            id="org.txm.rcp.splashHandler2">
2980
      </splashHandler>
2981
      <splashHandlerProductBinding
2982
            productId="org.txm.rcp.product"
2983
            splashId="org.txm.rcp.splash">
2984
      </splashHandlerProductBinding>
2985
   </extension>
2986
   <extension
2987
         point="org.eclipse.ui.decorators">
2988
      <decorator
2989
            class="org.txm.rcp.decorators.RDecorator"
2990
            icon="icons/decorators/R.png"
2991
            id="org.txm.rcp.decorators.RDecorator"
2992
            label="%decorator.label"
2993
            lightweight="false"
2994
            location="TOP_LEFT"
2995
            objectClass="java.lang.Object"
2996
            state="true">
2997
      </decorator>
2998
   </extension>
2999
   <extension
3000
         point="org.eclipse.core.expressions.propertyTesters">
3001
      <propertyTester
3002
            class="org.txm.rcp.testers.ToolboxTester"
3003
            id="org.txm.rcp.testers.ToolboxTester"
3004
            namespace="org.txm.rcp.testers"
3005
            properties="StatEngineReady,SearchEngineReady"
3006
            type="java.lang.Object">
3007
      </propertyTester>
3008
      <propertyTester
3009
            class="org.txm.rcp.testers.IsCorpusAnnotated"
3010
            id="org.txm.rcp.testers.IsCorpusAnnotated"
3011
            namespace="org.txm.rcp.testers.annotate"
3012
            properties="canSave"
3013
            type="java.lang.Object">
3014
      </propertyTester>
3015
      <propertyTester
3016
            class="org.txm.rcp.testers.ExpertEnabled"
3017
            id="org.txm.rcp.testers.ExpertEnabled"
3018
            namespace="org.txm.rcp.testers"
3019
            properties="ExpertEnabled"
3020
            type="java.lang.Object">
3021
      </propertyTester>
3022
      <propertyTester
3023
            class="org.txm.rcp.testers.IsXTZCorpus"
3024
            id="org.txm.rcp.testers.IsXTZCorpus"
3025
            namespace="org.txm.rcp.testers.corpus"
3026
            properties="xtzCorpus"
3027
            type="java.lang.Object">
3028
      </propertyTester>
3029
   </extension>
3030
   <extension
3031
         point="org.eclipse.ui.bindings">
3032
      <key
3033
            commandId="org.txm.rcp.commands.ExecuteText"
3034
            contextId="org.eclipse.ui.contexts.window"
3035
            schemeId="org.txm.rcp.scheme"
3036
            sequence="F11">
3037
      </key>
3038
      <key
3039
            commandId="org.txm.rcp.commands.ExecuteScript"
3040
            contextId="org.eclipse.ui.contexts.window"
3041
            schemeId="org.txm.rcp.scheme"
3042
            sequence="M1+F11">
3043
      </key>
3044
      <key
3045
            commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
3046
            contextId="org.eclipse.ui.contexts.window"
3047
            schemeId="org.txm.rcp.scheme"
3048
            sequence="F12">
3049
      </key>
3050
      <scheme
3051
            description="%scheme.description"
3052
            id="org.txm.rcp.scheme"
3053
            name="%scheme.name"
3054
            parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
3055
      </scheme>
3056
      <key
3057
            commandId="org.txm.rcp.commands.ReloadCorporaView"
3058
            contextId="org.txm.rcp.views.corpora.CorporaView"
3059
            schemeId="org.txm.rcp.scheme"
3060
            sequence="F5">
3061
      </key>
3062
   </extension>
3063
   <extension
3064
         point="org.eclipse.e4.ui.css.swt.theme">
3065
      <theme
3066
            basestylesheeturi="css/default_linux.css"
3067
            id="org.txm.rcp.theme.default.linux"
3068
            label="TXM"
3069
            os="linux">
3070
      </theme>
3071
      <theme
3072
            basestylesheeturi="css/default_windows.css"
3073
            id="org.txm.rcp.theme.default.windows"
3074
            label="TXM"
3075
            os="win32">
3076
      </theme>
3077
      <theme
3078
            basestylesheeturi="css/default_mac.css"
3079
            id="org.txm.rcp.theme.default.mac"
3080
            label="TXM"
3081
            os="macosx">
3082
      </theme>
3083
   </extension>
3084
   <extension
3085
         point="org.eclipse.ui.contexts">
3086
      <context
3087
            description="Corpora view"
3088
            id="org.txm.rcp.views.corpora.CorporaView"
3089
            name="Corpora view">
3090
      </context>
3091
   </extension>
3092
</plugin>