default="false"
icon="icons/derivate_view-16x16-32.png"
id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
- name="Derivative Editor">
+ name="%editor.name.DERIVATIVE_EDITOR">
</editor>
</extension>
<extension
</menuContribution>
<menuContribution
locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
+ <separator
+ name="eu.etaxonomy.taxeditor.editor.showViewMenu"
+ visible="true">
+ </separator>
<command
commandId="org.eclipse.ui.views.showView"
label="%command.label.4"
</reference>
</visibleWhen>
</command>
- <separator
- name="eu.etaxonomy.taxeditor.editor.showViewMenu"
- visible="true">
- </separator>
<command
commandId="org.eclipse.ui.views.showView"
label="%command.label.5"
visible="true">
</separator>
<command
- commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
- label="Derivative Editor"
+ commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
+ label="%command.label.DERIVATIVE_EDITOR"
style="push">
<visibleWhen
checkEnabled="true">
</separator>
</menuContribution>
<menuContribution
- locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
+ locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
<separator
name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
visible="true">
label="%command.label.12"
style="push">
<visibleWhen>
+ <and>
<not>
<or>
<reference
<reference
definitionId="isMisapplication">
</reference>
- <reference
- definitionId="isHomotypicSynonymOfAcceptedTaxon">
- </reference>
</or>
- </not>
+ </not>
+ <reference
+ definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
+ </reference>
+ </and>
</visibleWhen>
</command>
<command
label="%command.label.56"
style="push">
<visibleWhen>
+ <and>
<reference
definitionId="isSynonym">
</reference>
+ <reference
+ definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
+ </reference>
+ </and>
</visibleWhen>
</command>
<separator
label="%command.label.20"
style="push">
</command>
- <separator
- name="taxeditor-editor.separator1"
- visible="true">
- </separator>
<command
commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
label="%command.label.21"
label="%command.label.24"
style="push">
</command>
+ <dynamic
+ class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
+ id="eu.etaxonomy.taxeditor.editor.polytomous.list.cdmViewerContextMenu">
+ </dynamic>
<command
commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
label="%command.label.25"
label="%command.label.26"
style="push">
</command>
+ <separator
+ name="eu.etaxonomy.taxeditor.editor.separator1">
+ </separator>
</menuContribution>
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
label="%command.label.27"
style="push">
</command>
+ <menu
+ label="%menu.label.1">
+ <dynamic
+ class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
+ id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
+ </dynamic>
+ <visibleWhen
+ checkEnabled="true">
+ <or>
+ <reference
+ definitionId="isDescription">
+ </reference>
+ <reference
+ definitionId="isDescriptionElement">
+ </reference>
+ <reference
+ definitionId="isFeatureNodeContainer">
+ </reference>
+ </or>
+ </visibleWhen>
+ </menu>
+ <separator
+ name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
+ visible="true">
+ </separator>
<command
commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
label="%command.label.28"
commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
label="%command.label.30"
style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <count
+ value="+">
+ </count>
+ </visibleWhen>
</command>
<separator
name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
<separator
name="eu.etaxonomy.taxeditor.editor.separator1">
</separator>
- <separator
- name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
- visible="true">
- </separator>
- <menu
- label="%menu.label.1">
- <dynamic
- class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
- id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
- </dynamic>
- <visibleWhen
- checkEnabled="true">
- <or>
- <reference
- definitionId="isDescription">
- </reference>
- <reference
- definitionId="isDescriptionElement">
- </reference>
- <reference
- definitionId="isFeatureNodeContainer">
- </reference>
- </or>
- </visibleWhen>
- </menu>
</menuContribution>
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
</dynamic>
<command
commandId="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
- label="Link with taxon selection"
+ label="%command.label.LINK_WITH_TAXON_SELECTION"
style="push">
<visibleWhen
checkEnabled="true">
</command>
<command
commandId="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
- label="Unlink from taxon selection"
+ label="%command.label.UNLINK_FROM_TAXON_SELECTION"
style="push">
<visibleWhen
checkEnabled="true">
<command
commandId="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleReadMenuItem"
- label="Reuse single read here"
+ label="%command.label.REUSE_SINGLE_READ_HERE"
style="push">
<visibleWhen
checkEnabled="true">
</command>
<command
commandId="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
- label="Reuse for other sequence"
+ label="%command.label.REUSE_SINGLE_READ_FOR_OTHER_SEQUENCE"
style="push">
<visibleWhen
checkEnabled="true">
</command>
<command
commandId="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
- label="Remove from this sequence"
+ label="%command.label.REMOVE_SINGLE_READ_FROM_THIS_SEQUENCE"
style="push">
<visibleWhen
checkEnabled="true">
<command
commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
icon="icons/synced.gif"
- label="Link with Taxon Selection"
+ label="%command.label.LINK_WITH_TAXON_SELECTIO"
style="toggle">
<visibleWhen
checkEnabled="true">
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
- name="Open Taxon Editor for taxonnode">
+ name="%command.name.OPEN_NAME_EDITOR_FOR_TAXON_NODE">
<commandParameter
id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode.uuid"
name="taxon node uuid"
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
- name="Open Derivative Editor">
+ name="%command.name.OPEN_DERIVATIVE_EDITOR">
<commandParameter
id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
name="Specimen Uuids"
typeId="eu.etaxonomy.taxeditor.uuidParameterType">
</commandParameter>
</command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
+ id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
+ name="%command.name.OPEN_DERIVATIVE_EDITOR">
+ </command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
- name="Link with taxon selection">
+ name="%command.name.LINK_WITH_TAXON_SELECTION">
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
id="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
- name="Copy SingleRead to clipboard">
+ name="%command.name.COPY_SINGLE_READ_TO_CLIPBOARD">
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
- name="Reuse SingleRead">
+ name="%command.name.REUSE_SINGLE_READ">
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
id="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
- name="Remove SingleRead from sequence">
+ name="%command.name.REMOVE_SINGLE_READ">
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ToggleLinkWithTaxonSelectionHandler"
id="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
- name="Toggle link with taxon selection">
+ name="%command.name.TOGGLE_LINK_WITH_TAXON_SELECTION">
</command>
</extension>
<with
variable="selection">
<test
- property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isHomotypicSynonymOfAcceptedTaxon">
+ property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
</test>
</with>
</definition>
class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
- properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
+ properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
<propertyTester