Revision 499 tmp/org.txm.rcp/plugin.xml

plugin.xml (revision 499)
33 33
         point="org.eclipse.core.runtime.products">
34 34
      <product
35 35
            application="org.txm.rcp.Application"
36
            description="TXM desktop application"
36 37
            name="TXM">
37 38
         <property
38 39
               name="appName"
......
60 61
         </property>
61 62
         <property
62 63
               name="aboutText"
63
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.7.8 Copyright © 2010-2016 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;">
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;">
64 65
         </property>
65 66
         <property
66 67
               name="startupProgressRect"
......
208 209

  
209 210

  
210 211

  
211
 <factory
212
       adaptableType="org.txm.functions.referencer.Referencer"
213
       class="org.txm.rcp.AdapterFactory">
214
    <adapter
215
          type="org.eclipse.ui.model.IWorkbenchAdapter">
216
    </adapter>
217
 </factory>
218
 <factory
219
       adaptableType="org.txm.functions.internal.InternalView"
220
       class="org.txm.rcp.AdapterFactory">
221
    <adapter
222
          type="org.eclipse.ui.model.IWorkbenchAdapter">
223
    </adapter>
224
 </factory>
225
 <factory
226
       adaptableType="org.txm.functions.intertextualdistance.InterTextDistance"
227
       class="org.txm.rcp.AdapterFactory">
228
    <adapter
229
          type="org.eclipse.ui.model.IWorkbenchAdapter">
230
    </adapter>
231
 </factory>
232 212
 
233 213
   </extension>
234 214
   <extension
......
272 252
            name="%editor.name.8">
273 253
      </editor>
274 254
      <editor
275
            class="org.txm.rcp.editors.referencer.ReferencerEditor"
276
            default="false"
277
            icon="icons/functions/Referencer.png"
278
            id="org.txm.rcp.editors.referencer.ReferencerEditor"
279
            name="%editor.name.14">
280
      </editor>
281
      <editor
282 255
            class="org.txm.rcp.editors.imports.ImportFormEditor"
283 256
            default="false"
284 257
            icon="icons/objects/books.png"
......
286 259
            name="%editor.name.15">
287 260
      </editor>
288 261
      <editor
289
            class="org.txm.rcp.editors.TestEditor"
290
            default="false"
291
            id="org.txm.rcp.editors.TestEditor"
292
            name="%editor.name.16">
293
      </editor>
294
      <editor
295
            class="org.txm.rcp.editors.internal.InternalViewEditor"
296
            default="false"
297
            icon="icons/objects/folder.png"
298
            id="org.txm.rcp.editors.internal.InternalViewEditor"
299
            name="%editor.name.17">
300
      </editor>
301
      <editor
302
            class="org.txm.rcp.editors.internal.InternalViewEditor"
303
            default="false"
304
            icon="icons/functions/InternalView.png"
305
            id="org.txm.rcp.editors.TableEditor"
306
            name="%editor.name.19">
307
      </editor>
308
      <editor
309 262
            class="org.txm.rcp.editors.TXMWebBrowserEditor"
310 263
            default="false"
311 264
            icon="icons/objects/world.png"
312 265
            id="org.txm.rcp.editors.TXMWebBrowserEditor"
313 266
            name="%editor.name.22">
314 267
      </editor>
315
      <editor
316
            class="TestEMEditor"
317
            id="TestEMEditor"
318
            name="%editor.name.23">
319
      </editor>
320
      <editor
321
            class="org.txm.rcp.editors.TableEditor"
322
            default="false"
323
            icon="icons/index.png"
324
            id="org.txm.rcp.editors.TableEditor"
325
            name="%editor.name.0">
326
      </editor>
327 268
   </extension>
328 269
   <extension
329 270
         point="org.eclipse.core.runtime.preferences">
......
388 329
      </page>
389 330
      <page
390 331
            category="org.txm.rcp.preferences.UserPreferencePage"
391
            class="org.txm.rcp.preferences.ReferencerPreferencePage"
392
            id="org.txm.rcp.preferences.ReferencerPreferencePage"
393
            name="%page.name.16">
394
      </page>
395
      <page
396
            category="org.txm.rcp.preferences.UserPreferencePage"
397 332
            class="org.txm.rcp.preferences.FileExplorerPreferencePage"
398 333
            id="org.txm.rcp.preferences.FileExplorerPreferencePage"
399 334
            name="%page.name.2">
......
404 339
            id="org.txm.rcp.preferences.ImportPreferencePage"
405 340
            name="%page.name.19">
406 341
	</page>
407
      <page
408
            category="org.txm.rcp.preferences.UserPreferencePage"
409
            class="org.txm.rcp.preferences.AnnotationPreferencePage"
410
            id="org.txm.rcp.preferences.AnnotationPreferencePage"
411
            name="%page.name.23">
412
      </page>
413 342
   </extension>
414 343
   <extension
