ref #6598 migrate/remove open handlers
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / plugin.xml
index b2babca3927e69fde7e8927c455c09caa1cfdb79..27543d6dcdaa005561250fa86b3e766f6534eeba 100644 (file)
    </extension>
    <extension
          point="org.eclipse.ui.menus">
-      <menuContribution
-            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
-         <menu
-               id="bulkeditor.menus.openmenu"
-               label="%menu.label">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </menu>
-         <menu
-               label="%menu.label.0">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </menu>
-      </menuContribution>
       <menuContribution
             locationURI="menu:bulkeditor.menus.openmenu">
          <dynamic
          </dynamic>
       </menuContribution>
       <menuContribution
-            locationURI="popup:#BulkEditorContext">
-         <dynamic
-               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
-               id="eu.etaxonomy.taxeditor.bulkeditor.cdmViewerContextMenu">
-         </dynamic>
-         <separator
-               name="taxeditor-bulkeditor.separator1"
-               visible="true">
-         </separator>
+            locationURI="popup:bulkeditor.editor">
          <menu
                label="%menu.label.1">
             <dynamic
                      definitionId="isMergeEnabled">
                </reference>
             </visibleWhen>
-         </command>
-      <!--menuContribution
-            locationURI="popup:org.eclipse.ui.popup.any"-->            
+         </command>            
          <command
                commandId="bulkeditor.commands.mergegroup"
                label="%command.label.3"
                </reference>
             </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">
+               id="eu.etaxonomy.taxeditor.bulkeditor.cdmViewerContextMenu">
          </dynamic>
-         <separator
-               name="eu.etaxonomy.taxeditor.bulkeditor.separator1">
-         </separator>
-      </menuContribution>
-      <menuContribution
-            allPopups="false"
-            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
-         <command
-               commandId="eu.etaxonomy.taxeditor.openReferencingObjectsViewFromMenu"
-               label="%command.label.OPEN_REFERENCING_OBJECTS_VIEW"
-               style="push">
-            <visibleWhen
-                  checkEnabled="true">
-               <reference
-                     definitionId="isCdmStoreConnected">
-               </reference>
-            </visibleWhen>
-         </command>
+      <!--menuContribution
+            locationURI="popup:org.eclipse.ui.popup.any"-->
       </menuContribution>
    </extension>
    <extension
             id="eu.etaxonomy.taxeditor.openReferencingObjectsView"
             name="%command.name.OPEN_REFERENCING_OBJECTS_VIEW">
       </command>
-      <command
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.defaultHandler.OpenBulkEditorForTaxonNodeHandler"
-            id="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForTaxonNode"
-            name="%command.name.OPEN_BULK_EDITOR_FOR_TAXON_NODE">
-      </command>
       <command
             id="eu.etaxonomy.taxeditor.bulkeditor.openBulkEditorForIdentifiableEntity"
             name="Open bulk editor for identifiable entity">
             name="merge_target_annotation">
       </type>
    </extension>
-   <extension
-         point="org.eclipse.ui.views">
-      <view
-            class="eu.etaxonomy.taxeditor.bulkeditor.referencingobjects.ReferencingObjectsView"
-            id="eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects"
-            name="%view.name"
-            restorable="false">
-      </view>
-   </extension>   
    <extension
          point="org.eclipse.core.expressions.definitions">
       <definition
             commandId="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person">
       </handler>
       <handler
-            class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertPerson2TeamHandler"
+            class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertPerson2TeamRemotingHandler"
             commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team">
+             <activeWhen>
+            <reference
+                  definitionId="isRemoting">
+            </reference>
+         </activeWhen>
       </handler>
       <handler
             class="eu.etaxonomy.taxeditor.bulkeditor.handler.defaultHandler.OpenBulkEditorForIdentifiableEntity"
       </viewCommandMapping>
    </extension>
    <extension
-         id="id1"
+         id="eu.etaxonomy.taxeditor.bulkeditor.workbench.model"
+         name="Bulk Editor Workbench Model"
          point="org.eclipse.e4.workbench.model">
       <fragment
             apply="always"