<menu\r
id="bulkeditor.menus.openmenu"\r
label="%menu.label">\r
+ <visibleWhen\r
+ checkEnabled="true">\r
+ <reference\r
+ definitionId="isCdmStoreConnected">\r
+ </reference>\r
+ </visibleWhen>\r
</menu>\r
<menu\r
label="%menu.label.0">\r
+ <visibleWhen\r
+ checkEnabled="true">\r
+ <reference\r
+ definitionId="isCdmStoreConnected">\r
+ </reference>\r
+ </visibleWhen>\r
</menu>\r
</menuContribution>\r
<menuContribution\r
<dynamic\r
class="eu.etaxonomy.taxeditor.bulkeditor.command.OpenBulkEditorContributionItem"\r
id="taxeditor-bulkeditor.dynamicopenmenu">\r
+ <visibleWhen\r
+ checkEnabled="true">\r
+ <reference\r
+ definitionId="isCdmStoreConnected">\r
+ </reference>\r
+ </visibleWhen>\r
</dynamic>\r
<!--command\r
commandId="taxeditor-nameeditor.commands.open"\r
</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
class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicNewObjectMenu"\r
id="eu.etaxonomy.taxeditor.bulkeditor.dynamicNewMenu">\r
+ <visibleWhen\r
+ checkEnabled="false">\r
+ <reference\r
+ definitionId="isCdmStoreConnected">\r
+ </reference>\r
+ </visibleWhen>\r
</dynamic>\r
+ <visibleWhen\r
+ checkEnabled="true">\r
+ <reference\r
+ definitionId="isCdmStoreConnected">\r
+ </reference>\r
+ </visibleWhen>\r
</menu>\r
- <separator\r
- name="taxeditor-bulkeditor.separator1"\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
+ label="%command.label.0"\r
style="push">\r
<visibleWhen>\r
<reference\r
</reference>\r
</visibleWhen>\r
</command>\r
+ \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
</reference>\r
</visibleWhen>\r
</command>\r
+ <separator\r
+ name="eu.etaxonomy.taxeditor.bulkeditor.separator1"\r
+ visible="true">\r
+ </separator>\r
+ <command\r
+ commandId="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person"\r
+ label="%command.label.5"\r
+ style="push">\r
+ <visibleWhen\r
+ checkEnabled="true">\r
+ <and>\r
+ <reference\r
+ definitionId="isConvertEnabled">\r
+ </reference>\r
+ <reference \r
+ definitionId="isTeam">\r
+ </reference>\r
+ </and>\r
+ </visibleWhen>\r
+ </command>\r
+ <command\r
+ commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team"\r
+ label="%command.label.6"\r
+ style="push">\r
+ <visibleWhen \r
+ checkEnabled="true">>\r
+ <and>\r
+ <reference\r
+ definitionId="isConvertEnabled">\r
+ </reference>\r
+ <reference \r
+ definitionId="isPerson">\r
+ </reference>\r
+ </and>\r
+ </visibleWhen>\r
+ </command>\r
<separator\r
name="taxeditor-bulkeditor.separator2"\r
visible="true">\r
class="eu.etaxonomy.taxeditor.bulkeditor.command.DynamicMarkerTypeEditingMenu"\r
id="eu.etaxonomy.taxeditor.bulkeditor.dynamicMarkerTypeEditingMenu">\r
</dynamic>\r
+ <visibleWhen\r
+ checkEnabled="true">\r
+ <reference\r
+ definitionId="isCdmStoreConnected">\r
+ </reference>\r
+ </visibleWhen>\r
</menu>\r
<separator\r
name="taxeditor-bulkeditor.separator3"\r
visible="true">\r
</separator>\r
<command\r
- commandId="org.eclipse.ui.edit.delete"\r
- label="Delete"\r
- style="push">\r
- </command>\r
- </menuContribution>\r
- <menuContribution\r
- allPopups="false"\r
- locationURI="popup:#DataImportEditorContext">\r
- <command\r
- commandId="eu.etaxonomy.taxeditor.bulkeditor.saveSpecimen"\r
- label="Save Specimen"\r
+ commandId="eu.etaxonomy.taxeditor.bulkeditor.delete"\r
+ label="%command.label.4"\r
style="push">\r
+ <visibleWhen\r
+ checkEnabled="true">\r
+ <reference\r
+ definitionId="isCdmStoreConnected">\r
+ </reference>\r
+ </visibleWhen>\r
</command>\r
</menuContribution>\r
</extension>\r
<command\r
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.MergeGroupHandler"\r
id="bulkeditor.commands.mergegroup"\r
- name="Merge Group">\r
+ name="%command.name">\r
</command>\r
<command\r
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeTargetHandler"\r
id="bulkeditor.commands.setmergetarget"\r
- name="Set as Target for Group Merge">\r
+ name="%command.name.0">\r
</command>\r
<command\r
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.OpenBulkEditorHandler"\r
id="taxeditor-bulkeditor.dynamicopenmenu"\r
- name="Dynamic Open Bulk Editor">\r
+ name="%command.name.1">\r
<commandParameter\r
id="taxeditor-bulkeditor.commandParameter.inputType"\r
- name="Bulk Editor Class"\r
+ name="%commandParameter.name"\r
values="eu.etaxonomy.taxeditor.bulkeditor.input.BulkEditorInputTypeValues">\r
</commandParameter>\r
</command>\r
<command\r
defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.NewObjectHandler"\r
id="taxeditor-bulkeditor.dynamicnewobjectcommand"\r
- name="Dynamic New Object">\r
+ name="%command.name.2">\r
</command>\r
<command\r
defaultHandler="eu.etaxonomy.taxeditor.annotatedlineeditor.handler.DeleteObjectHandler"\r
id="taxeditor-bulkeditor.dynamicdeleteobjectcommand"\r
- name="Dynamic Delete Object">\r
+ name="%command.name.3">\r
</command>\r
<command\r
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMergeCandidateHandler"\r
id="bulkeditor.commands.setmergecandidate"\r
- name="Set as Candidate for Group Merge">\r
+ name="%command.name.4">\r
</command>\r
<command\r
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.RemoveMergeCandidateHandler"\r
id="bulkeditor.commands.removemergecandidate"\r
- name="Remove as Candidate for Group Merge">\r
+ name="%command.name.5">\r
</command>\r
<command\r
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.SetMarkerFlagHandler"\r
id="taxeditor-bulkeditor.command.setMarkerFlag"\r
- name="Set Marker Flag">\r
+ name="%command.name.6">\r
+ </command>\r
+ <command\r
+ id="eu.etaxonomy.taxeditor.bulkeditor.delete"\r
+ name="%command.name.7">\r
</command>\r
<command\r
- defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.derivedunit.handler.AddDerivedUnitMediaHandler"\r
- id="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addDerivedUnitMedia"\r
- name="Add Derived Unit Media">\r
+ id="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person"\r
+ name="%command.name.8">\r
</command>\r
<command\r
- defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.derivedunit.handler.AddFieldObjectMediaHandler"\r
- id="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addFieldObjectMedia"\r
- name="Add Field Object Media">\r
+ id="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team"\r
+ name="%command.name.10">\r
</command>\r
<!--command\r
defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"\r
highlightPreferenceValue="true"\r
icon="icons/merge_candidate.gif"\r
includeOnPreferencePage="true"\r
- label="Merge Candidate Annotation"\r
+ label="%specification.label"\r
overviewRulerPreferenceKey="merge_candidate_annotation_overview"\r
overviewRulerPreferenceValue="true"\r
presentationLayer="0"\r
highlightPreferenceValue="true"\r
icon="icons/merge_target.gif"\r
includeOnPreferencePage="true"\r
- label="Merge Target Annotation"\r
+ label="%specification.label.0"\r
overviewRulerPreferenceKey="merge_target_annotation_overview"\r
overviewRulerPreferenceValue="true"\r
presentationLayer="1"\r
</test>\r
</with>\r
</definition>\r
+ <definition\r
+ id="isConvertEnabled">\r
+ <with\r
+ variable="activeEditor">\r
+ <test\r
+ property="taxeditor-bulkeditor.propertyTester.isConvertingEnabled">\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
+ <definition\r
+ id="isTeam">\r
+ <with\r
+ variable="selection">\r
+ <test\r
+ property="eu.etaxonomy.taxeditor.bulkeditor.command.isTeam">\r
+ </test>\r
+ </with>\r
+ </definition>\r
+ <definition\r
+ id="isPerson">\r
+ <with\r
+ variable="selection">\r
+ <test\r
+ property="eu.etaxonomy.taxeditor.bulkeditor.command.isPerson">\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
+ properties="isMergingEnabled, isDerivedUnitEditor, isTaxonEditor, isGroupEditor, isConvertingEnabled"\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
- type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">\r
+ class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorMenuPropertyTester"\r
+ id="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorMenuPropertyTester"\r
+ namespace="eu.etaxonomy.taxeditor.bulkeditor.command"\r
+ properties="isTeam, isPerson"\r
+ type="java.lang.Object">\r
</propertyTester>\r
</extension>\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
</with>\r
</activeWhen>\r
</handler>\r
+ <handler\r
+ class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertTeam2PersonHandler"\r
+ commandId="eu.etaxonomy.taxeditor.bulkeditor.convertTeam2Person">\r
+ </handler>\r
+ <handler\r
+ class="eu.etaxonomy.taxeditor.bulkeditor.handler.ConvertPerson2TeamHandler"\r
+ commandId="eu.etaxonomy.taxeditor.bulkeditor.convertPerson2Team">\r
+ </handler>\r
+ \r
</extension>\r
<extension\r
point="org.eclipse.ui.preferencePages">\r