Statistics
| Revision:

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

History | View | Annotate | Download (117.3 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.knowledgerepositories.KRView"
180
            id="org.txm.rcp.views.knowledgerepositories.KRView"
181
            name="%view.name.9"
182
            restorable="true">
183
      </view>
184
   </extension>
185
   <extension
186
         point="org.eclipse.core.runtime.adapters">
187
      <factory
188
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
189
            class="org.txm.rcp.AdapterFactory">
190
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
191
      </factory>
192
        <factory 
193
                adaptableType="org.txm.searchengine.cqp.corpus.Lexicon" 
194
                class="org.txm.rcp.AdapterFactory">
195
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
196
        </factory>
197

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

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

    
210

    
211

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

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

    
2070
         <separator
2071
               name="org.txm.rcp.separator54"
2072
               visible="true">
2073
         </separator>
2074
         <separator
2075
               name="org.txm.rcp.views.corpora.CorporaView.annotation"
2076
               visible="true">
2077
         </separator>
2078
      </menuContribution>
2079
      <menuContribution
2080
            locationURI="popup:org.txm.rcp.views.BasesView">
2081
         <command
2082
               commandId="HIDEorg.txm.rcp2.commands.workspace.AddProject"
2083
               label="%command.label.36"
2084
               style="push">
2085
            <visibleWhen
2086
                  checkEnabled="false">
2087
               <reference
2088
                     definitionId="OneProjectSelected">
2089
               </reference>
2090
            </visibleWhen>
2091
         </command>
2092
         <command
2093
               commandId="org.txm.rcp.commands.workspace.AddBase"
2094
               label="%command.label.37"
2095
               style="push">
2096
            <visibleWhen
2097
                  checkEnabled="false">
2098
               <reference
2099
                     definitionId="OneProjectSelected">
2100
               </reference>
2101
            </visibleWhen>
2102
         </command>       
2103
         <separator
2104
               name="org.txm.rcp.separator1">
2105
         </separator>
2106
         <command
2107
               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
2108
               icon="icons/functions/Delete.png"
2109
               label="%command.label.65"
2110
               style="push"
2111
               tooltip="%command.tooltip.33">
2112
            <visibleWhen
2113
                  checkEnabled="false">
2114
               <or>
2115
                  <reference
2116
                        definitionId="OnePartitionSelected">
2117
                  </reference>
2118
                  <reference
2119
                        definitionId="OneSubCorpusSelected">
2120
                  </reference>
2121
                  <reference
2122
                        definitionId="OneBaseSelected">
2123
                  </reference>
2124
                  <reference
2125
                        definitionId="OneIndexSelected">
2126
                  </reference>
2127
                  <reference
2128
                        definitionId="OneLexiconSelected">
2129
                  </reference>
2130
                  <reference
2131
                        definitionId="OneConcordanceSelected">
2132
                  </reference>
2133
                  <reference
2134
                        definitionId="OneCASelected">
2135
                  </reference>
2136
                  <reference
2137
                        definitionId="OneSpecificitiesResultSelected">
2138
                  </reference>
2139
                  <reference
2140
                        definitionId="OneMainCorpusSelected">
2141
                  </reference>
2142
               </or>
2143
            </visibleWhen>
2144
         </command>
2145
        
2146
      </menuContribution>
2147

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

    
2572
      <command
2573
            categoryId="org.eclipse.ui.category.edit"
2574
            defaultHandler="org.txm.rcp.commands.EditSelectedFile"
2575
            id="org.txm.rcp.commands.EditSelectedFile"
2576
            name="%command.name.106">
2577
      </command>
2578
      <command
2579
            categoryId="org.txm.rcp.category.txm"
2580
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2581
            id="org.txm.rcp.commands.ReloadCorporaView"
2582
            name="Reload">
2583
      </command>
2584
   </extension>
2585
   <extension
2586
         id="commands"
2587
         name="commands"
2588
         point="org.eclipse.ui.commands">
2589
      <command
2590
            defaultHandler="org.txm.rcp.commands.function.ComputeDiagnostic"
2591
            id="org.txm.rcp.commands.base.Diagnostique"
2592
            name="%command.name.23">
2593
      </command>
2594
      <command
2595
            categoryId="org.txm.rcp.category.txm"
2596
            defaultHandler="org.txm.rcp.commands.function.OpenParaBrowser"
2597
            id="org.txm.rcp.commands.function.OpenParaBrowser"
2598
            name="%command.name.33">
2599
      </command>
2600
      <command
2601
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2602
            description="%command.description.2"
2603
            id="org.txm.rcp.commands.tests.NilsTest"
2604
            name="%command.name.85">
2605
      </command>
2606
      <command
2607
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
2608
            id="org.txm.rcp.commands.function.ExportResult"
2609
            name="%command.name.24">
2610
      </command>
2611
      <command
2612
            defaultHandler="org.txm.rcp.commands.function.ExportSVG"
2613
            id="org.txm.rcp.commands.function.ExportSVG"
2614
            name="%command.name.34">
2615
      </command>
2616
   </extension>
2617
   <extension
2618
         id="links"
2619
         name="links"
2620
         point="org.eclipse.ui.commands">
2621

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