Add ReferencingObjects view to "Show View" menu
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / plugin.xml
index e2f9c5fb2e852f8268d88fa37b480bac72b251c9..698fd5d9ccbc84857cdcc70b227b780655cfc553 100644 (file)
                </reference>
             </visibleWhen>
          </dynamic>
-         <!--command
-               commandId="taxeditor-nameeditor.commands.open"
-               label="Open Name Editor"
-               style="push">
-            <visibleWhen
-                  checkEnabled="false">
-               <reference
-                     definitionId="pigsFly">
-               </reference>
-            </visibleWhen>
-         </command-->
       </menuContribution>
       <menuContribution
             locationURI="popup:#BulkEditorContext">
             </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