415 344
         point="org.eclipse.ui.menus">
......
604 533
                  id="menu.file.export"
605 534
                  label="%menu.label.5">
606 535
               <command
607
                     commandId="org.txm.rcp.commands.base.ExportCorpus"
608
                     icon="icons/functions/Compress.png"
609
                     label="%command.name.52"
610
                     style="push"
611
                     tooltip="%command.tooltip.67">
612
                  <visibleWhen
613
                        checkEnabled="false">
614
                     <reference
615
                           definitionId="OneMainCorpusSelected">
616
                     </reference>
617
                  </visibleWhen>
618
               </command>
619
               <command
620
                     commandId="org.txm.rcp.commands.annotation.ExportStandoff"
621
                     id="menu.file.export.exporttei"
622
                     label="%command.label.193"
623
                     style="push">
624
                  <visibleWhen
625
                        checkEnabled="false">
626
                     <reference
627
                           definitionId="OneMainCorpusSelected">
628
                     </reference>
629
                  </visibleWhen>
630
               </command>
631
               <command
632 536
                     commandId="org.txm.rcp.commands.function.ExportResult"
633 537
                     icon="icons/functions/export_data.png"
634 538
                     label="%command.label.51"
......
1050 954
                  </reference>
1051 955
               </visibleWhen>
1052 956
            </command>
957
            
1053 958
            <command
1054
                  commandId="org.txm.rcp.commands.function.ComputeInternalView"
1055
                  icon="icons/functions/InternalView.png"
1056
                  label="%command.label.176"
1057
                  style="push"
1058
                  tooltip="%command.tooltip.40">
1059
               <visibleWhen
1060
                     checkEnabled="false">
1061
                  <reference
1062
                        definitionId="OneCorpusSelected">
1063
                  </reference>
1064
               </visibleWhen>
1065
            </command>
1066
            <command
1067 959
                  commandId="org.txm.rcp.commands.base.DeleteInCorpora"
1068 960
                  icon="icons/functions/Delete.png"
1069 961
                  label="%command.label.65"
......
1123 1015
                  name="menu.corpus.build"
1124 1016
                  visible="true">
1125 1017
            </separator>
1126
            <command
1127
                  commandId="org.txm.rcp.commands.base.CreateSubCorpus"
1128
                  icon="icons/functions/SubCorpus.png"
1129
                  label="%command.label.7"
1130
                  style="push"
1131
                  tooltip="%command.tooltip.3">
1132
               <visibleWhen
1133
                     checkEnabled="false">
1134
                  <reference
1135
                        definitionId="OneCorpusSelected">
1136
                  </reference>
1137
               </visibleWhen>
1138
            </command>
1139
            <command
1140
                  commandId="org.txm.rcp.commands.base.CreatePartition"
1141
                  icon="icons/functions/Partition.png"
1142
                  label="%command.label.8"
1143
                  style="push"
1144
                  tooltip="%command.tooltip.4">
1145
               <visibleWhen
1146
                     checkEnabled="false">
1147
                  <reference
1148
                        definitionId="OneCorpusSelected">
1149
                  </reference>
1150
               </visibleWhen>
1151
            </command>
1152
            <command
1153
                  commandId="org.txm.rcp.commands.annotation.SaveAnnotations"
1154
                  icon="icons/functions/save.png"
1155
                  label="%command.label.111"
1156
                  style="push">
1157
               <visibleWhen
1158
                     checkEnabled="false">
1159
                  <reference
1160
                        definitionId="NeedToSaveAnnotations">
1161
                  </reference>
1162
               </visibleWhen>
1163
            </command>
1018
            
1164 1019
         </menu>
1165 1020
         <menu
1166 1021
               id="menu.tools"
......
1235 1090
                  </parameter>
1236 1091
               </command>
1237 1092
               <command
1238
                     commandId="org.txm.rcp.commands.krview.OpenKRView"
1239
                     label="%command.label.150"
1240
                     style="push">
1241
               </command>
1242
               <command
1243 1093
                     commandId="org.eclipse.ui.views.showView"
1244 1094
                     label="%command.label.139"
1245 1095
                     style="push">
......
1294 1144
                  style="push">
1295 1145
            </command>
1296 1146
            <command
1297
                  commandId="org.txm.rcp.commands.R.ShowSvgHelp"
1298
                  label="%command.label.141"
1299
                  style="push"
1300
                  tooltip="%command.tooltip.83">
1301
            </command>
1302
            <command
1303 1147
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1304 1148
                  label="%command.label.68"
1305 1149
                  style="push"
......
1553 1397
               </visibleWhen>
1554 1398
            </command>
1555 1399
            <separator
1556
                  name="org.txm.rcp.separator1"
1400
                  name="org.txm.rcp.toolbarcorpus.corpus"
1557 1401
                  visible="true">
1558 1402
            </separator>
1559 1403
            <command
......
1570 1414
                  </reference>
