- <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">
- <handler
- class="org.eclipse.ui.internal.handlers.NewEditorHandler"
- commandId="org.eclipse.ui.window.newEditor">
- <activeWhen>
- <not>
- <instanceof
- value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
- </instanceof>
- </not>
- </activeWhen>
- <enabledWhen>
- <count
- value="-1">
- </count>
- </enabledWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
- commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
- <activeWhen>
- <and>
- <reference
- definitionId="isTaxonBase">
- </reference>
- <not>
- <reference
- definitionId="isAcceptedTaxon">
- </reference>
- </not>
- </and>
- </activeWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="eu.etaxonomy.taxeditor.editor.key">
- </equals>
- </with>
- </activeWhen>
- <enabledWhen>
- <with
- variable="selection">
- <test
- property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
- </test>
- </with>
- </enabledWhen>
- </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.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
- <activeWhen>
- <reference
- definitionId="isRemoting">
- </reference>
- </activeWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.InsertNewNodeHandler"
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node">
- <enabledWhen>
- <with
- variable="selection">
- <test
- property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
- </test>
-
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="eu.etaxonomy.taxeditor.editor.key">
- </equals>
- </with>
- </activeWhen>
- <enabledWhen>
- <with
- variable="selection">
- <test
- property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
- </test>
-
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
- commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
- <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.OpenDerivativeEditorForDescriptionElement"
- commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="eu.etaxonomy.taxeditor.editor.view.descriptive">
- </equals>
- </with>
- </activeWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForTaxonNode"
- commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
- <activeWhen>
- <with
- variable="selection">
- <reference
- definitionId="isTaxonNode">
- </reference>
- </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">
- <activeWhen>
- <and>
- <reference
- definitionId="isChecklistEditorEnabled">
- </reference>
- <reference
- definitionId="isTaxonNode">
- </reference>
- </and>
- </activeWhen>
- </handler>
- <handler
- class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh">
- <enabledWhen>
- <with
- variable="selection">
- <test
- property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
- </test>
- </with>
- </enabledWhen>
- </handler>
- </extension>
- <extension
- name="%extension.name"
- point="org.eclipse.ui.commands">
- <category
- id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
- name="%category.name.0">
- </category>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
- id="eu.etaxonomy.taxeditor.editor.command.openParent"
- name="%command.name">
- </command>
- <!-- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
- id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
- name="Move Taxon">
- </command>-->
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
- id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
- name="%command.name.7">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
- id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
- name="%command.name.8">
- </command>
- <!-- <command
- categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
- id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
- name="Change Accepted Taxon to Synonym">
- </command>-->
- <category
- id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
- name="%category.name.1">
- </category>
- <category
- id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
- name="%category.name.2">
- </category>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
- id="eu.etaxonomy.taxeditor.use.commands.adduse"
- name="%command.name.14">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
- id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
- name="%command.name.16">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
- id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
- name="%command.name.15">
- </command>
- <command
- id="eu.etaxonomy.taxeditor.editor.use.command.delete"
- name="%command.name.47">
- </command>
- <category
- id="eu.etaxonomy.taxeditor.editor.media.category"
- name="%category.name.3">
- </category>
-
- <category
- id="eu.etaxonomy.taxeditor.editor.new.category"
- name="%category.name.4">
- </category>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.new.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
- id="eu.etaxonomy.taxeditor.editor.command.new.reference"
- name="%command.name.23">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.new.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
- id="eu.etaxonomy.taxeditor.editor.command.new.name"
- name="%command.name.24">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.new.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
- id="eu.etaxonomy.taxeditor.editor.command.new.team"
- name="%command.name.25">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.new.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
- id="eu.etaxonomy.taxeditor.editor.command.new.person"
- name="%command.name.26">
- </command>
- <category
- id="eu.etaxonomy.taxeditor.editor.key.category"
- name="%category.name.5">
- </category>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.key.category"
-
- id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
- name="%command.name.28">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.key.category"
-
- id="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
- name="%command.name.58">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.key.category"
- id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
- name="%command.name.29">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.key.category"
-
- id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
- name="%command.name.30">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.key.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
- id="eu.etaxonomy.taxeditor.key.command.applyLayout"
- name="%command.name.31">
- </command>
- <command
- categoryId="eu.etaxonomy.taxeditor.editor.key.category"
- id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
- name="%command.name.50">
- </command>
- <category
- id="eu.etaxonomy.taxeditor.editor.view.concept.category"
- name="%category.name.6">
- </category>
- <category
- id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
- name="%category.name.7">
- </category>
- <command
- categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
- defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
- id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
- name="%command.name.34">
- </command>
- <command
- id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
- name="%command.name.38">
- <commandParameter
- id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
- name="taxonNodeUuid"
- optional="true"
- typeId="eu.etaxonomy.taxeditor.uuidParameterType">
- </commandParameter>
- </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
- id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
- name="%command.name.41">
- </command>
- <command
- id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
- name="%command.name.42">
- <commandParameter
- id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon.uuid"
- name="%commandParameter.name"
- optional="false"
- typeId="eu.etaxonomy.taxeditor.uuidParameterType">
- </commandParameter>
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
- id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
- name="%command.name.OPEN_NAME_EDITOR_FOR_TAXON_NODE">
- <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.handler.OpenDerivateViewHandler"
- id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
- name="%command.name.OPEN_DERIVATIVE_EDITOR">
- <commandParameter
- id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
- name="Specimen Uuids"
- optional="true"
- typeId="eu.etaxonomy.taxeditor.uuidParameterType">
- </commandParameter>
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
- id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
- name="%command.name.OPEN_DERIVATIVE_EDITOR">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenSpecimenEditorForTypeSpecimenHandler"
- id="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
- name="%command.name.OPEN_EDITOR_FOR_TYPE_SPECIMEN">
- </command>
-