<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
- <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="%extension-point.name" schema="schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd"/>
+ <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="Cdm Viewer" schema="schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd"/>
<extension
point="org.eclipse.ui.preferencePages">
<page
id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
name="%page.name.30">
</page>
- <page
+ <page
category="eu.etaxonomy.taxeditor.preferences.general"
class="eu.etaxonomy.taxeditor.preference.OrderPreferences"
- id="eu.etaxonomy.taxeditor.preference.OrderPreferencesPage"
- name="%page.name.31">
+ id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
+ name="%page.name.32">
</page>
</extension>
<extension
name="%view.name.5"
restorable="true">
</view>
- <view
- class="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
- icon="icons/derivate_search_view-16x16-32.png"
- id="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
- name="%view.name.6"
- restorable="true">
- </view>
<view
allowMultiple="false"
class="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"
id="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart"
- name="Sessions"
+ name="%view.name.SESSIONS"
restorable="false">
</view>
</extension>
label="%menu.label">
<command
commandId="org.eclipse.ui.views.showView"
- label="%command.label"
- style="push">
- <parameter
- name="org.eclipse.ui.views.showView.viewId"
- value="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
- </parameter>
- </command>
- <separator
- name="eu.etaxonomy.taxeditor.store.showViewMenu.details"
- visible="true">
- </separator>
- <command
- commandId="org.eclipse.ui.views.showView"
+ id="eu.etaxonomy.taxeditor.store.showViewMenu.details"
label="%command.label.0"
style="push">
<parameter
name="org.eclipse.ui.views.showView.viewId"
value="eu.etaxonomy.taxeditor.view.detail">
</parameter>
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ </visibleWhen>
</command>
<command
commandId="org.eclipse.ui.views.showView"
name="org.eclipse.ui.views.showView.viewId"
value="eu.etaxonomy.taxeditor.view.supplementalData">
</parameter>
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ </visibleWhen>
</command>
<!-- Originally used by validation framework, currently not in use -->
<!-- <command
</parameter>
<visibleWhen
checkEnabled="true">
- <reference
- definitionId="isShowExperimentalFeatures">
- </reference>
+ <and>
+ <reference
+ definitionId="isShowExperimentalFeatures">
+ </reference>
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ </and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.ui.views.showView"
- label="Sessions"
+ label="%command.label.SESSION"
style="push">
<parameter
name="org.eclipse.ui.views.showView.viewId"
value="eu.etaxonomy.taxeditor.view.sessions.SessionsViewPart">
</parameter>
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ </visibleWhen>
</command>
</menu>
</menuContribution>
- <menuContribution
- class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
- locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
+ <menuContribution
+ allPopups="false"
+ locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
+ <dynamic
+ class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu"
+ id="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenu">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ </visibleWhen>
+ </dynamic>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
+ <command
+ commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
+ label="%command.label.CONNECT"
+ style="push">
+ </command>
<command
commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
label="%command.label.5"
style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isUserLoggedIn">
+ </reference>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
+ label="%command.label.RE_CONNECT"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isUserLoggedIn">
+ </reference>
+ </visibleWhen>
</command>
<separator
name="eu.etaxonomy.taxeditor.application.filemenu.login"
</visibleWhen>
</command>
</menuContribution>
- <menuContribution
- allPopups="false"
- locationURI="popup:eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
- <command
- commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
- label="%command.label.openInSpecimenEditor"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <with
- variable="selection">
- <count
- value="+">
- </count>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
</extension>
<extension
point="org.eclipse.ui.handlers">
</activeWhen>
</handler>
<handler
- class="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
- commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
- <enabledWhen>
- <reference
- definitionId="isUserLoggedIn">
- </reference></enabledWhen>
+ class="eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler"
+ commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow">
</handler>
<handler
class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
</reference>
</activeWhen>
</handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
+ commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
+ <activeWhen>
+ <reference
+ definitionId="isRemoting">
+ </reference>
+ </activeWhen>
+ </handler>
</extension>
<extension
name="%extension.name.0"
name="%command.name.3">
</command>
<command
+ defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
name="%command.name.4">
</command>
+ <command
+ id="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
+ name="%command.name.CONNECT">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
+ id="eu.etaxonomy.taxeditor.store.operations.reconnect"
+ name="%command.name.RE_CONNECT">
+ </command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
name="Inspect Active Session">
</command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
+ id="eu.etaxonomy.taxeditor.store.open"
+ name="%command.name.15">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.DefaultOpenClassificationWizardHandler"
+ id="eu.etaxonomy.taxeditor.command.openClassificationWizard"
+ name="%command.name.OPEN_CLASSIFICATION_WIZARD">
+ <commandParameter
+ id="eu.etaxonomy.taxeditor.command.openClassificationWizard.uuid"
+ name="Classification Uuid"
+ optional="true"
+ typeId="eu.etaxonomy.taxeditor.uuidParameterType">
+ </commandParameter>
+ </command>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <commandParameterType
+ converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
+ id="eu.etaxonomy.taxeditor.uuidParameterType"
+ type="java.util.UUID">
+ </commandParameterType>
+ <commandParameterType
+ converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
+ id="eu.etaxonomy.taxeditor.uuidsParameterType"
+ type="java.util.List">
+ </commandParameterType>
</extension>
<extension
point="org.eclipse.ui.importWizards">
</variable>
</sourceProvider>
</extension>
+<extension
+ point="eu.etaxonomy.taxeditor.store.cdmViewer">
+ <viewCommandMapping
+ commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
+ selection="eu.etaxonomy.cdm.model.taxon.Classification"
+ viewerName="Classification Wizard">
+ </viewCommandMapping>
+</extension>
</plugin>