Project

General

Profile

« Previous | Next » 

Revision 8f065066

Added by Patrick Plitzner almost 8 years ago

Move "link with taxon selection" action to main toolbar

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
1011 1011
      </menuContribution>
1012 1012
      <menuContribution
1013 1013
            allPopups="false"
1014
            locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1015
         <command
1016
               commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1017
               icon="icons/synced.gif"
1018
               label="Link with Taxon Editor"
1019
               style="toggle">
1020
            <visibleWhen
1021
                  checkEnabled="false">
1022
               <reference
1023
                     definitionId="isCdmStoreConnected">
1024
               </reference>
1025
            </visibleWhen>
1026
         </command>
1014
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
1015
         <toolbar
1016
               id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
1017
            <command
1018
                  commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1019
                  icon="icons/synced.gif"
1020
                  label="Link with Taxon Selection"
1021
                  style="toggle">
1022
               <visibleWhen
1023
                     checkEnabled="true">
1024
                  <with
1025
                        variable="activePartId">
1026
                     <equals
1027
                           value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1028
                     </equals>
1029
                  </with>
1030
               </visibleWhen>
1031
            </command>
1032
         </toolbar>
1027 1033
      </menuContribution>
1028 1034
   </extension>
1029 1035
   <extension
......
1490 1496
      <command
1491 1497
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1492 1498
            id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1493
            name="Link with editor">
1499
            name="Link with taxon selection">
1494 1500
      </command>
1495 1501
        
1496 1502
   </extension>

Also available in: Unified diff