id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
name="%editor.name.8">
</editor>
+ <editor
+ class="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor"
+ default="false"
+ id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor"
+ name="Alignment Editor">
+ </editor>
</extension>
<extension
point="org.eclipse.ui.views">
</reference>
</visibleWhen>
</command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
+ label="Alignment Editor"
+ style="push">
+ </command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu.navigate">
class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
</dynamic>
+ <command
+ commandId="org.eclipse.ui.edit.delete"
+ label="Delete"
+ style="push">
+ </command>
</menuContribution>
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
commandId="taxeditor-editor.command.newimagegallery"
label="%command.label.37"
style="push">
+ <visibleWhen>
+ <or>
+ <reference
+ definitionId="isBulkEditor">
+ </reference>
+ <reference
+ definitionId="isTaxonEditor">
+ </reference>
+ <reference
+ definitionId="isDerivateEditor">
+ </reference>
+ </or>
+ </visibleWhen>
</command>
<separator
name="taxeditor-editor.separator1"
commandId="taxeditor-editor.useExistingImage"
label="%command.label.50"
style="push">
- <visibleWhen
- checkEnabled="false">
+ <visibleWhen>
<reference
definitionId="isImageGallery">
</reference>
<handler
class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
+ </handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.handler.LoadPherogramHandler"
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
+ </equals>
+ </with>
+ </activeWhen>
+ </handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.handler.AddAHandler"
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.addA">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
+ </equals>
+ </with>
+ </activeWhen>
+ </handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
+ commandId="org.eclipse.ui.edit.delete">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
+ </equals>
+ </with>
+ </activeWhen>
</handler>
</extension>
<extension
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
name="%command.name.38">
- </command>
+ </command>
<command
categoryId="eu.etaxonomy.taxeditor.editor.new.category"
defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
name="%command.name.39">
</command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
+ id="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
+ name="Open Alignment Editor">
+ </command>
+ <command
+ id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.addA"
+ name="Add A">
+ </command>
+ <command
+ id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
+ name="Load Pherogram">
+ </command>
+
</extension>
<extension
point="org.eclipse.core.expressions.definitions">
</test>
</with>
</definition>
+ <definition
+ id="isBulkEditor">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
+ </test>
+ </with>
+ </definition>
+ <definition
+ id="isDerivateEditor">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
+ </test>
+ </with>
+ </definition>
<definition
id="isDescription">
<with
class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
- properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor"
+ properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor"
type="org.eclipse.jface.viewers.TreeSelection">
</propertyTester>
<propertyTester
id="eu.etaxonomy.taxeditor.bindings.scheme.default"
name="%scheme.name">
</scheme>
+ <key
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.addA"
+ schemeId="eu.etaxonomy.taxeditor.bindings.scheme.default"
+ sequence="A">
+ </key>
+ <key
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
+ schemeId="eu.etaxonomy.taxeditor.bindings.scheme.default"
+ sequence="O">
+ </key>
</extension>
<extension
point="org.eclipse.ui.importWizards">