]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.security.ui.rap/plugin.xml
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <?eclipse version=
"3.4"?>
5 point=
"org.eclipse.rap.ui.entrypoint">
7 id=
"org.argeo.security.ui.rap.secureEntryPoint"
8 class=
"org.argeo.security.ui.rap.SecureEntryPoint"
10 brandingId=
"org.argeo.security.ui.rap.defaultBranding">
13 id=
"org.argeo.security.ui.rap.secureEntryPoint"
14 class=
"org.argeo.security.ui.rap.SecureEntryPoint"
16 brandingId=
"org.argeo.security.ui.rap.defaultBranding">
19 id=
"org.argeo.security.ui.rap.anonymousEntryPoint"
20 class=
"org.argeo.security.ui.rap.AnonymousEntryPoint"
22 brandingId=
"org.argeo.security.ui.rap.defaultBranding">
25 id="org.argeo.security.ui.rap.logoutEntryPoint"
26 class="org.argeo.security.ui.rap.LogoutEntryPoint"
28 brandingId="org.argeo.security.ui.rap.logoutBranding">
31 id=
"org.argeo.security.ui.rap.nullEntryPoint"
32 class=
"org.argeo.security.ui.rap.NullEntryPoint"
38 point=
"org.eclipse.rap.ui.branding">
39 <!-- themeId attribute is by default set to this value.
40 Left anyway to provide the pattern when defining a later
41 own default theme for Argeo Rap UIs.
42 corresponding theme is found in spite of the warning -->
45 body="branding/login.html"
46 body attribute pointing to an auto refresh page triggers weird side effects:
47 the whole workbench is re-loaded (like pressing on F5) every now and then.
48 Must be checked. Removed from the time being.-->
50 id=
"org.argeo.security.ui.rap.defaultBranding"
51 themeId=
"org.eclipse.rap.rwt.theme.Default"
53 favicon=
"branding/favicon.ico">
55 <!-- we need a servlet with this name j_spring_security_logout
56 for the logout filter -->
58 id=
"org.argeo.security.ui.rap.logoutBranding"
60 favicon=
"branding/favicon.ico"
61 body=
"branding/empty.html">
65 <!-- LOCAL THEMES - Use the following to extend or overwrite default theme -->
67 point="org.eclipse.rap.ui.themes">
69 themeId="org.eclipse.rap.rwt.theme.Default"
70 file="theme/defaultExt.css" />
73 <!-- <extension point="org.eclipse.ui.menus">
74 <menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar">
75 <toolbar id="org.argeo.security.ui.rap.userToolbar">
77 commandId="org.argeo.security.ui.rap.mainMenuCommand"
79 id="org.argeo.security.ui.rap.mainMenu"
82 <command commandId="org.eclipse.ui.file.save"/>
83 <command commandId="org.eclipse.ui.file.saveAll"/>
86 <menuContribution locationURI="menu:org.argeo.security.ui.rap.mainMenu">
88 commandId="org.argeo.security.ui.rap.userMenuCommand"
90 id="org.argeo.security.ui.rap.userMenu">
93 commandId="org.eclipse.ui.window.preferences"
94 icon="icons/preferences.png"/>
96 commandId="org.argeo.security.ui.rap.openChangePasswordDialog"
97 icon="icons/password.gif"
98 label="Change password"/>
100 name="org.argeo.security.ui.rap.beforeFile"
104 commandId="org.eclipse.ui.file.closeAll"
105 icon="icons/closeAll.gif"/>
106 <command commandId="org.eclipse.ui.file.save"/>
107 <command commandId="org.eclipse.ui.file.saveAll"/>
109 name="org.argeo.security.ui.rap.beforeExit"
112 <command commandId="org.eclipse.ui.file.exit" icon="icons/exit.png"/>
116 <!--<command commandId="org.eclipse.ui.views.showView"/>-->
117 <!--<command commandId="org.eclipse.ui.perspectives.showPerspective"/>-->
121 <extension point=
"org.eclipse.ui.commands">
123 id=
"org.argeo.security.ui.rap.openChangePasswordDialog"
124 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
125 name=
"Change Password">
128 id=
"org.argeo.security.ui.rap.mainMenuCommand"
129 defaultHandler=
"org.argeo.security.ui.commands.OpenHomePerspective"
133 <!-- Register a default command that enable an "open file" action in a single sourced application -->
135 defaultHandler=
"org.argeo.eclipse.spring.SpringExtensionFactory"
136 id=
"org.argeo.security.ui.specific.openFile"
140 name=
"The name of the file to open (optional)">
144 name=
"The URI of this file on the server">
148 name=
"The absolute path of this file on the server file system">
153 <!-- SERVICE HANDLERS -->
154 <extension point=
"org.eclipse.rap.ui.serviceHandler">
155 <!-- The required rap specific handler to call the open file command over the internet-->
157 class=
"org.argeo.eclipse.ui.specific.OpenFileService"
158 id=
"org.argeo.security.ui.specific.openFileService">
163 point=
"org.eclipse.ui.activities">
165 description=
"Anonymous"
166 id=
"org.argeo.security.ui.rap.anonymousActivity"
169 <with variable=
"roles">
170 <iterate ifEmpty=
"false" operator=
"or">
171 <equals value=
"ROLE_ANONYMOUS" />
177 description=
"Not anonymous"
178 id=
"org.argeo.security.ui.rap.notAnonymousActivity"
182 <with variable=
"roles">
183 <iterate ifEmpty=
"false" operator=
"or">
184 <equals value=
"ROLE_ANONYMOUS" />
190 <activityPatternBinding
191 activityId=
"org.argeo.security.ui.rap.notAnonymousActivity"
192 pattern=
"org.argeo.security.ui.rap/org.argeo.security.ui.rap.userMenuCommand"/>
193 <activityPatternBinding
194 activityId=
"org.argeo.security.ui.rap.notAnonymousActivity"
195 pattern=
"org.argeo.security.ui.rap/org.eclipse.ui.window.preferences"/>
196 <activityPatternBinding
197 activityId=
"org.argeo.security.ui.rap.notAnonymousActivity"
198 pattern=
"org.argeo.security.ui.rap/org.argeo.security.ui.rap.openChangePasswordDialog"/>