</editor>
<editor
class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
- icon="icons/address-book-new.png"
+ icon="icons/check.png"
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
+ id="eu.etaxonomy.taxeditor.editor.molecular.PherogramView"
point="org.eclipse.ui.views">
<view
allowMultiple="false"
id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
name="%view.name.5">
</view>
+ <view
+ allowMultiple="false"
+ category="eu.etaxonomy.taxeditor.editor.category"
+ class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
+ icon="icons/edit_16x16.gif"
+ id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
+ name="%view.name.6">
+ </view>
+ <view
+ allowMultiple="true"
+ class="eu.etaxonomy.taxeditor.editor.molecular.PherogramViewPart"
+ id="eu.etaxonomy.taxeditor.editor.molecular.PherogramView"
+ name="PherogramView"
+ restorable="true">
+ </view>
</extension>
+ <!-- VALIDATION RELATED STUFF -->
+ <extension point="org.eclipse.core.resources.markers" name="Validation Error" id="eu.etaxonomy.taxeditor.markers.validationerror">
+ <super type="org.eclipse.core.resources.problemmarker"/>
+ <attribute name="databaseId"/>
+ <attribute name="userFriendlyTypeName"/>
+ <attribute name="userFriendlyDescription"/>
+ <attribute name="userFriendlyFieldName"/>
+ <attribute name="validatorMessage"/>
+ <attribute name="invalidValue"/>
+ <attribute name="validatorClass"/>
+ <attribute name="entityClass"/>
+ <attribute name="entityId"/>
+ <persistent value="false"/>
+ </extension>
+
+ <extension point="org.eclipse.ui.ide.markerSupport">
+ <markerContentGenerator
+ id="eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator"
+ name="Validation Problems Marker Generator">
+ <markerTypeReference id="eu.etaxonomy.taxeditor.markers.validationerror" />
+
+ <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible="true" />
+ <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible="true" />
+ <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible="true" />
+ <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible="true" />
+ <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible="true" />
+ <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible="false" />
+ <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityClass" visible="false" />
+ <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityId" visible="false" />
+ </markerContentGenerator>
+
+ <markerField
+ class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
+ id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
+ name="%marker.field.0">
+ </markerField>
+ <markerField
+ class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
+ id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
+ name="%marker.field.1">
+ </markerField>
+ <markerField
+ class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
+ id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
+ name="%marker.field.2 = Attribute">
+ </markerField>
+ <markerField
+ class="eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
+ id="eu.etaxonomy.taxeditor.markers.validation.invalidValue"
+ name="%marker.field.3 = Problematic Value">
+ </markerField>
+ <markerField
+ class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
+ id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
+ name="%marker.field.4 = Problem description">
+ </markerField>
+ <markerField
+ class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
+ id="eu.etaxonomy.taxeditor.markers.validation.validatorClass"
+ name="%marker.field.5">
+ </markerField>
+ <markerField
+ class="eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
+ id="eu.etaxonomy.taxeditor.markers.validation.entityClass"
+ name="%marker.field.6">
+ </markerField>
+ <markerField
+ class="eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
+ id="eu.etaxonomy.taxeditor.markers.validation.entityId"
+ name="%marker.field.7">
+ </markerField>
+ </extension>
<extension
point="org.eclipse.ui.elementFactories">
<factory
</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">
name="taxeditor-editor.separator1"
visible="true">
</separator>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
+ label="Open in Derivate Editor"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="selection">
+ <count
+ value="+">
+ </count>
+ </with>
+ </visibleWhen>
+ </command>
<command
commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
label="%command.label.28"
label="%command.label.31"
style="push">
</command>
+ <separator
+ name="eu.etaxonomy.taxeditor.editor.separator1">
+ </separator>
</menuContribution>
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
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>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
+ label="Create Field Unit"
+ style="push">
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
+ icon="icons/deep-delete-16x16-32.png"
+ label="Delete (with children)"
+ style="push">
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.editSequence"
+ label="Edit Sequence"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isSequence">
+ </reference>
+ </visibleWhen>
+ </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>
</visibleWhen>
</command>
</menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="menu:org.eclipse.ui.main.menu">
+ <menu
+ label="Alignment Editor">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
+ label="Load Pherogram"
+ style="push">
+ </command>
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
+ </equals>
+ </with>
+ </visibleWhen>
+ </menu>
+ </menuContribution>
+ <menuContribution
+ locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
+ <toolbar
+ id="eu.etaxonomy.taxeditor.editor.alignmentToolbar">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite"
+ label="Toggle insert/overwrite"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
+ </equals>
+ </with>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion"
+ label="Toggle left/right insertion"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
+ </equals>
+ </with>
+ </visibleWhen>
+ </command>
+ </toolbar>
+ </menuContribution>
+
+ <menuContribution
+ allPopups="false"
+ locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
+ icon="icons/link_obj.gif"
+ style="toggle"
+ tooltip="Show Only Individuals Associations">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
+ label="Open Associated Derivates"
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <and>
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ <reference
+ definitionId="isTaxonNode">
+ </reference>
+ </and>
+ </visibleWhen>
+ </command>
+ <separator
+ name="eu.etaxonomy.taxeditor.editor.separator1"
+ visible="true">
+ </separator>
+ </menuContribution>
+ <menuContribution
+ locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
+ <separator
+ name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
+ visible="true">
+ </separator>
+ <command
+ commandId="org.eclipse.ui.views.showView"
+ label="%command.name.40"
+ style="push">
+ <parameter
+ name="org.eclipse.ui.views.showView.viewId"
+ value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
+ </parameter>
+ </command>
+ </menuContribution>
</extension>
<extension
point="org.eclipse.ui.handlers">
<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.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>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
+ commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.navigation.navigator">
+ </equals>
+ </with>
+ </activeWhen>
+ </handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
+ commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
+ </handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.handler.ToggleInsertOverwriteHandler"
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite">
+ </handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.handler.ToggleLeftRightInsertionHandler"
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion">
</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.loadPherogram"
+ name="Load Pherogram">
+ </command>
+ <command
+ id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
+ name="Show Only Individual Associations">
+ </command>
+ <command
+ id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleInsertOverwrite"
+ name="Toggle insert/overwrite">
+ </command>
+ <command
+ id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.toggleLeftRightInsertion"
+ name="Toggle left/right insertion in base call sequence">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
+ id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
+ name="Open Taxon Editor">
+ <commandParameter
+ id="eu.etaxonomy.taxeditor.editor.taxonParameter"
+ name="taxonUUID"
+ optional="false"
+ typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
+ </commandParameter>
+ </command>
+ <commandParameterType
+ converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
+ id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
+ type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
+ </commandParameterType>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
+ id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
+ name="Create Field Unit">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
+ id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
+ name="Deep Delete">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.EditSequenceHandler"
+ id="eu.etaxonomy.taxeditor.editor.editSequence"
+ name="Edit Sequence">
+ </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
</test>
</with>
</definition>
+ <definition
+ id="isSequence">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
+ </test>
+ </with>
+ </definition>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
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
properties="isGroup"
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"
+ type="org.eclipse.jface.viewers.IStructuredSelection">
+ </propertyTester>
</extension>
<extension
point="org.eclipse.ui.bindings">
id="eu.etaxonomy.taxeditor.bindings.scheme.default"
name="%scheme.name">
</scheme>
+ <key
+ commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
+ schemeId="eu.etaxonomy.taxeditor.bindings.scheme.default"
+ sequence="M1+O">
+ </key>
</extension>
<extension
point="org.eclipse.ui.importWizards">
</description>
</wizard>
</extension>
+ <extension
+ point="eu.etaxonomy.taxeditor.store.cdmViewer">
+ <cdmViewer
+ class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
+ </cdmViewer>
+ </extension>
</plugin>