<visibleWhen
checkEnabled="true">
<or>
- <reference
- definitionId="isDescriptionElement">
- </reference>
<reference
definitionId="isFeatureNodeContainer">
</reference>
- </or>
+ <reference
+ definitionId="isDescriptionElement">
+ </reference>
+ </or>
</visibleWhen>
</command>
<separator
id="eu.etaxonomy.taxeditor.editor.media.command.delete"
name="%command.name.49">
</command>
+
<category
id="eu.etaxonomy.taxeditor.editor.new.category"
name="%category.name.4">
<command
categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
- id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
+ id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
name="%command.name.13">
</command>
+
<command
categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
- id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
+ id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
name="%command.name.12">
</command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
+ id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
+ name="Open Specimen Editor">
+ <commandParameter
+ id="eu.etaxonomy.taxeditor.specimenUuidParameter"
+ name="Specimen UUID parameter"
+ optional="true"
+ typeId="eu.etaxonomy.taxeditor.specimenUuidParameterType">
+ </commandParameter>
+ </command>
</extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <commandParameterType
+ converter="eu.etaxonomy.taxeditor.handler.UuidParameterConverter"
+ id="eu.etaxonomy.taxeditor.specimenUuidParameterType"
+ type="java.util.UUID">
+ </commandParameterType>
+ </extension>
<extension
point="org.eclipse.core.expressions.definitions">
<definition
</test>
</with>
</definition>
+ <definition
+ id="isSequence">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
+ </test>
+ </with>
+ </definition>
+ <definition
+ id="isSingleRead">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
+ </test>
+ </with>
+ </definition>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
properties="isGroupEditor"
type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
</propertyTester>
+ <propertyTester
+ class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
+ id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
+ namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
+ properties="isSequence,isSingleRead"
+ type="org.eclipse.jface.viewers.IStructuredSelection">
+ </propertyTester>
</extension>
<extension
point="org.eclipse.ui.bindings">