- updated to change CreateNodeHandler.java to CreateChildNodeHandler.java
authorCherian Mathew <c.mathew@bgbm.org>
Thu, 15 Nov 2012 15:51:48 +0000 (15:51 +0000)
committerCherian Mathew <c.mathew@bgbm.org>
Thu, 15 Nov 2012 15:51:48 +0000 (15:51 +0000)
- added RefreshNodeNumberingHandler.java to handle the refreshing of node numbers.
- added CreateSiblingNodeHandler.java to handle creation of node siblings

eu.etaxonomy.taxeditor.editor/plugin.xml

index ea0cc9afccc356e19cd31b14d41950c0c20a7d2e..47c71a35fec927c5c61d598491c49e6ebac23fe0 100644 (file)
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
          <command
-               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
-               label="New"
+               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
+               label="New Sibling"
+               style="push">
+         </command>
+         <command
+               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
+               label="New Child"
+               style="push">
+         </command>
+         <command
+               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
+               label="Refresh Nodes"
                style="push">
          </command>
          <command
       </category>
       <command
             categoryId="eu.etaxonomy.taxeditor.editor.key.category"
-            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateNodeHandler"
-            id="eu.etaxonomy.taxeditor.key.polytomous.command.new"
-            name="New Node">
+            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
+            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
+            name="New Child Node">
+      </command>
+      <command
+            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
+            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
+            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
+            name="New Sibling Node">
+      </command>
+      <command
+            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
+            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
+            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
+            name="Refresh Node Numbering">
       </command>
       <command
             categoryId="eu.etaxonomy.taxeditor.editor.key.category"