Project

General

Profile

« Previous | Next » 

Revision d2ea9779

Added by Patrick Plitzner almost 8 years ago

Convert DerivateView to an EditorPart

View differences:

eu.etaxonomy.taxeditor.editor/plugin.xml
76 76
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
77 77
            name="%editor.name.8">
78 78
      </editor>
79
         <editor
80
               class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
81
               default="false"
82
               icon="icons/derivate_view-16x16-32.png"
83
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
84
               name="Derivative Editor">
85
         </editor>
79 86
   </extension>
80 87
      <extension
81 88
            point="org.eclipse.ui.views">
......
145 152
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
146 153
               name="%view.name.6">
147 154
         </view>
148
         <view
149
               class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
150
               icon="icons/derivate_view-16x16-32.png"
151
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
152
               name="Derivative Editor"
153
               restorable="true">
154
         </view>
155 155
      </extension>
156 156
      
157 157
	<!-- VALIDATION RELATED STUFF -->
......
720 720
               </or>
721 721
            </visibleWhen>
722 722
         </menu>
723
         <separator
724
               name="taxeditor-editor.separator1"
725
               visible="true">
726
         </separator>
727
         <command
728
               commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
729
               label="%command.label.51"
730
               style="push">
731
            <visibleWhen
732
                  checkEnabled="true">
733
               <and>
734
                  <with
735
                        variable="selection">
736
                     <count
737
                           value="+">
738
                     </count>
739
                  </with>
740
                  <reference
741
                        definitionId="isIndividualsAssociation">
742
                  </reference>
743
               </and>
744
            </visibleWhen>
745
         </command>
746 723
         <command
747 724
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
748 725
               label="%command.label.28"
......
1143 1120
            </with>
1144 1121
         </activeWhen>
1145 1122
      </handler>
1146
      <handler
1147
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1148
            commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1149
         <activeWhen>
1150
            <with
1151
                  variable="activePartId">
1152
               <equals
1153
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
1154
               </equals>
1155
            </with>
1156
         </activeWhen>
1157
      </handler>
1158 1123
      <handler
1159 1124
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1160 1125
            commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
......
1461 1426
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1462 1427
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1463 1428
            name="%command.name.34">
1464
      </command>
1465
      <command
1466
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1467
            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1468
            name="%command.name.35">
1469 1429
      </command>
1470 1430
       <command
1471 1431
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"

Also available in: Unified diff