<!-- themeId attribute is by default set to this value.
Left anyway to provide the pattern when defining a later
own default theme for Argeo Rap UIs.
- corresponding theme is found in spite of the warning -->
+ corresponding theme is found in spite of the warning -->
+
+ <!--
+ body="branding/login.html"
+ body attribute pointing to an auto refresh page triggers weird side effects:
+ the whole workbench is re-loaded (like pressing on F5) every now and then.
+ Must be checked. Removed from the time being.-->
<branding
id="org.argeo.security.ui.rap.defaultBranding"
themeId="org.eclipse.rap.rwt.theme.Default"
title="Argeo Web UI"
- favicon="branding/favicon.ico"
- body="branding/login.html">
+ favicon="branding/favicon.ico">
</branding>
<!-- we need a servlet with this name j_spring_security_logout
for the logout filter -->
</extension>
<!-- LOCAL THEMES - Use the following to extend or overwrite default theme -->
-<!-- <extension
+ <!-- <extension
point="org.eclipse.rap.ui.themes">
<themeContribution
themeId="org.eclipse.rap.rwt.theme.Default"
file="theme/defaultExt.css" />
</extension> -->
-
- <extension
- point="org.eclipse.equinox.security.callbackHandlerMapping">
- <callbackHandlerMapping
+ <extension
+ point="org.eclipse.equinox.security.callbackHandlerMapping">
+ <callbackHandlerMapping
callbackHandlerId="org.argeo.security.ui.defaultLoginDialog"
configName="SPRING">
- </callbackHandlerMapping>
- </extension>
- <extension
- point="org.eclipse.equinox.security.callbackHandlerMapping">
- <callbackHandlerMapping
- callbackHandlerId="org.argeo.security.ui.defaultLoginDialog"
- configName="NIX">
- </callbackHandlerMapping>
- </extension>
- <extension
+ </callbackHandlerMapping>
+ </extension>
+ <extension
+ point="org.eclipse.equinox.security.callbackHandlerMapping">
+ <callbackHandlerMapping
+ callbackHandlerId="org.argeo.security.ui.defaultLoginDialog"
+ configName="NIX">
+ </callbackHandlerMapping>
+ </extension>
+ <extension
point="org.eclipse.equinox.security.callbackHandlerMapping">
<callbackHandlerMapping
callbackHandlerId="org.argeo.security.ui.defaultLoginDialog"
</menuContribution> -->
</extension>
- <extension point="org.eclipse.ui.commands">
- <command
- id="org.argeo.security.ui.rap.openChangePasswordDialog"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Change Password">
- </command>
- <command
- id="org.argeo.security.ui.rap.mainMenuCommand"
- defaultHandler="org.argeo.security.ui.commands.OpenHomePerspective"
- name="Main">
- </command>
- </extension>
+ <!-- COMMANDS -->
+ <extension point="org.eclipse.ui.commands">
+ <command
+ id="org.argeo.security.ui.rap.openChangePasswordDialog"
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ name="Change Password">
+ </command>
+ <command
+ id="org.argeo.security.ui.rap.mainMenuCommand"
+ defaultHandler="org.argeo.security.ui.commands.OpenHomePerspective"
+ name="Main">
+ </command>
+
+ <!-- Register a default command that enable an "open file" action in a single sourced application -->
+ <command
+ defaultHandler="org.argeo.eclipse.spring.SpringExtensionFactory"
+ id="org.argeo.security.ui.specific.openFile"
+ name="OpenFile">
+ <commandParameter
+ id="param.fileName"
+ name="The name of the file to open (optional)">
+ </commandParameter>
+ <commandParameter
+ id="param.fileURI"
+ name="The URI of this file on the server">
+ </commandParameter>
+ <commandParameter
+ id="param.filePath"
+ name="The absolute path of this file on the server file system">
+ </commandParameter>
+ </command>
+ </extension>
+
+ <!-- SERVICE HANDLERS -->
+ <extension point="org.eclipse.rap.ui.serviceHandler">
+ <!-- The required rap specific handler to call the open file command over the internet-->
+ <serviceHandler
+ class="org.argeo.eclipse.ui.specific.OpenFileService"
+ id="org.argeo.security.ui.specific.openFileService">
+ </serviceHandler>
+ </extension>
- <extension
+ <extension
point="org.eclipse.ui.activities">
<activity
description="Anonymous"