Add ReferencingObjects view to "Show View" menu
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / plugin.xml
index b6d585bc93b32ac723276251405de5063ff677b5..698fd5d9ccbc84857cdcc70b227b780655cfc553 100644 (file)
@@ -99,7 +99,8 @@
             </visibleWhen>
          </menu>
          <separator
-               name="eu.etaxonomy.taxeditor.bulkeditor.separator1">
+               name="taxeditor-bulkeditor.separator4"\r
+               visible="true">\r
          </separator>
          <command
                commandId="bulkeditor.commands.setmergetarget"
                </reference>
             </visibleWhen>
          </command>
+         <separator\r
+               name="eu.etaxonomy.taxeditor.bulkeditor.separator1"\r
+               visible="true">\r
+         </separator>\r
          <command
                commandId="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person"
                label="%command.label.5"
             </visibleWhen>
          </command>
       </menuContribution>
+      <menuContribution
+            allPopups="false"
+            locationURI="popup:eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects">
+         <dynamic
+               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
+               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">
             name="%command.name.10">
       </command>
       <command
+            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
             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>
-      <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