</run>
</application>
</extension>
+ <extension
+ point="org.eclipse.core.runtime.adapters">
+ <factory
+ adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
+ class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
+ <adapter
+ type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
+ </adapter>
+ </factory>
+ </extension>
<extension
point="org.eclipse.ui.editors">
<editor
id="eu.etaxonomy.taxeditor.taxonImageEditor"
name="Taxon Image Editor">
</editor>
+ </extension>
+ <extension
+ point="org.eclipse.ui.views">
+ <view
+ allowMultiple="false"
+ class="eu.etaxonomy.taxeditor.namerelationsview.NameRelationsView"
+ id="taxeditor-editor.namerelationsview"
+ name="Name Relations"
+ restorable="true">
+ </view>
+ <view
+ allowMultiple="false"
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyView"
+ id="eu.etaxonomy.taxeditor.views.tabbedPropertiesView"
+ name="Tabbed Properties"
+ restorable="true">
+ </view>
+ </extension>
+ <extension
+ point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
+ <propertyContributor
+ contributorId="eu.etaxonomy.taxeditor.taxonNameEditor"
+ labelProvider="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyPageLabelProvider"
+ typeMapper="eu.etaxonomy.taxeditor.propertysheet.tabbed.TaxonTypeMapper">
+ <propertyCategory
+ category="taxonBase"></propertyCategory>
+ </propertyContributor>
+ </extension>
+ <extension
+ point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
+ <propertyTabs
+ contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
+ <propertyTab
+ category="taxonBase"
+ id="taxonNameEditor.nameTab"
+ label="Name">
+ </propertyTab>
+ <propertyTab
+ afterTab="taxonNameEditor.nomRefTab"
+ category="taxonBase"
+ id="taxonNameEditor.nameRelationsTab"
+ label="Name Relations">
+ </propertyTab>
+ <propertyTab
+ afterTab="taxonNameEditor.nameRelationsfTab"
+ category="taxonBase"
+ id="taxonNameEditor.secundumTab"
+ label="Secundum">
+ </propertyTab>
+ <propertyTab
+ afterTab="taxonNameEditor.secundumTab"
+ category="taxonBase"
+ id="taxonNameEditor.annotationsTab"
+ label="Annotations">
+ </propertyTab>
+ <propertyTab
+ afterTab="taxonNameEditor.annotationsTab"
+ category="taxonBase"
+ id="taxonNameEditor.generalTab"
+ label="General">
+ </propertyTab>
+ </propertyTabs>
+ </extension>
+ <extension
+ point="org.eclipse.ui.views.properties.tabbed.propertySections">
+ <propertySections
+ contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
+ <propertySection
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameOverviewSection"
+ id="taxonNameEditor.overview.name"
+ tab="taxonNameEditor.nameTab">
+ <input
+ type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
+ </input>
+ <input
+ type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
+ </input>
+ </propertySection>
+ <propertySection
+ afterSection="taxonNameEditor.overview.name"
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NamePropertySection"
+ id="taxonNameEditor.nameSection"
+ tab="taxonNameEditor.nameTab">
+ <input
+ type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
+ </input>
+ <input
+ type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
+ </input>
+ </propertySection>
+ <!--propertySection
+ afterSection="taxonNameEditor.nameSection"
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AuthorSection"
+ id="taxonNameEditor.authorSection"
+ tab="taxonNameEditor.nameTab">
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Taxon">
+ </input>
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Synonym">
+ </input>
+ </propertySection>
+ <propertySection
+ afterSection="taxonNameEditor.authorSection"
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NomRefPropertySection"
+ id="taxonNameEditor.nomRefSection"
+ tab="taxonNameEditor.nameTab">
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Taxon">
+ </input>
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Synonym">
+ </input>
+ </propertySection-->
+ <propertySection
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.CreatedSection"
+ id="taxonNameEditor.createdSection"
+ tab="taxonNameEditor.generalTab">
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Taxon">
+ </input>
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Synonym">
+ </input>
+ </propertySection>
+ <propertySection
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AnnotationSection"
+ id="taxonNameEditor.annotationSection"
+ tab="taxonNameEditor.annotationsTab">
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Taxon">
+ </input>
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Synonym">
+ </input>
+ </propertySection>
+ <propertySection
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameRelationsSection"
+ id="taxonNameEditor.nameRelationSection"
+ tab="taxonNameEditor.nameRelationsTab">
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Taxon">
+ </input>
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Synonym">
+ </input>
+ </propertySection>
+ <propertySection
+ class="eu.etaxonomy.taxeditor.propertysheet.tabbed.SecundumSection"
+ id="taxonNameEditor.secundumSection"
+ tab="taxonNameEditor.secundumTab">
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Taxon">
+ </input>
+ <input
+ type="eu.etaxonomy.cdm.model.taxon.Synonym">
+ </input>
+ </propertySection>
+ </propertySections>
+ </extension>
+ <extension
+ point="org.eclipse.ui.perspectiveExtensions">
+ <perspectiveExtension
+ targetID="eu.etaxonomy.taxeditor.application.perspective">
+ <view
+ closeable="true"
+ id="org.eclipse.ui.views.PropertySheet"
+ minimized="false"
+ moveable="true"
+ ratio="0.7"
+ relationship="right"
+ relative="org.eclipse.ui.editorss"
+ showTitle="false"
+ visible="true">
+ </view>
+ </perspectiveExtension>
+ </extension>
+ <extension
+ point="org.eclipse.ui.elementFactories">
+ <factory
+ class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
+ id="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory">
+ </factory>
+ </extension>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="menu:eu.etaxonomy.taxeditor.menu.showView">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
+ label="Property Sheet"
+ style="push">
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
+ label="Tabbed Properties"
+ style="push">
+ </command>
+ </menuContribution>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowPropertySheetHandler"
+ id="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
+ name="Show Property Sheet">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowTabbedPropertiesViewHandler"
+ id="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
+ name="Show Tabbed Properties">
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="menu:org.eclipse.ui.main.menu.navigate">
+ <menu
+ id="menu:org.eclipse.ui.main.menu.navigate.goto"
+ label="Go To">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
+ label="Previous Member"
+ style="push">
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
+ label="Next Member"
+ style="push">
+ </command>
+ </menu>
+ <separator
+ name="taxeditor-editor.separator1"
+ visible="true">
+ </separator>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
+ label="Open Parent"
+ style="push">
+ </command>
+ </menuContribution>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.PreviousMemberHandler"
+ id="eu.etaxonomy.taxeditor.editor.command.previousMember"
+ name="Previous Member">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.NextMemberHandler"
+ id="eu.etaxonomy.taxeditor.editor.command.nextMember"
+ name="Next Member">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
+ id="eu.etaxonomy.taxeditor.editor.command.openParent"
+ name="Open Parent">
+ </command>
</extension>
<extension
point="org.eclipse.ui.menus">
style="push">
</command>
</menuContribution>
- <menuContribution
- locationURI="menu:eu.etaxonomy.taxeditor.menu.showView">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
- label="Property Sheet"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
- label="Tabbed Properties"
- style="push">
- </command>
- <!--command
- commandId="eu.etaxonomy.taxeditor.editor.commands.showNameRelationsView"
- label="Name Relations"
- style="push">
- </command-->
- </menuContribution>
- <menuContribution
- locationURI="menu:org.eclipse.ui.main.menu.navigate">
- <menu
- id="menu:org.eclipse.ui.main.menu.navigate.goto"
- label="Go To">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
- label="Previous Member"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
- label="Next Member"
- style="push">
- </command>
- </menu>
- <separator
- name="taxeditor-editor.separator1"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
- label="Open Parent"
- style="push">
- </command>
- </menuContribution>
</extension>
<extension
point="org.eclipse.ui.handlers">
name="Save All">
</command-->
</extension>
- <extension
- point="org.eclipse.core.expressions.definitions">
- <definition
- id="nameEditorActive">
- <with
- variable="activeEditorId">
- <equals
- value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
- </equals>
- </with>
- </definition>
- <definition
- id="isAcceptedTaxon">
- <with
- variable="activeMenuSelection">
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
- </instanceof>
- </iterate>
- </with>
- </definition>
- <definition
- id="isSynonym">
- <with
- variable="activeMenuSelection">
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.propertysheet.name.SynonymPropertySource">
- </instanceof>
- </iterate>
- </with>
- </definition>
- <definition
- id="isMisapplication">
- <with
- variable="activeMenuSelection">
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.propertysheet.name.MisapplicationPropertySource">
- </instanceof>
- </iterate>
- </with>
- </definition>
- <definition
- id="isConceptRelation">
- <with
- variable="activeMenuSelection">
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.propertysheet.name.ConceptPropertySource">
- </instanceof>
- </iterate>
- </with>
- </definition>
- <definition
- id="isCdmObject">
- <with
- variable="activeMenuSelection">
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.propertysheet.ICdmBasePropertySource">
- </instanceof>
- </iterate>
- </with>
- </definition>
- <definition
- id="isSelectionNonAcceptedTaxonName">
- <with
- variable="selection">
- <and>
- <not>
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
- </instanceof>
- </iterate>
- </not>
- <iterate>
- <instanceof
- value="eu.etaxonomy.taxeditor.propertysheet.name.TaxonBasePropertySource">
- </instanceof>
- </iterate>
- </and>
- </with>
- </definition>
- </extension>
<extension
name="Name Commands"
point="org.eclipse.ui.commands">
defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
name="Remove Basionym / Original Combination">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
- id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
- name="Change Accepted Taxon to Synonym">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowPropertySheetHandler"
- id="eu.etaxonomy.taxeditor.editor.command.showPropertySheetView"
- name="Show Property Sheet">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.PreviousMemberHandler"
- id="eu.etaxonomy.taxeditor.editor.command.previousMember"
- name="Previous Member">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.NextMemberHandler"
- id="eu.etaxonomy.taxeditor.editor.command.nextMember"
- name="Next Member">
- </command>
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
- id="eu.etaxonomy.taxeditor.editor.command.openParent"
- name="Open Parent">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- defaultHandler="eu.etaxonomy.taxeditor.editor.handler.ShowTabbedPropertiesViewHandler"
- id="eu.etaxonomy.taxeditor.editor.commands.showTabbedPropertiesView"
- name="Tabbed Properties">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.elementFactories">
- <factory
- class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
- id="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory">
- </factory>
- </extension>
- <extension
- point="org.eclipse.ui.perspectiveExtensions">
- <perspectiveExtension
- targetID="eu.etaxonomy.taxeditor.application.perspective">
- <view
- closeable="true"
- id="org.eclipse.ui.views.PropertySheet"
- minimized="false"
- moveable="true"
- ratio="0.7"
- relationship="right"
- relative="org.eclipse.ui.editorss"
- showTitle="false"
- visible="true">
- </view>
- </perspectiveExtension>
- </extension>
- <extension
- point="org.eclipse.ui.bindings">
- <key
- commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
- contextId="org.eclipse.ui.contexts.window"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M2+M3+ARROW_DOWN">
- </key>
- <key
- commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
- contextId="org.eclipse.ui.contexts.window"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M2+M3+ARROW_UP">
- </key>
- <scheme
- description="The default key binding scheme for the Taxonomic Editor"
- id="eu.etaxonomy.taxeditor.bindings.scheme.default"
- name="Taxonomic Editor Default Key Bindings">
- </scheme>
- </extension>
- <extension
- point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
- <propertyContributor
- contributorId="eu.etaxonomy.taxeditor.taxonNameEditor"
- labelProvider="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyPageLabelProvider"
- typeMapper="eu.etaxonomy.taxeditor.propertysheet.tabbed.TaxonTypeMapper">
- <propertyCategory
- category="taxonBase"></propertyCategory>
- </propertyContributor>
- </extension>
- <extension
- point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
- <propertyTabs
- contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
- <propertyTab
- category="taxonBase"
- id="taxonNameEditor.nameTab"
- label="Name">
- </propertyTab>
- <propertyTab
- afterTab="taxonNameEditor.nomRefTab"
- category="taxonBase"
- id="taxonNameEditor.nameRelationsTab"
- label="Name Relations">
- </propertyTab>
- <propertyTab
- afterTab="taxonNameEditor.nameRelationsfTab"
- category="taxonBase"
- id="taxonNameEditor.secundumTab"
- label="Secundum">
- </propertyTab>
- <propertyTab
- afterTab="taxonNameEditor.secundumTab"
- category="taxonBase"
- id="taxonNameEditor.annotationsTab"
- label="Annotations">
- </propertyTab>
- <propertyTab
- afterTab="taxonNameEditor.annotationsTab"
- category="taxonBase"
- id="taxonNameEditor.generalTab"
- label="General">
- </propertyTab>
- </propertyTabs>
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
+ id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
+ name="Change Accepted Taxon to Synonym">
+ </command>
</extension>
<extension
- point="org.eclipse.ui.views.properties.tabbed.propertySections">
- <propertySections
- contributorId="eu.etaxonomy.taxeditor.taxonNameEditor">
- <propertySection
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameOverviewSection"
- id="taxonNameEditor.overview.name"
- tab="taxonNameEditor.nameTab">
- <input
- type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
- </input>
- <input
- type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
- </input>
- </propertySection>
- <propertySection
- afterSection="taxonNameEditor.overview.name"
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NamePropertySection"
- id="taxonNameEditor.nameSection"
- tab="taxonNameEditor.nameTab">
- <input
- type="eu.etaxonomy.taxeditor.editor.name.AcceptedNameComposite">
- </input>
- <input
- type="eu.etaxonomy.taxeditor.editor.name.SynonymComposite">
- </input>
- </propertySection>
- <!--propertySection
- afterSection="taxonNameEditor.nameSection"
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AuthorSection"
- id="taxonNameEditor.authorSection"
- tab="taxonNameEditor.nameTab">
- <input
- type="eu.etaxonomy.cdm.model.taxon.Taxon">
- </input>
- <input
- type="eu.etaxonomy.cdm.model.taxon.Synonym">
- </input>
- </propertySection>
- <propertySection
- afterSection="taxonNameEditor.authorSection"
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NomRefPropertySection"
- id="taxonNameEditor.nomRefSection"
- tab="taxonNameEditor.nameTab">
- <input
- type="eu.etaxonomy.cdm.model.taxon.Taxon">
- </input>
- <input
- type="eu.etaxonomy.cdm.model.taxon.Synonym">
- </input>
- </propertySection-->
- <propertySection
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.CreatedSection"
- id="taxonNameEditor.createdSection"
- tab="taxonNameEditor.generalTab">
- <input
- type="eu.etaxonomy.cdm.model.taxon.Taxon">
- </input>
- <input
- type="eu.etaxonomy.cdm.model.taxon.Synonym">
- </input>
- </propertySection>
- <propertySection
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.AnnotationSection"
- id="taxonNameEditor.annotationSection"
- tab="taxonNameEditor.annotationsTab">
- <input
- type="eu.etaxonomy.cdm.model.taxon.Taxon">
- </input>
- <input
- type="eu.etaxonomy.cdm.model.taxon.Synonym">
- </input>
- </propertySection>
- <propertySection
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.NameRelationsSection"
- id="taxonNameEditor.nameRelationSection"
- tab="taxonNameEditor.nameRelationsTab">
- <input
- type="eu.etaxonomy.cdm.model.taxon.Taxon">
- </input>
- <input
- type="eu.etaxonomy.cdm.model.taxon.Synonym">
- </input>
- </propertySection>
- <propertySection
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.SecundumSection"
- id="taxonNameEditor.secundumSection"
- tab="taxonNameEditor.secundumTab">
- <input
- type="eu.etaxonomy.cdm.model.taxon.Taxon">
- </input>
- <input
- type="eu.etaxonomy.cdm.model.taxon.Synonym">
- </input>
- </propertySection>
- </propertySections>
+ point="org.eclipse.core.expressions.definitions">
+ <definition
+ id="nameEditorActive">
+ <with
+ variable="activeEditorId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
+ </equals>
+ </with>
+ </definition>
+ <definition
+ id="isAcceptedTaxon">
+ <with
+ variable="activeMenuSelection">
+ <iterate>
+ <instanceof
+ value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
+ </instanceof>
+ </iterate>
+ </with>
+ </definition>
+ <definition
+ id="isSynonym">
+ <with
+ variable="activeMenuSelection">
+ <iterate>
+ <instanceof
+ value="eu.etaxonomy.taxeditor.propertysheet.name.SynonymPropertySource">
+ </instanceof>
+ </iterate>
+ </with>
+ </definition>
+ <definition
+ id="isMisapplication">
+ <with
+ variable="activeMenuSelection">
+ <iterate>
+ <instanceof
+ value="eu.etaxonomy.taxeditor.propertysheet.name.MisapplicationPropertySource">
+ </instanceof>
+ </iterate>
+ </with>
+ </definition>
+ <definition
+ id="isConceptRelation">
+ <with
+ variable="activeMenuSelection">
+ <iterate>
+ <instanceof
+ value="eu.etaxonomy.taxeditor.propertysheet.name.ConceptPropertySource">
+ </instanceof>
+ </iterate>
+ </with>
+ </definition>
+ <definition
+ id="isCdmObject">
+ <with
+ variable="activeMenuSelection">
+ <iterate>
+ <instanceof
+ value="eu.etaxonomy.taxeditor.propertysheet.ICdmBasePropertySource">
+ </instanceof>
+ </iterate>
+ </with>
+ </definition>
+ <definition
+ id="isSelectionNonAcceptedTaxonName">
+ <with
+ variable="selection">
+ <and>
+ <not>
+ <iterate>
+ <instanceof
+ value="eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource">
+ </instanceof>
+ </iterate>
+ </not>
+ <iterate>
+ <instanceof
+ value="eu.etaxonomy.taxeditor.propertysheet.name.TaxonBasePropertySource">
+ </instanceof>
+ </iterate>
+ </and>
+ </with>
+ </definition>
</extension>
- <extension
- point="org.eclipse.core.runtime.adapters">
- <factory
- adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
- class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
- <adapter
- type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
- </adapter>
- </factory>
- </extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
</command>
</menuContribution>
</extension>
+ <extension
+ point="org.eclipse.ui.bindings">
+ <key
+ commandId="eu.etaxonomy.taxeditor.editor.command.nextMember"
+ contextId="org.eclipse.ui.contexts.window"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="M2+M3+ARROW_DOWN">
+ </key>
+ <key
+ commandId="eu.etaxonomy.taxeditor.editor.command.previousMember"
+ contextId="org.eclipse.ui.contexts.window"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="M2+M3+ARROW_UP">
+ </key>
+ <scheme
+ description="The default key binding scheme for the Taxonomic Editor"
+ id="eu.etaxonomy.taxeditor.bindings.scheme.default"
+ name="Taxonomic Editor Default Key Bindings">
+ </scheme>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteHandler"
+ commandId="org.eclipse.ui.edit.delete">
+ <activeWhen>
+ <reference
+ definitionId="isDeletable">
+ </reference></activeWhen>
+ </handler>
+ </extension>
<extension
point="org.eclipse.ui.commands">
<command
<definition
id="isDeletable">
<with
- variable="activeMenuSelection">
+ variable="selection">
<or>
<iterate>
<instanceof
type="org.eclipse.jface.viewers.TreeSelection">
</propertyTester>
</extension>
- <extension
- point="org.eclipse.ui.views">
- <view
- allowMultiple="false"
- class="eu.etaxonomy.taxeditor.namerelationsview.NameRelationsView"
- id="taxeditor-editor.namerelationsview"
- name="Name Relations"
- restorable="true">
- </view>
- <view
- allowMultiple="false"
- class="eu.etaxonomy.taxeditor.propertysheet.tabbed.TabbedPropertyView"
- id="eu.etaxonomy.taxeditor.views.tabbedPropertiesView"
- name="Tabbed Properties"
- restorable="true">
- </view>
- </extension>
<extension
point="org.eclipse.ui.commands">
<command
name="New Editor">
</command>
</extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="eu.etaxonomy.taxeditor.editor.descriptiontree.handler.DeleteHandler"
- commandId="org.eclipse.ui.edit.delete">
- <activeWhen>
- <reference
- definitionId="isDeletable">
- </reference></activeWhen>
- </handler>
- </extension>
</plugin>