id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
name="Mobot Open Url">
</page>
+ <page
+ category="eu.etaxonomy.taxeditor.preferences.general"
+ class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
+ id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
+ name="Type Designations">
+ </page>
</extension>
<extension
point="org.eclipse.ui.views">
restorable="true">
</view>
</extension>
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
+ default="false"
+ id="eu.etaxonomy.taxeditor.editor.definedTerm"
+ name="Defined Term Editor">
+ </editor>
+ </extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
</visibleWhen>
</command>
</menu>
+ <menu
+ id="eu.etaxonomy.taxeditor.store.definedTermEditorMenu"
+ label="Term Editor">
+ <command
+ commandId="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
+ label="Named Area"
+ style="push">
+ <parameter
+ name="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.parameter"
+ value="eu.etaxonomy.cdm.model.location.NamedArea">
+ </parameter>
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
+ label="Named Area Level"
+ style="push">
+ <parameter
+ name="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.parameter"
+ value="eu.etaxonomy.cdm.model.location.NamedAreaLevel">
+ </parameter>
+ </command>
+ <separator
+ name="eu.etaxonomy.taxeditor.store.definedTermEditorMenu.separator2"
+ visible="true">
+ </separator>
+ <command
+ commandId="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
+ label="Extension Type"
+ style="push">
+ <parameter
+ name="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.parameter"
+ value="eu.etaxonomy.cdm.model.common.ExtensionType">
+ </parameter>
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
+ label="Marker Type"
+ style="push">
+ <parameter
+ name="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.parameter"
+ value="eu.etaxonomy.cdm.model.description.Feature">
+ </parameter>
+ </command>
+ <separator
+ name="eu.etaxonomy.taxeditor.store.definedTermEditorMenu.separator3"
+ visible="true">
+ </separator>
+ <command
+ commandId="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
+ label="Feature"
+ style="push">
+ <parameter
+ name="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.parameter"
+ value="eu.etaxonomy.cdm.model.description.Feature">
+ </parameter>
+ </command>
+ </menu>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
</control>
</toolbar>
</menuContribution>
+ <menuContribution
+ locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
+ <menu
+ label="New">
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
+ label="Vocabulary"
+ style="push">
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
+ label="Defined Term"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isModifiable">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menu>
+ <command
+ commandId="org.eclipse.ui.edit.delete"
+ label="Delete"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isModifiable">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
</extension>
<extension
name="Window Menu Commands"
point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
+ id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
+ name="Open Defined Term Editor">
+ <commandParameter
+ id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.parameter"
+ name="inputType"
+ optional="true">
+ </commandParameter>
+ </command>
+ </extension>
+ <extension
+ name="File Menu Commands"
+ point="org.eclipse.ui.commands">
<command
defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
</with>
</activeWhen>
</handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
+ commandId="org.eclipse.ui.edit.delete">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.editor.definedTerm">
+ </equals>
+ </with>
+ </activeWhen>
+ </handler>
</extension>
<extension
name="Popup Menu Commands"
name="Update Datasource">
</command>
</extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
+ id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
+ name="New Defined Term">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
+ id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
+ name="New Term Vocabulary">
+ </command>
+ </extension>
<extension
point="org.eclipse.ui.importWizards">
<category
properties="isShowExperimentalFeatures"
type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
+ <propertyTester
+ class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
+ id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
+ namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
+ properties="isModifiable"
+ type="org.eclipse.jface.viewers.IStructuredSelection">
+ </propertyTester>
</extension>
<extension
point="org.eclipse.core.expressions.definitions">
</test>
</with>
</definition>
+ <definition
+ id="isModifiable">
+ <with
+ variable="activeMenuSelection">
+ <test
+ property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
+ </test>
+ </with>
+ </definition>
</extension>
</plugin>