- <menuContribution
- locationURI="menu:org.eclipse.ui.main.menu.navigate">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
- label="%command.label.8"
- style="push">
- </command>
- </menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
- <menu
- label="%menu.label">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
- label="%command.label.9"
- style="push">
- <visibleWhen>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
- label="%command.label.10"
- style="push">
- <visibleWhen>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
- label="%command.label.11"
- style="push">
- <visibleWhen>
- <reference
- definitionId="isSynonym">
- </reference>
- </visibleWhen>
- </command>
- <separator
- name="separator1"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
- label="%command.label.49"
- style="push">
- <visibleWhen>
- <or>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- <reference
- definitionId="isMisapplication">
- </reference>
- </or>
- </visibleWhen>
- </command>
- </menu>
- <!--<command
- commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
- label="Change Accepted Taxon to Synonym"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isAcceptedAndHasNoHomotypicSynonyms">
- </reference>
- </visibleWhen
- <visibleWhen>
- <or>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- <reference
- definitionId="isMisapplication">
- </reference>
- </or>
- </visibleWhen>
- </command>-->
- <menu
- label="%menu.label.0">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
- label="%command.label.12"
- style="push">
- <visibleWhen>
- <and>
- <not>
- <or>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- <reference
- definitionId="isMisapplication">
- </reference>
- </or>
- </not>
- <reference
- definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
- </reference>
- </and>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
- label="%command.label.13"
- style="push">
- <visibleWhen>
- <not>
- <or>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- <reference
- definitionId="isSynonym">
- </reference>
- </or>
- </not>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
- label="%command.label.14"
- style="push">
- <visibleWhen>
- <not>
- <or>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- <reference
- definitionId="isMisapplication">
- </reference>
- </or>
- </not>
- </visibleWhen>
- </command>
- </menu>
- <separator
- name="taxeditor-editor.separator1"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.delete"
- label="%command.label.15"
- style="push">
- <visibleWhen>
- <or>
- <reference
- definitionId="isSynonym">
- </reference>
- <reference
- definitionId="isMisapplication">
- </reference>
- <reference
- definitionId="isConceptRelation">
- </reference>
- </or>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
- label="%command.label.16"
- style="push">
- <visibleWhen>
- <reference
- definitionId="hasEmptyNames">
- </reference>
- </visibleWhen>
- </command>
- <separator
- name="taxeditor-editor.separator2"
- visible="true">
- </separator>
- <!-- <dynamic
- class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
- id="taxeditor-editor.dynamic.setBasionym">
- <visibleWhen>
- <or>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- <reference
- definitionId="isSynonym">
- </reference>
- </or>
- </visibleWhen>
- </dynamic>-->
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
- label="%command.label.17"
- style="push">
- <visibleWhen>
- <reference
- definitionId="isSynonym">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
- label="%command.label.57"
- style="push">
- <visibleWhen>
- <reference
- definitionId="isSynonymInHomotypicalGroupWithMoreSynonyms">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
- label="%command.label.56"
- style="push">
- <visibleWhen>
- <and>
- <reference
- definitionId="isSynonym">
- </reference>
- <reference
- definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
- </reference>
- </and>
- </visibleWhen>
- </command>
- <separator
- name="taxeditor-editor.separator3"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.ui.views.showView"
- label="%command.label.18"
- style="push">
- <parameter
- name="org.eclipse.ui.views.showView.viewId"
- value="eu.etaxonomy.taxeditor.view.detail">
- </parameter>
- </command>
- <separator
- name="taxeditor-editor.separator4"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.ui.file.save"
- label="%command.label.19"
- style="push">
- </command>
- </menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
- <command
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
- label="%command.label.20"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
- label="%command.label.21"
- style="push">
- </command>
- <separator
- name="taxeditor-editor.separator2"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
- label="%command.label.22"
- style="push">
- </command>
- <separator
- name="taxeditor-editor.separator3"
- visible="true">
- </separator>
- </menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
- <menu
- label="%menu.label.4">
- <command
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
- label="%command.label.58"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
- label="%command.label.23"
- style="push">
- </command>
- </menu>
- <command
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
- 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"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
- 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">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
- 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"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isDescription">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
- label="%command.label.29"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <or>
- <reference
- definitionId="isFeatureNodeContainer">
- </reference>
- <reference
- definitionId="isDescriptionElement">
- </reference>
- </or>
- </visibleWhen>
- </command>
- <separator
- name="eu.etaxonomy.taxeditor.editor.separator1">
- </separator>
- <dynamic
- class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
- id="eu.etaxonomy.taxeditor.editor.descriptive.cdmViewerContextMenu">
- </dynamic>
- <separator
- name="eu.etaxonomy.taxeditor.editor.separator1">
- </separator>
- <separator
- name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
- visible="true">
- </separator>
- <command
- 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"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.ui.file.save"
- label="%command.label.31"
- style="push">
- </command>
- <separator
- name="eu.etaxonomy.taxeditor.editor.separator1">
- </separator>
- </menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
- <dynamic
- class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
- id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
- </dynamic>
- </menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
- <dynamic
- class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
- id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
- </dynamic>
- </menuContribution>