1571 1415
               </visibleWhen>
1572 1416
            </command>
1417
            
1573 1418
            <command
1574
                  commandId="org.txm.rcp.commands.function.ComputeInternalView"
1575
                  icon="icons/functions/InternalView.png"
1576
                  label="%command.label.183"
1577
                  style="push"
1578
                  tooltip="%command.tooltip.52">
1579
               <visibleWhen
1580
                     checkEnabled="false">
1581
                  <reference
1582
                        definitionId="OneCorpusSelected">
1583
                  </reference>
1584
               </visibleWhen>
1585
            </command>
1586
            <command
1587 1419
                  commandId="org.txm.rcp.commands.base.DeleteInCorpora"
1588 1420
                  icon="icons/functions/Delete.png"
1589 1421
                  label="%command.label.65"
......
1620 1452
               </visibleWhen>
1621 1453
            </command>
1622 1454
            <separator
1623
                  name="org.txm.rcp.separator4"
1455
                  name="org.txm.rcp.toolbarcorpus.annotation"
1624 1456
                  visible="true">
1625 1457
            </separator>
1626
            <command
1627
                  commandId="org.txm.rcp.commands.base.CreateSubCorpus"
1628
                  icon="icons/functions/SubCorpus.png"
1629
                  label="%command.label.7"
1630
                  style="push"
1631
                  tooltip="%command.tooltip.3">
1632
               <visibleWhen
1633
                     checkEnabled="false">
1634
                  <reference
1635
                        definitionId="OneCorpusSelected">
1636
                  </reference>
1637
               </visibleWhen>
1638
            </command>
1639
            <command
1640
                  commandId="org.txm.rcp.commands.base.CreatePartition"
1641
                  icon="icons/functions/Partition.png"
1642
                  label="%command.label.8"
1643
                  style="push"
1644
                  tooltip="%command.tooltip.4">
1645
               <visibleWhen
1646
                     checkEnabled="false">
1647
                  <reference
1648
                        definitionId="OneCorpusSelected">
1649
                  </reference>
1650
               </visibleWhen>
1651
            </command>
1652
            <command
1653
                  commandId="org.txm.rcp.commands.annotation.SaveAnnotations"
1654
                  icon="icons/functions/save.png"
1655
                  label="%command.label.151"
1656
                  style="push">
1657
               <visibleWhen
1658
                     checkEnabled="false">
1659
                  <reference
1660
                        definitionId="NeedToSaveAnnotations">
1661
                  </reference>
1662
               </visibleWhen>
1663
            </command>
1664 1458
         </toolbar>
1665 1459
         <separator
1666 1460
               name="org.txm.rcp.toolbar.separator1"
......
1949 1743
         <toolbar
1950 1744
               id="org.txm.rcp.toolbarscript">
1951 1745
            <command
1952
                  commandId="org.txm.rcp.commands.R.OpenEmptyEditor"
1953
                  label="%command.label.142"
1954
                  style="push"
1955
                  tooltip="%command.tooltip.84">
1956
               <visibleWhen
1957
                     checkEnabled="false">
1958
                  <reference
1959
                        definitionId="RPerspectiveSelected">
1960
                  </reference>
1961
               </visibleWhen>
1962
            </command>
1963
            <command
1964 1746
                  commandId="org.txm.rcp.commands.ExecuteScript"
1965 1747
                  icon="icons/functions/run.png"
1966 1748
                  label="%command.label.170"
......
2013 1795
         </separator>
2014 1796
          <toolbar
2015 1797
               id="org.txm.rcp.toolbarfile">
2016
            <command
2017
                  commandId="org.txm.rcp.commands.base.ExportCorpus"
2018
                  icon="icons/functions/Compress.png"
2019
                  label="%command.name.52"
2020
                  style="push"
2021
                  tooltip="%command.tooltip.71">
2022
               <visibleWhen
2023
                     checkEnabled="false">
2024
                  <reference
2025
                        definitionId="OneMainCorpusSelected">
2026
                  </reference>
2027
               </visibleWhen>
2028
            </command>
2029 1798
         </toolbar>
2030 1799
      </menuContribution>
2031 1800
      <menuContribution
......
2177 1946
               id="corporaview.menu.file.export"
2178 1947
               label="%menu.label.5">
2179 1948
            <command
2180
                  commandId="org.txm.rcp.commands.base.ExportCorpus"
2181
                  icon="icons/functions/Compress.png"
2182
                  label="%command.name.52"
2183
                  style="push"
2184
                  tooltip="%command.tooltip.67">
2185
               <visibleWhen
2186
                     checkEnabled="false">
2187
                  <reference
2188
                        definitionId="OneMainCorpusSelected">
2189
                  </reference>
2190
               </visibleWhen>
2191
            </command>
2192
            <command
2193
                  commandId="org.txm.rcp.commands.annotation.ExportStandoff"
2194
                  label="%command.label.193"
2195
                  style="push">
