</menuContribution>\r
<menuContribution\r
locationURI="popup:#BulkEditorContext">\r
+ <command\r
+ commandId="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"\r
+ label="%command.label"\r
+ style="push">\r
+ <visibleWhen>\r
+ <reference\r
+ definitionId="isTaxonBulkEditorInput">\r
+ </reference>\r
+ </visibleWhen>\r
+ </command>\r
+ <separator\r
+ name="taxeditor-bulkeditor.separator1"\r
+ visible="true">\r
+ </separator>\r
<menu\r
label="%menu.label.1">\r
<dynamic\r
</visibleWhen>\r
</menu>\r
<separator\r
- name="taxeditor-bulkeditor.separator1"\r
- visible="true">\r
+ name="eu.etaxonomy.taxeditor.bulkeditor.separator1">\r
</separator>\r
<command\r
commandId="bulkeditor.commands.setmergetarget"\r
- label="Set Current Line as Target for Duplicate Removal"\r
+ label="%command.label.0"\r
style="push">\r
<visibleWhen>\r
<reference\r
</command>\r
<command\r
commandId="bulkeditor.commands.setmergecandidate"\r
- label="Set as Candidate(s) for Duplicate Removal"\r
+ label="%command.label.1"\r
style="push">\r
<visibleWhen>\r
<reference\r
</command>\r
<command\r
commandId="bulkeditor.commands.removemergecandidate"\r
- label="Remove as Candidate(s) for Duplicate Removal"\r
+ label="%command.label.2"\r
style="push">\r
<visibleWhen>\r
<reference\r
locationURI="popup:org.eclipse.ui.popup.any"--> \r
<command\r
commandId="bulkeditor.commands.mergegroup"\r
- label="De-Duplicate Group"\r
+ label="%command.label.3"\r
style="push">\r
<visibleWhen>\r
<reference\r
visible="true">\r
</separator>\r
<command\r
- commandId="org.eclipse.ui.edit.delete"\r
- label="Delete"\r
+ commandId="eu.etaxonomy.taxeditor.bulkeditor.delete"\r
+ label="%command.label.4"\r
style="push">\r
<visibleWhen\r
checkEnabled="true">\r
id="taxeditor-bulkeditor.command.setMarkerFlag"\r
name="Set Marker Flag">\r
</command>\r
+ <command\r
+ id="eu.etaxonomy.taxeditor.bulkeditor.delete"\r
+ name="delete">\r
+ </command>\r
<!--command\r
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"\r
id="eu.etaxonomy.taxeditor.bulkeditor.command.new"\r
</test>\r
</with>\r
</definition>\r
+ <definition\r
+ id="isTaxonBulkEditorInput">\r
+ <with\r
+ variable="activeEditor">\r
+ <test\r
+ property="taxeditor-bulkeditor.propertyTester.isTaxonEditor">\r
+ </test>\r
+ </with>\r
+ </definition>\r
</extension>\r
<extension\r
point="org.eclipse.core.expressions.propertyTesters">\r
class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"\r
id="taxeditor-bulkeditor.PropertyTester"\r
namespace="taxeditor-bulkeditor.propertyTester"\r
- properties="isMergingEnabled"\r
- type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">\r
- </propertyTester>\r
- <propertyTester\r
- class="eu.etaxonomy.taxeditor.bulkeditor.PropertyTester"\r
- id="eu.etaxonomy.taxeditor.bulkeditor.propertyTester"\r
- namespace="eu.etaxonomy.taxeditor.bulkeditor.propertyTester"\r
- properties="isDerivedUnitEditor"\r
+ properties="isMergingEnabled, isDerivedUnitEditor, isTaxonEditor, isGroupEditor"\r
type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">\r
</propertyTester>\r
</extension>\r
</handler>\r
<handler\r
class="eu.etaxonomy.taxeditor.bulkeditor.handler.DeleteHandler"\r
- commandId="org.eclipse.ui.edit.delete">\r
+ commandId="eu.etaxonomy.taxeditor.bulkeditor.delete">\r
<activeWhen>\r
<with\r
variable="selection">\r