<dynamic
class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
id="taxeditor-editor.dynamic.setBasionym">
- </dynamic>
- <!--command
- commandId="eu.etaxonomy.taxeditor.editor.name.setBasionym"
- id="Set Basionym"
- style="push">
- <visibleWhen>
- <and>
- <reference
- definitionId="isSynonym">
- </reference>
- <not>
- <reference
- definitionId="isZoological">
- </reference>
- </not>
- </and>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
- id="Remove Basionym"
- style="push">
- <visibleWhen>
- <and>
- <reference
- definitionId="isSynonym">
- </reference>
- <not>
- <reference
- definitionId="isZoological">
- </reference>
- </not>
- </and>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.setOriginalCombination"
- id="Set Original Combination"
- style="push">
<visibleWhen>
- <and>
- <reference
- definitionId="isSynonym">
- </reference>
- <reference
- definitionId="isZoological">
- </reference>
- </and>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.name.removeOriginalCombination"
- id="Remove Original Combination"
- style="push">
- <visibleWhen>
- <and>
- <reference
- definitionId="isSynonym">
- </reference>
- <reference
- definitionId="isZoological">
- </reference>
- </and>
+ <reference
+ definitionId="isSynonym">
+ </reference>
</visibleWhen>
- </command-->
+ </dynamic>
<command
commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
label="Swap Synonym With Accepted"
class="eu.etaxonomy.taxeditor.editor.handler.SaveAllHandler"
commandId="org.eclipse.ui.file.saveAll">
</handler-->
- <!--handler
- class="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
- commandId="eu.etaxonomy.taxeditor.editor.name.setBasionym_dep">
- <enabledWhen>
- <not>
- <reference
- definitionId="isGroupBasionym">
- </reference>
- </not>
- </enabledWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
- commandId="eu.etaxonomy.taxeditor.editor.name.removeBasionym">
- <enabledWhen>
- <reference
- definitionId="isGroupBasionym">
- </reference>
- </enabledWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
- commandId="eu.etaxonomy.taxeditor.editor.name.setOriginalCombination">
- <enabledWhen>
- <not>
- <reference
- definitionId="isGroupBasionym">
- </reference>
- </not>
- </enabledWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
- commandId="eu.etaxonomy.taxeditor.editor.name.removeOriginalCombination">
- <enabledWhen>
- <reference
- definitionId="isGroupBasionym">
- </reference>
- </enabledWhen>
- </handler-->
</extension>
<extension
name="File Menu Commands"
</iterate>
</with>
</definition>
- <!--definition
- id="isGroupBasionym">
- <with
- variable="activeMenuSelection">
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.editor.name.BasionymSynonymPropertySource">
- </instanceof>
- </iterate>
- </with>
- </definition-->
<definition
id="isMisapplication">
<with
</iterate>
</with>
</definition>
- <!--definition
- id="isNotGroupBasionym">
- <with
- variable="activeMenuSelection">
- <not>
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.editor.name.BasionymSynonymPropertySource">
- </instanceof>
- </iterate>
- </not>
- </with>
- </definition-->
<definition
id="isCdmObject">
<with
id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
name="Remove Basionym / Original Combination">
</command>
- <!--command
- id="eu.etaxonomy.taxeditor.editor.name.setOriginalCombination"
- name="Set Original Combination">
- </command>
- <command
- id="eu.etaxonomy.taxeditor.editor.name.removeOriginalCombination"
- name="Remove Original Combination">
- </command-->
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"