Project

General

Profile

« Previous | Next » 

Revision 82ef24f3

Added by Patrick Plitzner over 8 years ago

Listen to selection changes in DerivativeEditor

  • Convert to ViewPart
  • Add toolbar button to toggle listening to selection changes

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
1038 1038
            </visibleWhen>
1039 1039
         </command>
1040 1040
      </menuContribution>
1041
      <menuContribution
1042
            allPopups="false"
1043
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
1044
         <command
1045
               commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1046
               label="%command.label.55"
1047
               style="push">
1048
            <visibleWhen
1049
                  checkEnabled="false">
1050
               <and>
1051
                  <reference
1052
                        definitionId="isCdmStoreConnected">
1053
                  </reference>
1054
                  <reference
1055
                        definitionId="isTaxonNode">
1056
                  </reference>
1057
               </and>
1058
            </visibleWhen>
1059
         </command>
1060
         <separator
1061
               name="eu.etaxonomy.taxeditor.editor.separator1"
1062
               visible="true">
1063
         </separator>
1064
      </menuContribution>
1065 1041
      <menuContribution
1066 1042
            allPopups="false"
1067 1043
            locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
......
1072 1048
               tooltip="%command.tooltip">
1073 1049
         </command>
1074 1050
      </menuContribution>
1051
      <menuContribution
1052
            allPopups="false"
1053
            locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1054
         <command
1055
               commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1056
               label="Link with Editor"
1057
               style="push">
1058
         </command>
1059
      </menuContribution>
1075 1060
   </extension>
1076 1061
   <extension
1077 1062
         point="org.eclipse.ui.handlers">
......
1556 1541
               typeId="eu.etaxonomy.taxeditor.specimenUuidParameterType">
1557 1542
         </commandParameter>
1558 1543
      </command>
1544
      <command
1545
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1546
            id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1547
            name="Link with editor">
1548
      </command>
1559 1549
        
1560 1550
   </extension>
1561 1551
   <extension

Also available in: Unified diff