Add ReferencingObjects view to "Show View" menu
authorPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 29 Feb 2016 13:39:45 +0000 (14:39 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Mon, 29 Feb 2016 13:41:08 +0000 (14:41 +0100)
eu.etaxonomy.taxeditor.bulkeditor/plugin.xml
eu.etaxonomy.taxeditor.editor/plugin.xml

index 6862728464568f5b5d8630b79e6f797da723612e..698fd5d9ccbc84857cdcc70b227b780655cfc553 100644 (file)
                id="eu.etaxonomy.taxeditor.referencingObjectsView.cdmViewerContextMenu">
          </dynamic>
       </menuContribution>
                id="eu.etaxonomy.taxeditor.referencingObjectsView.cdmViewerContextMenu">
          </dynamic>
       </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
+         <command
+               commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView"
+               label="Referencing Objects View"
+               style="push">
+         </command>
+      </menuContribution>
    </extension>
    <extension
          point="org.eclipse.ui.commands">
    </extension>
    <extension
          point="org.eclipse.ui.commands">
             name="%command.name.10">
       </command>
       <command
             name="%command.name.10">
       </command>
       <command
+            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
             id="eu.etaxonomy.taxeditor.openReferencingObjectsView"
             name="Open Referencing Objects View">
       </command>
             id="eu.etaxonomy.taxeditor.openReferencingObjectsView"
             name="Open Referencing Objects View">
       </command>
             class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertPerson2TeamHandler"
             commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team">
       </handler>
             class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertPerson2TeamHandler"
             commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team">
       </handler>
-      <handler
-            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
-            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
-         <activeWhen>
-            <with
-                  variable="activePartId">
-               <equals
-                     value="bulkeditor.editor">
-               </equals>
-            </with>
-         </activeWhen>
-      </handler>
       
    </extension>
    <extension
       
    </extension>
    <extension
index 6b19c3ee2b2d22fc41771d411066123cf3484d5c..fb8545c8a0e580d7806335e0ca524240d44dbf99 100644 (file)
          </separator>
       </menuContribution>
       <menuContribution
          </separator>
       </menuContribution>
       <menuContribution
-            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
+            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
          <separator
                name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
                visible="true">
          <separator
                name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
                visible="true">