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="Derivative Editor">
+ </editor>
</extension>
<extension
point="org.eclipse.ui.views">
id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
name="%view.name.6">
</view>
- <view
- class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
- icon="icons/derivate_view-16x16-32.png"
- id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
- name="Derivative Editor"
- restorable="true">
- </view>
</extension>
<!-- VALIDATION RELATED STUFF -->
</or>
</visibleWhen>
</menu>
- <separator
- name="taxeditor-editor.separator1"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
- label="%command.label.51"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <and>
- <with
- variable="selection">
- <count
- value="+">
- </count>
- </with>
- <reference
- definitionId="isIndividualsAssociation">
- </reference>
- </and>
- </visibleWhen>
- </command>
<command
commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
label="%command.label.28"
</menuContribution>
<menuContribution
allPopups="false"
- locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
- icon="icons/synced.gif"
- label="Link with Taxon Editor"
- style="toggle">
- <visibleWhen
- checkEnabled="false">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
- </visibleWhen>
- </command>
+ locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
+ <toolbar
+ id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
+ icon="icons/synced.gif"
+ label="Link with Taxon Selection"
+ style="toggle">
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
+ </equals>
+ </with>
+ </visibleWhen>
+ </command>
+ </toolbar>
</menuContribution>
</extension>
<extension
</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">
id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
name="%command.name.33">
</command>
+ <command
+ categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
+ defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
+ id="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
+ name="%command.name.51">
+ </command>
<category
id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
name="%category.name.7">
defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
name="%command.name.34">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
- id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
- name="%command.name.35">
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
name="%command.name.41">
</command>
<command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
- id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonHandler"
+ id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
name="%command.name.42">
<commandParameter
- id="eu.etaxonomy.taxeditor.editor.taxonParameter"
+ id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon.uuid"
name="%commandParameter.name"
optional="false"
- typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
+ typeId="eu.etaxonomy.taxeditor.uuidParameterType">
</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="%command.name.43">
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
+ id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
+ name="Open Taxon Editor for taxonnode">
+ <commandParameter
+ id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode.uuid"
+ name="taxon node uuid"
+ optional="true"
+ typeId="eu.etaxonomy.taxeditor.uuidParameterType">
+ </commandParameter>
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
name="Open Derivative Editor">
- <commandParameter
- id="eu.etaxonomy.taxeditor.specimenUuidParameter"
- name="Specimen UUID parameter"
- optional="true"
- typeId="eu.etaxonomy.taxeditor.specimenUuidParameterType">
- </commandParameter>
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
- name="Link with editor">
+ name="Link with taxon selection">
</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
</extension>
<extension
point="eu.etaxonomy.taxeditor.store.cdmViewer">
- <cdmViewer
- class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
- </cdmViewer>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
+ selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
+ viewerName="Taxon Editor">
+ </viewCommandMapping>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
+ selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
+ viewerName="TaxonEditor">
+ </viewCommandMapping>
</extension>
</plugin>