2196
               <visibleWhen
2197
                     checkEnabled="false">
2198
                  <reference
2199
                        definitionId="OneMainCorpusSelected">
2200
                  </reference>
2201
               </visibleWhen>
2202
            </command>
2203
            <command
2204 1949
                  commandId="org.txm.rcp.commands.function.ExportResult"
2205 1950
                  icon="icons/functions/export_data.png"
2206 1951
                  label="%command.label.51"
......
2284 2029
            </visibleWhen>
2285 2030
         </command>
2286 2031
         <command
2287
               commandId="org.txm.rcp.commands.function.ComputeInternalView"
2288
               icon="icons/functions/InternalView.png"
2289
               label="%command.label.185"
2290
               style="push"
2291
               tooltip="%command.tooltip.59">
2292
            <visibleWhen
2293
                  checkEnabled="false">
2294
               <reference
2295
                     definitionId="OneCorpusSelected">
2296
               </reference>
2297
            </visibleWhen>
2298
         </command>
2299
         <command
2300 2032
               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
2301 2033
               icon="icons/functions/Delete.png"
2302 2034
               label="%command.label.65"
......
2336 2068
               name="org.txm.rcp.separator52"
2337 2069
               visible="true">
2338 2070
         </separator>
2339
         <command
2340
               commandId="org.txm.rcp.commands.base.CreateSubCorpus"
2341
               icon="icons/functions/SubCorpus.png"
2342
               label="%command.label.7"
2343
               style="push"
2344
               tooltip="%command.tooltip.3">
2345
            <visibleWhen
2346
                  checkEnabled="false">
2347
               <reference
2348
                     definitionId="OneCorpusSelected">
2349
               </reference>
2350
            </visibleWhen>
2351
         </command>
2352
         <command
2353
               commandId="org.txm.rcp.commands.base.CreatePartition"
2354
               icon="icons/functions/Partition.png"
2355
               label="%command.label.8"
2356
               style="push"
2357
               tooltip="%command.tooltip.4">
2358
            <visibleWhen
2359
                  checkEnabled="false">
2360
               <reference
2361
                     definitionId="OneCorpusSelected">
2362
               </reference>
2363
            </visibleWhen>
2364
         </command>
2365
        
2366 2071
         <separator
2367 2072
               name="org.txm.rcp.separator53"
2368 2073
               visible="true">
......
2373 2078
               visible="true">
2374 2079
         </separator>
2375 2080
         <separator
2376
               name="org.txm.rcp.separator55"
2081
               name="org.txm.rcp.views.corpora.CorporaView.annotation"
2377 2082
               visible="true">
2378 2083
         </separator>
2379
         <command
2380
               commandId="org.txm.rcp.commands.annotation.SaveAnnotations"
2381
               icon="icons/functions/save.png"
2382
               label="%command.label.154"
2383
               style="push">
2384
            <visibleWhen
2385
                  checkEnabled="false">
2386
               <reference
2387
                     definitionId="NeedToSaveAnnotations">
2388
               </reference>
2389
            </visibleWhen>
2390
         </command>
2391 2084
      </menuContribution>
2392 2085
      <menuContribution
2393 2086
            locationURI="popup:org.txm.rcp.views.BasesView">
......
2455 2148
               </or>
2456 2149
            </visibleWhen>
2457 2150
         </command>
2458
         <command
2459
               commandId="org.txm.rcp.commands.base.OpenBiblio"
2460
               icon="icons/functions/Biblio.png"
2461
               label="%command.label.148"
2462
               style="push"
2463
               tooltip="%command.tooltip.91">
2464
            <visibleWhen
2465
                  checkEnabled="false">
2466
               <or>
2467
                  <reference
2468
                        definitionId="OneBaseSelected">
2469
                  </reference>
2470
                  <reference
2471
                        definitionId="OneTextSelected">
2472
                  </reference>
2473
               </or>
2474
            </visibleWhen>
2475
         </command>
2151
        
2476 2152
      </menuContribution>
2153

  
2477 2154
      <menuContribution
2478
            locationURI="popup:org.txm.rcp.editors.index.IndexEditor">
2479
         <command
2480
               commandId="org.txm.rcp.commands.link.IndexToConcordance"
2481
               label="%command.label.73"
2482
               style="push">
2483
         </command>
2484
         <command
2485
               commandId="org.txm.rcp.commands.link.IndexToCooccurrence"
2486
               label="%command.label.149"
2487
               style="push">
2488
         </command>
2489
         <command
2490
               commandId="org.txm.rcp.commands.link.IndexToProgression"
2491
               label="%command.label.99"
2492
               style="push">
2493
         </command>
2494
      </menuContribution>
2495
      <menuContribution
2496
            locationURI="popup:org.txm.rcp.editors.TableEditor">
2497
         <command
2498
               commandId="org.txm.rcp.commands.link.TextToConcordance"
2499
               label="%command.label.74"
