There now exists a dummy delete entry in the bulk editors context menu. It is also...
[taxeditor.git] / taxeditor-bulkeditor / plugin.xml
index 21004cd3d86dd3e4b2d825e44fea656569538725..45d1fd3fdb92aee18f7d2110d8a5895fdb5d7ee9 100644 (file)
                name="taxeditor-bulkeditor.separator1"\r
                visible="true">\r
          </separator>\r
-         <command\r
-               commandId="org.eclipse.ui.views.showView"\r
-               label="Show Details"\r
-               style="push">\r
-            <parameter\r
-                  name="org.eclipse.ui.views.showView.viewId"\r
-                  value="eu.etaxonomy.taxeditor.editor.forms.detailsView">\r
-            </parameter>\r
-         </command>\r
-         <command\r
-               commandId="bulkeditor.commands.referencingobjects"\r
-               label="Show Referencing Objects"\r
-               style="push">\r
-         </command>\r
-         <separator\r
-               name="taxeditor-bulkeditor.separator4"\r
-               visible="true">\r
-         </separator>\r
          <command\r
                commandId="bulkeditor.commands.setmergetarget"\r
                label="Set Current Line as Target for Duplicate Removal"\r
             id="bulkeditor.commands.setmergetarget"\r
             name="Set as Target for Group Merge">\r
       </command>\r
-      <command\r
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.ShowReferencingObjectsHandler"\r
-            id="bulkeditor.commands.referencingobjects"\r
-            name="Show Referencing Objects">\r
-      </command>\r
       <command\r
             defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.OpenBulkEditorHandler"\r
             id="taxeditor-bulkeditor.dynamicopenmenu"\r
             commandId="org.eclipse.ui.edit.delete">\r
          <activeWhen>\r
             <with\r
-                  variable="activePartId">\r
-               <equals\r
-                     value="bulkeditor.editor">\r
-               </equals>\r
+                  variable="selection">\r
+               <instanceof\r
+                     value="eu.etaxonomy.taxeditor.model.LineSelection">\r
+               </instanceof>\r
             </with>\r
          </activeWhen>\r
       </handler>\r