id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
name="%editor.name.8">
</editor>
- <editor
- class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
- default="false"
- icon="icons/derivate_view-16x16-32.png"
- id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
- name="%editor.name.DERIVATIVE_EDITOR">
- </editor>
</extension>
<extension
point="org.eclipse.ui.views">
</and>
</visibleWhen>
</command>
- <separator
- name="eu.etaxonomy.taxeditor.store.separator_derivative_start"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
- label="%command.label.DERIVATIVE_EDITOR"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
- </visibleWhen>
- </command>
- <separator
- name="eu.etaxonomy.taxeditor.editor.separator1"
- visible="true">
- </separator>
</menuContribution>
<menuContribution
locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
name="eu.etaxonomy.taxeditor.editor.separator1">
</separator>
</menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
- <separator
- name="eu.etaxonomy.taxeditor.editor.separator4"
- visible="true">
- </separator>
- <dynamic
- class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
- id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
- </dynamic>
- <dynamic
- class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
- id="eu.etaxonomy.taxeditor.editor.derivativeEditor.CdmViewerContextMenu">
- </dynamic>
- <separator
- name="eu.etaxonomy.taxeditor.editor.separator1"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
- label="%command.label.LINK_WITH_TAXON_SELECTION"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <not>
- <reference
- definitionId="isDerivativeEditorLinkedToTaxonSelection">
- </reference>
- </not>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
- label="%command.label.UNLINK_FROM_TAXON_SELECTION"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isDerivativeEditorLinkedToTaxonSelection">
- </reference>
- </visibleWhen>
- </command>
- <separator
- name="eu.etaxonomy.taxeditor.editor.separator3"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
- id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleReadMenuItem"
- label="%command.label.REUSE_SINGLE_READ_HERE"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isSingleReadReusableHere">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
- label="%command.label.REUSE_SINGLE_READ_FOR_OTHER_SEQUENCE"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isSingleRead">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
- label="%command.label.REMOVE_SINGLE_READ_FROM_THIS_SEQUENCE"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isSingleReadReused">
- </reference>
- </visibleWhen>
- </command>
- <separator
- name="eu.etaxonomy.taxeditor.editor.separator7"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.ui.edit.delete"
- label="%command.label.52"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
- icon="icons/deep-delete-16x16-32.png"
- label="%command.label.54"
- style="push">
- </command>
- </menuContribution>
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
<dynamic
</dynamic>
</menuContribution>
-
-
-
<menuContribution
locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
<command
commandId="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
label="%command.label.37"
style="push">
- <visibleWhen>
+ <!-- <visibleWhen>
<or>
<reference
definitionId="isBulkEditor">
definitionId="isDerivateEditor">
</reference>
</or>
- </visibleWhen>
+ </visibleWhen>-->
</command>
<separator
name="taxeditor-editor.separator1"
id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
</dynamic>
</menu>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
- label="%command.label.43"
- style="push">
- </command>
+ <dynamic
+ class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
+ id="eu.etaxonomy.taxeditor.view.context.CdmViewerContextMenu">
+ </dynamic>
<separator
name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
visible="true">
</menuContribution>
<menuContribution
allPopups="false"
- locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
+ locationURI="popup:bulkeditor.editor?before=eu.etaxonomy.taxeditor.bulkeditor.separator1">
<command
commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
label="%command.label.45"
</command>
</toolbar>
</menuContribution>
+ <menuContribution
+ locationURI="menu:bulkeditor.menus.openmenu">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
+ label="%command.label.DERIVATIVE_EDITOR"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
</extension>
<extension
point="org.eclipse.ui.handlers">
</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.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
</with>
</activeWhen>
</handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForSpecimenOrOBservationBase"
+ commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="bulkeditor.editor">
+ </equals>
+ </with>
+ </activeWhen>
+ </handler>
<handler
class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler">
<reference
definitionId="isChecklistEditorEnabled">
</reference>
- <or>
- <reference
- definitionId="isTaxonNode">
- </reference>
- <reference
- definitionId="isClassification">
- </reference>
- </or>
+ <reference
+ definitionId="isTaxonNode">
+ </reference>
</and>
</activeWhen>
</handler>
typeId="eu.etaxonomy.taxeditor.uuidParameterType">
</commandParameter>
</command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
- id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
- name="%command.name.44">
- </command>
<command
categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
name="%command.name.OPEN_DERIVATIVE_EDITOR">
</command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
- id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
- name="%command.name.LINK_WITH_TAXON_SELECTION">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
- id="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
- name="%command.name.COPY_SINGLE_READ_TO_CLIPBOARD">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
- id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
- name="%command.name.REUSE_SINGLE_READ">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
- id="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
- name="%command.name.REMOVE_SINGLE_READ">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ToggleLinkWithTaxonSelectionHandler"
- id="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
- name="%command.name.TOGGLE_LINK_WITH_TAXON_SELECTION">
- </command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenSpecimenEditorForTypeSpecimenHandler"
id="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
- name="Open specimen editor for type specimen">
+ name="%command.name.OPEN_EDITOR_FOR_TYPE_SPECIMEN">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptInBulkEditorHandler"
+ id="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
+ name="Open bulk editor for taxon relationship">
</command>
</extension>
</with>
</definition>
<definition
- id="isSingleReadReusableHere">
+ id="isSpecimenOrObservationBase">
<with
variable="selection">
<test
- property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReusableHere">
+ property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSpecimenOrObservationBase">
+ </test>
+ </with>
+ </definition>
+ <definition
+ id="isDerivativeEditorLinkedToTaxonSelection">
+ <with
+ variable="activeEditor">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
</test>
</with>
</definition>
<definition
- id="isSingleReadReused">
+ id="isOrphanedTaxon">
<with
variable="selection">
<test
- property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReused">
+ forcePluginActivation="true"
+ property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
</test>
</with>
</definition>
<definition
- id="isDerivativeEditorLinkedToTaxonSelection">
+ id="isAddDerivateAllowed">
<with
- variable="activeEditor">
+ variable="selection">
<test
- property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
+ property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddDerivateAllowed">
</test>
</with>
</definition>
<definition
- id="isOrphanedTaxon">
+ id="isAddMediaAllowed">
<with
variable="selection">
<test
- forcePluginActivation="true"
- property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
+ property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddMediaAllowed">
</test>
</with>
</definition>
</propertyTester>
<propertyTester
class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
- id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
+ id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
type="org.eclipse.jface.viewers.TreeSelection">
class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
- properties="isSequence,isSingleRead,isSingleReadReusableHere,isSingleReadReused"
+ properties="isSequence,isSingleRead,isSpecimenOrObservationBase,isAddDerivateAllowed,isAddMediaAllowed"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
<propertyTester
<viewCommandMapping
commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
+ viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
+ </viewCommandMapping>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
+ selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
+ viewerName="Name Editor">
+ </viewCommandMapping>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
+ selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
+ viewerName="Bulk Editor">
+ </viewCommandMapping>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
+ selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
viewerName="Specimen Editor">
</viewCommandMapping>
</extension>
+ <extension
+ id="eu.etaxonomy.taxeditor.editor.workbench.model"
+ name="Editor Workbench Model"
+ point="org.eclipse.e4.workbench.model">
+ <fragment
+ apply="always"
+ uri="fragment.e4xmi">
+ </fragment>
+ </extension>
</plugin>