</adapter>
</factory>
</extension>
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
- default="false"
- id="eu.etaxonomy.taxeditor.editor.key"
- name="%editor.name.1">
- </editor>
- <editor
- class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
- default="false"
- id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
- name="%editor.name.2">
- </editor>
- <editor
- class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
- default="false"
- id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
- name="%editor.name.3">
- </editor>
- <editor
- class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
- default="false"
- id="eu.etaxonomy.taxeditor.editor.group.authority"
- name="%editor.name.4">
- </editor>
- <editor
- class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
- default="false"
- id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
- name="%editor.name.6">
- </editor>
- <editor
- class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
- default="false"
- id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
- name="%editor.name.7">
- </editor>
- </extension>
<extension
point="org.eclipse.ui.views">
- <view
- allowMultiple="true"
- class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
- id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
- name="%view.name.4">
- </view>
- <view
- allowMultiple="true"
- class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
- id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
- name="%view.name.5">
- </view>
<view
allowMultiple="false"
category="eu.etaxonomy.taxeditor.editor.category"
</extension>
<extension
point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
- label="%command.label.46"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
- label="%command.label.47"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
- label="%command.label.1"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
- </visibleWhen>
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
- label="%command.label.2"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
- </visibleWhen>
- </command>
- <separator
- name="eu.etaxonomy.navigation.menu.new.separator2"
- visible="true">
- </separator>
- <separator
- name="eu.etaxonomy.navigation.menu.new.separator3"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
- label="%command.label.48"
- style="push">
- </command>
- </menuContribution>
<menuContribution
locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
<separator
</visibleWhen>
</command>
</menuContribution>
- <menuContribution
- locationURI="menu:org.eclipse.ui.main.menu.navigate">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
- label="%command.label.8"
- style="push">
- </command>
- </menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
- <command
- commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
- label="%command.label.20"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
- label="%command.label.21"
- style="push">
- </command>
- <separator
- name="taxeditor-editor.separator2"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
- label="%command.label.22"
- style="push">
- </command>
- <separator
- name="taxeditor-editor.separator3"
- visible="true">
- </separator>
- </menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
- <dynamic
- class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
- id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
- </dynamic>
- </menuContribution>
- <menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
- <dynamic
- class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
- id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
- </dynamic>
- </menuContribution>
- <menuContribution
- allPopups="false"
- locationURI="popup:bulkeditor.editor?before=eu.etaxonomy.taxeditor.bulkeditor.separator1">
- <command
- commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
- label="%command.label.45"
- style="push">
- <visibleWhen>
- <reference
- definitionId="isGroupEditor">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
</toolbar>
</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.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.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.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>
- <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.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
- 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>
-
- </extension>
<extension
point="org.eclipse.core.expressions.definitions">
<definition
property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
</test>
</with>
+ </definition>
+ <definition
+ id="isNotAcceptedTaxon">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotAcceptedTaxon">
+ </test>
+ </with>
</definition>
<definition
id="isSynonymInHomotypicalGroupWithMoreSynonyms">
</test>
</with>
</definition>
+ <definition
+ id="isNotSynonym">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotSynonym">
+ </test>
+ </with>
+ </definition>
<definition
id="isMisapplication">
<with
property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
</test>
</with>
+ </definition>
+ <definition
+ id="isProparteSynonym">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isProparteSynonym">
+ </test>
+ </with>
+ </definition>
+ <definition
+ id="isNotProparteSynonym">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotProparteSynonym">
+ </test>
+ </with>
+ </definition>
+ <definition
+ id="isNotMisapplication">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotMisapplication">
+ </test>
+ </with>
+ </definition>
+ <definition
+ id="isNotInvalidDesignation">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotInvalidDesignation">
+ </test>
+ </with>
</definition>
<definition
id="isTaxonBase">
class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
- properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
+ properties="isAcceptedTaxon,isSynonym,isNotSynonym,isMisapplication,isProparteSynonym,isNotProparteSynonym,isNotMisapplication,isNotInvalidDesignation,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isNotAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
type="java.lang.Object">
</propertyTester>
<propertyTester
- class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
+ class="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.DescriptionsMenuPropertyTesterE4"
id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
</viewCommandMapping>
<viewCommandMapping
- commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
+ commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorForIndividualsAssociation"
selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
</viewCommandMapping>
<viewCommandMapping
- commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
+ commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorForTaxonNode"
selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
</viewCommandMapping>
viewerName="Bulk Editor">
</viewCommandMapping>
<viewCommandMapping
- commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
+ commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorForSpecimenOrObservation"
selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
- viewerName="Specimen Editor">
+ viewerName="Specimen Editor (tree)">
+ </viewCommandMapping>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.editor.command.descriptiveDataSet.openDescriptiveDataSetEditor"
+ selection="eu.etaxonomy.cdm.model.description.DescriptiveDataSet"
+ viewerName="Descriptive Data Set Editor">
+ </viewCommandMapping>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.editor.command.descriptiveDataSet.openCharacterMatrix"
+ selection="eu.etaxonomy.cdm.model.description.DescriptiveDataSet"
+ viewerName="Character Matrix">
+ </viewCommandMapping>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.editor.command.descriptiveDataSet.openDescriptiveDataSetEditor"
+ selection="eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache"
+ viewerName="Descriptive Data Set Editor">
+ </viewCommandMapping>
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForGatheringEvent"
+ selection="eu.etaxonomy.cdm.model.occurrence.GatheringEvent"
+ viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
</viewCommandMapping>
</extension>
<extension