2500
               style="push">
2501
         </command>
2502
      </menuContribution>
2503
      <menuContribution
2504 2155
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2505 2156
         <command
2506 2157
               commandId="org.txm.rcp.commands.function.ExportSVG"
......
2556 2207
         </command>
2557 2208
      </menuContribution>
2558 2209
      <menuContribution
2559
            locationURI="popup:org.txm.rcp.views.RVariablesView">
2560
         <command
2561
               commandId="org.txm.rcp.commands.R.CopySelection"
2562
               label="%command.label.129"
2563
               style="push"
2564
               tooltip="%command.label.129">
2565
         </command>
2566
      </menuContribution>
2567
      <menuContribution
2568 2210
            locationURI="popup:org.txm.rcp.editors.internal.InternalViewEditor">
2569 2211
         <command
2570 2212
               commandId="org.txm.rcp.commands.link.ToConcordance"
......
2691 2333
            </visibleWhen>
2692 2334
         </command>
2693 2335
      </menuContribution>
2694
      <menuContribution
2695
            locationURI="popup:org.txm.rcp.editors.TXMBrowser">
2696
         <command
2697
               commandId="org.txm.rcp.commands.link.TextToConcordance"
2698
               label="%command.label.73"
2699
               style="push">
2700
         </command>
2701
         <command
2702
               commandId="org.txm.rcp.commands.editor.Copy"
2703
               label="%command.label.19">
2704
         </command>
2705
      </menuContribution>
2706
      <menuContribution
2707
            locationURI="popup:org.txm.rcp.views.knowledgerepositories.KRView">
2708
         <command
2709
               commandId="org.txm.rcp.commands.krview.Copy"
2710
               label="%command.label.188"
2711
               style="push"
2712
               tooltip="%command.tooltip.89">
2713
         </command>
2714
         <command
2715
               commandId="org.txm.rcp.commands.krview.Reload"
2716
               label="%command.label.189"
2717
               style="push"
2718
               tooltip="%command.tooltip.90">
2719
            <visibleWhen
2720
                  checkEnabled="false">
2721
               <reference
2722
                     definitionId="OneKRSelected">
2723
               </reference>
2724
            </visibleWhen>
2725
         </command>
2726
         <command
2727
               commandId="org.txm.rcp.commands.krview.Informations"
2728
               label="%command.label.190"
2729
               style="push"
2730
               tooltip="%command.tooltip.93">
2731
         </command>
2732
         <command
2733
               commandId="org.txm.rcp.commands.krview.Add"
2734
               label="%command.label.191"
2735
               style="push"
2736
               tooltip="%command.tooltip.94">
2737
            <visibleWhen
2738
                  checkEnabled="false">
2739
               <or>
2740
                  <reference
2741
                        definitionId="OneLocalKRSelected">
2742
                  </reference>
2743
                  <reference
2744
                        definitionId="OneAnnotationTypeSelected">
2745
                  </reference>
2746
               </or>
2747
            </visibleWhen>
2748
         </command>
2749
         <command
2750
               commandId="org.txm.rcp.commands.krview.Delete"
2751
               label="%command.label.192"
2752
               style="push"
2753
               tooltip="%command.tooltip.95">
2754
            <visibleWhen
2755
                  checkEnabled="false">
2756
               <or>
2757
                  <reference
2758
                        definitionId="OneAnnotationTypeSelected">
2759
                  </reference>
2760
                  <reference
2761
                        definitionId="OneTypedValueSelected">
2762
                  </reference>
2763
               </or>
2764
            </visibleWhen>
2765
         </command>
2766
      </menuContribution>
2767 2336
   </extension>
2768 2337
   <extension
2769 2338
         id="general"
......
2840 2409
            name="%command.name.28">
2841 2410
      </command>
2842 2411
      <command
2843
            defaultHandler="org.txm.rcp.commands.base.OpenEdition"
2844
            id="org.txm.rcp.commands.base.OpenEdition"
2845
            name="%command.name.29">
2846
      </command>
2847
      <command
2848 2412
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2849 2413
            id="org.txm.rcp.commands.changelanguage"
2850 2414
            name="%command.name.31">
......
2860 2424
            id="org.txm.rcp.commands.CreateFolder"
2861 2425
            name="%command.name.48">
2862 2426
      </command>
2863

  
2864 2427
      <command
2865
            defaultHandler="org.txm.rcp.commands.base.ExportCorpus"
2866
            id="org.txm.rcp.commands.base.ExportCorpus"
2867
            name="%command.name.52">
2868
      </command>
2869
      
2870
      <command
2871
            defaultHandler="org.txm.rcp.commands.R.OpenEmptyEditor"
2872
            id="org.txm.rcp.commands.R.OpenEmptyEditor"
2873
            name="%command.name.59">
2874
      </command>
2875
      <command
2876
            defaultHandler="org.txm.rcp.commands.R.Submit"
