Implemented drag and drop for description elements as well as the functionality to...
[taxeditor.git] / taxeditor-editor / plugin.xml
index 0d4e2910a755a32adc0bd370afe3f1463e0a1a39..4761ae8c174a2485e490782909c4c3b831a0bc1f 100644 (file)
                   name="taxeditor-editor.separator1"
                   visible="true">
             </separator>
+            <command
+                  commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
+                  label="Move Elements"
+                  style="push">
+               <visibleWhen
+                     checkEnabled="true">
+                  <reference
+                        definitionId="isDescriptionElement">
+                  </reference>
+               </visibleWhen>
+            </command>
             <separator
                   name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
                   visible="true">
                id="eu.etaxonomy.taxeditor.description.commands.adddescription"
                name="New Description">
          </command>
+         <command
+               defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
+               id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
+               name="Move Description Elements">
+         </command>
       </extension>
       <extension
             point="org.eclipse.core.expressions.definitions">