(no commit message)
authorn.hoffmann <n.hoffmann@localhost>
Mon, 9 Mar 2009 15:14:31 +0000 (15:14 +0000)
committern.hoffmann <n.hoffmann@localhost>
Mon, 9 Mar 2009 15:14:31 +0000 (15:14 +0000)
eclipseprojects/eu.etaxonomy.taxeditor/plugin.xml

index 3f8bbd2918b4321db784b501c278a632180e6e02..aa60942fabecd4192a6b325c7329500751692cb0 100644 (file)
@@ -76,8 +76,7 @@
             class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"\r
             icon="icons/edit_16x16.gif"\r
             id="eu.etaxonomy.taxeditor.editor.multipagetaxonview"\r
             class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"\r
             icon="icons/edit_16x16.gif"\r
             id="eu.etaxonomy.taxeditor.editor.multipagetaxonview"\r
-            name="Multitabbed Taxon Editor"\r
-            contributorClass="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorActionBarContributor">\r
+            name="Multitabbed Taxon Editor">\r
       </editor>\r
       <editor\r
             class="eu.etaxonomy.taxeditor.editor.EmptyEditorView"\r
       </editor>\r
       <editor\r
             class="eu.etaxonomy.taxeditor.editor.EmptyEditorView"\r
             </command>\r
             <separator\r
                   name="eu.etaxonomy.taxeditor.ui.file.separator4"\r
             </command>\r
             <separator\r
                   name="eu.etaxonomy.taxeditor.ui.file.separator4"\r
-                  visible="true">\r
+                  visible="false">\r
             </separator>\r
             <command\r
                   commandId="org.eclipse.ui.file.exit"\r
             </separator>\r
             <command\r
                   commandId="org.eclipse.ui.file.exit"\r
             <visibleWhen\r
                   checkEnabled="true">\r
                <reference\r
             <visibleWhen\r
                   checkEnabled="true">\r
                <reference\r
-                     definitionId="nameEditorActive">\r
+                     definitionId="nameEditorActive_CURRENTLY_DISABLED">\r
                </reference>\r
             </visibleWhen>\r
             <command\r
                </reference>\r
             </visibleWhen>\r
             <command\r
          </command>\r
       </menuContribution>\r
       <menuContribution\r
          </command>\r
       </menuContribution>\r
       <menuContribution\r
-            locationURI="popup:org.eclipse.ui.popup.any">\r
+            locationURI="popup:eu.etaxonomy.taxeditor.editor.multipagetaxonview">\r
+         <command\r
+               commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"\r
+               label="Create Heterotypic Synonym"\r
+               style="push">\r
+         </command>\r
+         <command\r
+               commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"\r
+               label="Create Homotypic Synonym"\r
+               style="push">\r
+         </command>\r
+         <separator\r
+               name="eu.etaxonomy.taxeditor.separator1"\r
+               visible="true">\r
+         </separator>\r
+         <command\r
+               commandId="eu.etaxonomy.taxeditor.editor.name.createMisappliedName"\r
+               label="Create Misapplied Name"\r
+               style="push">\r
+         </command>\r
+         <menu\r
+               id="eu.etaxonomy.taxeditor.ui.conceptRelations"\r
+               label="Create Concept Relation">\r
+            <command\r
+                  commandId="eu.etaxonomy.taxeditor.command9"\r
+                  label="test"\r
+                  style="push">\r
+            </command>\r
+         </menu>\r
+         <separator\r
+               name="eu.etaxonomy.taxeditor.separator2"\r
+               visible="true">\r
+         </separator>\r
+         <command\r
+               commandId="eu.etaxonomy.taxeditor.moveTaxon"\r
+               label="Move"\r
+               style="push">\r
+         </command>\r
          <command\r
          <command\r
-               commandId="org.eclipse.ui.file.exit"\r
-               label="Test"\r
+               commandId="eu.etaxonomy.taxeditor.editor.swapTaxonSynonym"\r
+               label="Change"\r
+               style="push">\r
+         </command>\r
+         <separator\r
+               name="eu.etaxonomy.taxeditor.separator3"\r
+               visible="true">\r
+         </separator>\r
+         <command\r
+               commandId="eu.etaxonomy.taxeditor.ui.addTaxon"\r
+               label="Create Child Taxon"\r
                style="push">\r
          </command>\r
       </menuContribution>\r
                style="push">\r
          </command>\r
       </menuContribution>\r
+      <menuContribution\r
+            locationURI="popup:org.eclipse.ui.popup.any">\r
+         <menu\r
+               id="eu.etaxonomy.taxeditor.editor.name.menu"\r
+               label="Taxon Context Menu">\r
+         </menu>\r
+      </menuContribution>\r
    </extension>\r
    <extension\r
          point="org.eclipse.ui.commands">\r
    </extension>\r
    <extension\r
          point="org.eclipse.ui.commands">\r
             id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"\r
             name="Create Homotypic Synonym">\r
       </command>\r
             id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"\r
             name="Create Homotypic Synonym">\r
       </command>\r
+      <command\r
+            defaultHandler="eu.etaxonomy.taxeditor.handlers.CreateMisappliedNameHandler"\r
+            id="eu.etaxonomy.taxeditor.editor.name.createMisappliedName"\r
+            name="Create Misapplied Name">\r
+      </command>\r
+      <command\r
+            defaultHandler="eu.etaxonomy.taxeditor.handlers.MoveTaxonHandler"\r
+            id="eu.etaxonomy.taxeditor.moveTaxon"\r
+            name="Move Taxon">\r
+      </command>\r
+      <command\r
+            defaultHandler="eu.etaxonomy.taxeditor.handlers.SwapTaxonSynonymHandler"\r
+            id="eu.etaxonomy.taxeditor.editor.swapTaxonSynonym"\r
+            name="Swap Taxon Synonym">\r
+      </command>\r
    </extension>\r
    <extension\r
          point="org.eclipse.ui.handlers">\r
    </extension>\r
    <extension\r
          point="org.eclipse.ui.handlers">\r
          </property>\r
       </product>\r
    </extension>\r
          </property>\r
       </product>\r
    </extension>\r
+   <extension\r
+         point="org.eclipse.ui.bindings">\r
+      <key\r
+            commandId="eu.etaxonomy.taxeditor.saveAll"\r
+            contextId="org.eclipse.ui.contexts.dialogAndWindow"\r
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"\r
+            sequence="Ctrl+S">\r
+      </key>\r
+   </extension>\r
+   <extension\r
+         point="org.eclipse.ui.actionSets">\r
+      <actionSet\r
+            id="org.eclipse.ui.main.menu.file"\r
+            label="File Menu Actions"\r
+            visible="true">\r
+         <action\r
+               definitionId="eu.etaxonomy.taxeditor.saveAll"\r
+               id="eu.etaxonomy.taxeditor.action.saveAll"\r
+               label="Save All"\r
+               style="push">\r
+         </action>\r
+      </actionSet>\r
+   </extension>\r
    <!--extension\r
          point="org.eclipse.ui.commands">\r
       <command\r
    <!--extension\r
          point="org.eclipse.ui.commands">\r
       <command\r