2877
            id="org.txm.rcp.commands.R.Submit"
2878
            name="%command.name.60">
2879
      </command>
2880
      <command
2881
            defaultHandler="org.txm.rcp.commands.R.ShowSvgHelp"
2882
            id="org.txm.rcp.commands.R.ShowSvgHelp"
2883
            name="%command.name.61">
2884
      </command>
2885
      <command
2886 2428
            categoryId="org.eclipse.ui.category.edit"
2887 2429
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2888 2430
            id="org.txm.rcp.commands.OpenImportForm"
......
2894 2436
         </commandParameter>
2895 2437
      </command>
2896 2438
      <command
2897
            categoryId="org.eclipse.ui.category.navigate"
2898
            defaultHandler="org.txm.rcp.commands.base.OpenBiblio"
2899
            id="org.txm.rcp.commands.base.OpenBiblio"
2900
            name="%command.name.63">
2901
      </command>
2902
      <command
2903 2439
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyScriptFromFile"
2904 2440
            id="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
2905 2441
            name="%command.name.66">
......
2968 2504
            name="%command.name.72">
2969 2505
      </command>
2970 2506
      <command
2971
            categoryId="org.txm.rcp.category.txm"
2972
            defaultHandler="org.txm.rcp.commands.function.ComputeInternalView"
2973
            id="org.txm.rcp.commands.function.ComputeInternalView"
2974
            name="%command.name.73">
2975
      </command>
2976
      <command
2977 2507
            categoryId="org.eclipse.ui.category.navigate"
2978 2508
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2979 2509
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
......
3040 2570
      </command>
3041 2571
      <command
3042 2572
            categoryId="org.txm.rcp.category.txm"
3043
            defaultHandler="org.txm.rcp.commands.annotation.SaveAnnotations"
3044
            id="org.txm.rcp.commands.annotation.SaveAnnotations"
3045
            name="%command.name.97">
3046
      </command>
3047
      <command
3048
            categoryId="org.txm.rcp.category.txm"
3049 2573
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
3050 2574
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
3051 2575
            name="%command.name.98">
3052 2576
      </command>
2577

  
3053 2578
      <command
3054
            defaultHandler="org.txm.rcp.commands.krview.OpenKRView"
3055
            id="org.txm.rcp.commands.krview.OpenKRView"
3056
            name="%command.name.99">
3057
      </command>
3058
      <command
3059
            categoryId="org.txm.rcp.category.txm"
3060
            defaultHandler="org.txm.rcp.commands.workspace.RecodeCorpus"
3061
            id="org.txm.rcp.commands.workspace.RecodeCorpus"
3062
            name="%command.name.100">
3063
      </command>
3064
      <command
3065 2579
            categoryId="org.eclipse.ui.category.edit"
3066 2580
            defaultHandler="org.txm.rcp.commands.EditSelectedFile"
3067 2581
            id="org.txm.rcp.commands.EditSelectedFile"
......
3078 2592
         id="commands"
3079 2593
         name="commands"
3080 2594
         point="org.eclipse.ui.commands">
3081
         <command
3082
            defaultHandler="org.txm.rcp.commands.base.CreateSubCorpus"
3083
            id="org.txm.rcp.commands.base.CreateSubCorpus"
3084
            name="%command.name.1">
3085
      </command>
3086 2595
      <command
3087
            defaultHandler="org.txm.rcp.commands.base.CreatePartition"
3088
            id="org.txm.rcp.commands.base.CreatePartition"
3089
            name="%command.name.2">
3090
         <commandParameter
3091
               id="CorpusParameter"
3092
               name="%commandParameter.name.0"
3093
               optional="true">
3094
         </commandParameter>
3095
      </command>
3096
      <command
3097 2596
            defaultHandler="org.txm.rcp.commands.function.ComputeDiagnostic"
3098 2597
            id="org.txm.rcp.commands.base.Diagnostique"
3099 2598
            name="%command.name.23">
......
3120 2619
            id="org.txm.rcp.commands.function.ExportSVG"
3121 2620
            name="%command.name.34">
3122 2621
      </command>
3123
         <command
3124
            categoryId="org.txm.rcp.category.txm"
3125
            defaultHandler="org.txm.rcp.commands.function.ComputeInterTextDistance"
3126
            id="org.txm.rcp.commands.function.ComputeInterTextDistance"
3127
            name="%command.name.81">
3128
      </command>
3129 2622
   </extension>
3130 2623
   <extension
3131 2624
         id="links"
3132 2625
         name="links"
3133 2626
         point="org.eclipse.ui.commands">
2627

  
3134 2628
      <command
3135
            defaultHandler="org.txm.rcp.commands.link.IndexToConcordance"
3136
            id="org.txm.rcp.commands.link.IndexToConcordance"
3137
            name="%command.label.73">
3138
      </command>
3139
      <command
3140
            categoryId="org.txm.rcp.category.txm"
