- moved the "Add..." menu to the bottom because otherwise it corrupts the context...
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
index 53080cc47d69177e2a1509e581dcb603f1e19765..83b8d25e3ccb2ddc25bbb73242bd2ae515a7cfd4 100644 (file)
       </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
-         <dynamic
-               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
-               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
-         </dynamic>
          <command
                commandId="org.eclipse.ui.edit.delete"
                label="Delete"
                label="Delete (with children)"
                style="push">
          </command>
+         <dynamic
+               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
+               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
+         </dynamic>
       </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
             class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
             commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
       </handler>
+      <handler
+            class="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
+            commandId="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler">
+      </handler>
    </extension>
    <extension
          name="%extension.name"
             id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
             name="Deep Delete">
       </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
+            id="eu.etaxonomy.taxeditor.editor.handler.OpenFixClassificationHierarchyHandler"
+            name="Fix Classification Hierarchy">
+      </command>
    </extension>
    <extension
          point="org.eclipse.core.expressions.definitions">