ref #6566 Refactor src folder to src/main/java
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / plugin.xml
index be4c61af80e4f663d7ba7a28cf6902b6c7466f29..1cd97c66fb6cefa3f14460dcb9f4e4b607e6b9c1 100644 (file)
@@ -39,7 +39,7 @@
    <extension
          point="org.eclipse.ui.menus">
       <menuContribution
-            locationURI="menu:org.eclipse.ui.main.menu.file">
+            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file">
          <separator
                name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
                visible="true">
                </and>
             </visibleWhen>
          </command>
+         <command
+               commandId="eu.etaxonomy.taxeditor.navigation.cloneClassification"
+               label="Clone Classification"
+               style="push">
+            <visibleWhen
+                  checkEnabled="true">
+               <and>
+                  <reference
+                        definitionId="isShowExperimentalFeatures">
+                  </reference>
+                  <reference
+                        definitionId="isClassification">
+                  </reference>
+               </and>
+            </visibleWhen>
+         </command>
          <separator
                name="taxeditor-navigation.separator1"
                visible="true">
                      </reference>
                   </and>
             </visibleWhen>
+         </command>
+          <command
+               commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
+               label="%command.label.setSecForSubtree"
+               style="push">
+               <visibleWhen
+                  checkEnabled="true">
+                  <and>
+                     <reference
+                           definitionId="isCdmStoreConnected">
+                     </reference>
+                     <reference
+                           definitionId="isTaxonNode">
+                     </reference>
+                  </and>
+            </visibleWhen>
          </command>
          <command
                commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
             defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
             id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
             name="%command.name.5">
+      </command>
+       <command
+            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
+            id="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
+            name="%command.name.setSecForSubtree">
       </command>
       <command
             defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
             id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
             name="%command.name.11">
       </command>
+      <command
+            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CloneClassificationHandler"
+            id="eu.etaxonomy.taxeditor.navigation.cloneClassification"
+            name="Clone Classification">
+      </command>
    </extension>
    <extension
          point="org.eclipse.ui.handlers">
                   definitionId="isRemoting">
             </reference>
          </activeWhen>
+      </handler>
+       <handler
+            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
+            commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree">
+         <activeWhen>
+            <reference
+                  definitionId="isRemoting">
+            </reference>
+         </activeWhen>
       </handler>
       <handler
             class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"