3141
            defaultHandler="org.txm.rcp.commands.link.CooccurrencesToConcordances"
3142
            id="org.txm.rcp.commands.link.CooccurrencesToConcordances"
3143
            name="%command.label.102">
3144
      </command>
3145
      <command
3146
            categoryId="org.txm.rcp.category.txm"
3147
            defaultHandler="org.txm.rcp.commands.link.IndexToProgression"
3148
            id="org.txm.rcp.commands.link.IndexToProgression"
3149
            name="%command.label.103">
3150
      </command>
3151
      <command
3152
            defaultHandler="org.txm.rcp.commands.link.IndexToLexicalTable"
3153
            id="org.txm.rcp.commands.link.IndexToLexicalTable"
3154
            name="%command.name.43">
3155
      </command>
3156
      <command
3157
            defaultHandler="org.txm.rcp.commands.link.LexiconToIndex"
3158
            id="org.txm.rcp.commands.link.LexiconToIndex"
3159
            name="%command.label.128">
3160
      </command>
3161
      <command
3162
            defaultHandler="org.txm.rcp.commands.link.IndexToCooccurrence"
3163
            id="org.txm.rcp.commands.link.IndexToCooccurrence"
3164
            name="%command.name.65">
3165
      </command>
3166
      <command
3167
            defaultHandler="org.txm.rcp.commands.link.TextToConcordance"
3168
            id="org.txm.rcp.commands.link.TextToConcordance"
3169
            name="%command.name.96">
3170
      </command>
3171
      <command
3172 2629
            defaultHandler="org.txm.rcp.commands.editor.Copy"
3173 2630
            id="org.txm.rcp.commands.editor.Copy"
3174 2631
            name="%command.name.55">
......
3229 2686
            name="%command.name.56">
3230 2687
      </command>
3231 2688
      <command
3232
            defaultHandler="org.txm.rcp.commands.R.CopySelection"
3233
            id="org.txm.rcp.commands.R.CopySelection"
3234
            name="%command.name.64">
3235
      </command>
3236
      <command
3237 2689
            defaultHandler="org.txm.rcp.commands.DownloadFile"
3238 2690
            id="org.txm.rcp.commands.DownloadFile"
3239 2691
            name="%command.name.91">
3240 2692
      </command>
3241 2693
      <command
3242
            defaultHandler="org.txm.rcp.commands.krview.Copy"
3243
            id="org.txm.rcp.commands.krview.Copy"
3244
            name="%command.name.101">
3245
      </command>
3246
      <command
3247
            defaultHandler="org.txm.rcp.commands.krview.Reload"
3248
            id="org.txm.rcp.commands.krview.Reload"
3249
            name="%command.name.102">
3250
      </command>
3251
      <command
3252
            defaultHandler="org.txm.rcp.commands.krview.Informations"
3253
            id="org.txm.rcp.commands.krview.Informations"
3254
            name="%command.name.103">
3255
      </command>
3256
      <command
3257
            defaultHandler="org.txm.rcp.commands.krview.Delete"
3258
            id="org.txm.rcp.commands.krview.Delete"
3259
            name="%command.name.104">
3260
      </command>
3261
      <command
3262
            defaultHandler="org.txm.rcp.commands.krview.Add"
3263
            id="org.txm.rcp.commands.krview.Add"
3264
            name="%command.name.105">
3265
      </command>
3266
      <command
3267
            defaultHandler="org.txm.rcp.commands.annotation.ExportStandoff"
3268
            id="org.txm.rcp.commands.annotation.ExportStandoff"
3269
            name="%command.name.107">
3270
      </command>
3271
      <command
3272 2694
            defaultHandler="org.txm.rcp.handlers.CloneTXMResult"
3273 2695
            id="CloneTXMResult"
3274 2696
            name="Clone result">
......
3523 2945
               </with>
3524 2946
            </definition>
3525 2947
            <definition
3526
                  id="OneKRSelected">
3527
               <with
3528
                     variable="selection">
3529
                  <iterate
3530
                        ifEmpty="false"
3531
                        operator="and">
3532
                     <instanceof
3533
                           value="org.txm.annotation.KnowledgeRepository">
3534
                     </instanceof>
3535
                  </iterate>
3536
               </with>
3537
            </definition>
3538
            <definition
3539
                  id="OneLocalKRSelected">
3540
               <with
3541
                     variable="selection">
3542
                  <iterate
3543
                        ifEmpty="false"
3544
                        operator="and">
3545
                     <instanceof
3546
                           value="org.txm.annotation.repository.LocalKnowledgeRepository">
3547
                     </instanceof>
3548
                  </iterate>
3549
               </with>
3550
            </definition>
3551
            <definition
3552
                  id="OneAnnotationTypeSelected">
3553
               <with
3554
                     variable="selection">
3555
                  <iterate
3556
                        ifEmpty="false"
3557
                        operator="and">
3558
                     <instanceof
