</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">
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">
</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.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">
id="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
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>
<extension
</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">
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>
</plugin>