</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="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="Re-Connect"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isUserLoggedIn">
+ </reference>
+ </visibleWhen>
</command>
<separator
name="eu.etaxonomy.taxeditor.application.filemenu.login"
</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="Connect">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
+ id="eu.etaxonomy.taxeditor.store.operations.reconnect"
+ name="Re-Connect">
+ </command>
<command
defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"