- <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>
- </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
- 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>
- <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
- 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>