3559
                           value="org.txm.annotation.repository.AnnotationType">
3560
                     </instanceof>
3561
                  </iterate>
3562
               </with>
3563
            </definition>
3564
            <definition
3565
                  id="OneTypedValueSelected">
3566
               <with
3567
                     variable="selection">
3568
                  <iterate
3569
                        ifEmpty="false"
3570
                        operator="and">
3571
                     <instanceof
3572
                           value="org.txm.annotation.repository.TypedValue">
3573
                     </instanceof>
3574
                  </iterate>
3575
               </with>
3576
            </definition>
3577
            <definition
3578 2948
                  id="NeedToSaveAnnotations">
3579 2949
               <test
3580 2950
                     forcePluginActivation="true"
......
3715 3085
            parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
3716 3086
      </scheme>
3717 3087
      <key
3718
            commandId="org.txm.rcp.commands.krview.Add"
3719
            contextId="org.txm.rcp.annotation.krview"
3720
            schemeId="org.txm.rcp.scheme"
3721
            sequence="Ctrl+A">
3722
      </key>
3723
      <key
3724
            commandId="org.txm.rcp.commands.krview.Reload"
3725
            contextId="org.txm.rcp.annotation.krview"
3726
            schemeId="org.txm.rcp.scheme"
3727
            sequence="Ctrl+R">
3728
      </key>
3729
      <key
3730
            commandId="org.txm.rcp.commands.krview.Informations"
3731
            contextId="org.txm.rcp.annotation.krview"
3732
            schemeId="org.txm.rcp.scheme"
3733
            sequence="Ctrl+I">
3734
      </key>
3735
      <key
3736
            commandId="org.txm.rcp.commands.krview.Copy"
3737
            contextId="org.txm.rcp.annotation.krview"
3738
            schemeId="org.txm.rcp.scheme"
3739
            sequence="Ctrl+C">
3740
      </key>
3741
      <key
3742
            commandId="org.txm.rcp.commands.krview.Delete"
3743
            contextId="org.txm.rcp.annotation.krview"
3744
            schemeId="org.txm.rcp.scheme"
3745
            sequence="Ctrl+D">
3746
      </key>
3747
      <key
3748 3088
            commandId="org.txm.rcp.commands.ReloadCorporaView"
3749 3089
            contextId="org.txm.rcp.views.corpora.CorporaView"
3750 3090
            schemeId="org.txm.rcp.scheme"
......
3773 3113
      </theme>
3774 3114
   </extension>
3775 3115
   <extension
3776
         point="org.eclipse.ui.newWizards">
3777
      <category
3778
            id="org.txm.rcp.wizard.new"
3779
            name="%category.name.1">
3780
      </category>
3781
      <wizard
3782
            category="org.txm.rcp.wizard.new"
3783
            class="org.txm.rcp.wizard.NewCorpusWizard"
3784
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3785
            icon="icons/objects/books.png"
3786
            id="org.txm.rcp.wizard.corpus"
3787
            name="%wizard.name"
3788
            project="true">
3789
         <description>
3790
            %wizard.description
3791
         </description>
3792
      </wizard>
3793
   </extension>
3794
   <extension
3795
         point="org.eclipse.ui.exportWizards">
3796
      <wizard
3797
            category="org.txm.rcp.wizard.export"
3798
            class="org.txm.rcp.wizard.ExportCorpusWizard"
3799
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3800
            icon="icons/functions/Compress.png"
3801
            id="org.txm.rcp.wizard.corpus"
3802
            name="%wizard.name.0"
3803
            project="true">
3804
         <description>
3805
            %wizard.description.0
3806
         </description>
3807
      </wizard>
3808
      <category
3809
            id="org.txm.rcp.wizard.export"
3810
            name="%category.name.2">
3811
      </category>
3812
   </extension>
3813
   <extension
3814
         point="org.eclipse.ui.importWizards">
3815
      <wizard
3816
            category="org.txm.rcp.wizard.import"
3817
            class="org.txm.rcp.wizard.ImportCorpusWizard"
3818
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3819
            icon="icons/objects/corpus.png"
3820
            id="org.txm.rcp.wizard.corpus"
3821
            name="%wizard.name.1"
3822
            project="true">
3823
         <description>
3824
            %wizard.description.1
3825
         </description>
3826
      </wizard>
3827
      <category
3828
            id="org.txm.rcp.wizard.import"
3829
            name="%category.name.3">
3830
      </category>
3831
   </extension>
3832
   <extension
3833 3116
         point="org.eclipse.ui.contexts">
3834 3117
      <context
3835
            description="%context.description"
3836
            id="org.txm.rcp.annotation.krview"
3837
            name="%context.name">
3838
      </context>
3839
      <context
3840 3118
            description="Corpora view"
3841 3119
            id="org.txm.rcp.views.corpora.CorporaView"
3842 3120
            name="Corpora view">

Also available in: Unified diff