Révision 3534 TXM/trunk/org.txm.rcp/plugin.xml

plugin.xml (revision 3534)
351 351
                  icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png"
352 352
                  id="menu.file.import"
353 353
                  label="%menu.label.0">
354
               <command
354
               <menu
355
                     icon="icons/objects/corpus.png"
356
                     id="menu.file.import.corpus"
357
                     label="Corpus">
358
                <command
355 359
                     commandId="org.txm.rcp.commands.ImportClipboardText"
356 360
                     label="%command.label.60"
357 361
                     style="push"
......
523 527
                     name="menu.file.import.separator.end"
524 528
                     visible="true">
525 529
               </separator>
530
               </menu>
526 531
               <menu
527 532
                     id="menu.file.import.properties"
528 533
                     label="%menu.label.17">
......
542 547
                     id="menu.file.import.annotations"
543 548
                     label="%menu.label.15">
544 549
               </menu>
550
               <command
551
                     commandId="org.txm.rcp.handlers.export.ImportResultParameters"
552
                     icon="icons/functions/import_parameters.png"
553
                     label="Results..."
554
                     style="push">
555
                  <visibleWhen
556
                        checkEnabled="false">
557
                     <and>
558
                        <reference
559
                              definitionId="OneTXMResultSelected">
560
                        </reference>
561
                     </and>
562
                  </visibleWhen>
563
               </command>
545 564
            </menu>
546 565
            <menu
547 566
                  id="menu.file.load"
......
630 649
                     </and>
631 650
                  </visibleWhen>
632 651
               </command>
652
               <command
653
                     commandId="org.txm.rcp.handlers.export.ExportResultParameters"
654
                     icon="icons/functions/export_parameters.png"
655
                     label="Results..."
656
                     style="push">
657
                  <visibleWhen
658
                        checkEnabled="false">
659
                     <and>
660
                        <reference
661
                              definitionId="OneTXMResultSelected">
662
                        </reference>
663
                        <not>
664
                           <reference
665
                                 definitionId="OneMainCorpusSelected">
666
                           </reference>
667
                        </not>
668
                     </and>
669
                  </visibleWhen>
670
               </command>
633 671
            </menu>
634 672
            <separator
635 673
                  name="menu.file.separator.file"
......
1489 1527
         <toolbar
1490 1528
               id="org.txm.rcp.toolbars.result">
1491 1529
            <command
1530
                  commandId="org.txm.rcp.handlers.export.ImportResultParameters"
1531
                  icon="icons/functions/import_parameters.png"
1532
                  label="Import results"
1533
                  style="push">
1534
               <visibleWhen
1535
                     checkEnabled="false">
1536
                  <and>
1537
                     <reference
1538
                           definitionId="OneTXMResultSelected">
1539
                     </reference>
1540
                  </and>
1541
               </visibleWhen>
1542
            </command>
1543
            <command
1492 1544
                  commandId="org.txm.rcp.commands.function.ExportResult"
1493 1545
                  icon="icons/functions/export_data.png"
1494 1546
                  label="%command.label.51"
......
1512 1564
                  </and>
1513 1565
               </visibleWhen>
1514 1566
            </command>
1567
            <command
1568
                  commandId="org.txm.rcp.handlers.export.ExportResultParameters"
1569
                  icon="icons/functions/export_parameters.png"
1570
                  label="Export results..."
1571
                  style="push">
1572
               <visibleWhen
1573
                     checkEnabled="false">
1574
                  <and>
1575
                     <reference
1576
                           definitionId="OneTXMResultSelected">
1577
                     </reference>
1578
                     <not>
1579
                        <reference
1580
                              definitionId="OneMainCorpusSelected">
1581
                        </reference>
1582
                     </not>
1583
                  </and>
1584
               </visibleWhen>
1585
            </command>
1515 1586
         </toolbar>
1516 1587
         <separator
1517 1588
               name="org.txm.rcp.toolbar.separator1"
......
2055 2126
                        </and>
2056 2127
                     </visibleWhen>
2057 2128
                  </command>
2129
                  <command
2130
                        commandId="org.txm.rcp.handlers.export.ExportResultParameters"
2131
                        icon="icons/functions/export_parameters.png"
2132
                        label="Results..."
2133
                        style="push">
2134
                     <visibleWhen
2135
                           checkEnabled="false">
2136
                        <and>
2137
                           <reference
2138
                                 definitionId="OneTXMResultSelected">
2139
                           </reference>
2140
                           <not>
2141
                              <reference
2142
                                    definitionId="OneMainCorpusSelected">
2143
                              </reference>
2144
                           </not>
2145
                        </and>
2146
                     </visibleWhen>
2147
                  </command>
2058 2148
               </menu>
2149
            <command
2150
                  commandId="org.txm.rcp.handlers.export.ImportResultParameters"
2151
                  icon="icons/functions/import_parameters.png"
2152
                  label="Import results"
2153
                  style="push">
2154
               <visibleWhen
2155
                     checkEnabled="false">
2156
                  <and>
2157
                     <reference
2158
                           definitionId="OneTXMResultSelected">
2159
                     </reference>
2160
                  </and>
2161
               </visibleWhen>
2162
            </command>
2059 2163
            
2060 2164
            <separator
2061 2165
                  name="org.txm.rcp.corporaview.corpus"
......
2117 2221
                  </and>
2118 2222
               </visibleWhen>
2119 2223
            </command>
2120
            <command
2121
                  commandId="org.txm.rcp.commands.function.RenameResult"
2122
                  label="%command.label.26"
2123
                  style="push">
2124
               <visibleWhen
2125
                     checkEnabled="false">
2126
                  <reference
2127
                        definitionId="OneTXMResultSelected">
2128
                  </reference>
2129
               </visibleWhen>
2130
            </command>
2131 2224
            
2132 2225
            <command
2133 2226
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
......
2143 2236
               </visibleWhen>
2144 2237
            </command>
2145 2238
            <command
2239
                  commandId="org.txm.rcp.commands.function.RenameResult"
2240
                  label="%command.label.26"
2241
                  style="push">
2242
               <visibleWhen
2243
                     checkEnabled="false">
2244
                  <reference
2245
                        definitionId="OneTXMResultSelected">
2246
                  </reference>
2247
               </visibleWhen>
2248
            </command>
2249
            <command
2146 2250
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
2147 2251
                  label="%command.label.372"
2148 2252
                  style="push">

Formats disponibles : Unified diff