]>
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.views.showView"/>-->
113 <!--<command commandId="org.eclipse.ui.perspectives.showPerspective"/>-->
114 <command commandId=
"org.eclipse.ui.file.exit" icon=
"icons/exit.png"/>
119 <extension point=
"org.eclipse.ui.commands">
121 id=
"org.argeo.security.ui.rap.openChangePasswordDialog"
122 defaultHandler=
"org.argeo.eclipse.spring.SpringCommandHandler"
123 name=
"Change Password">
126 id=
"org.argeo.security.ui.rap.mainMenuCommand"
127 defaultHandler=
"org.argeo.security.ui.commands.OpenHomePerspective"
131 <!-- Register a default command that enable an "open file" action in a single sourced application -->
133 defaultHandler=
"org.argeo.eclipse.spring.SpringExtensionFactory"
134 id=
"org.argeo.security.ui.specific.openFile"
138 name=
"The name of the file to open (optional)">
142 name=
"The URI of this file on the server">
146 name=
"The absolute path of this file on the server file system">
151 <!-- SERVICE HANDLERS -->
152 <extension point=
"org.eclipse.rap.ui.serviceHandler">
153 <!-- The required rap specific handler to call the open file command over the internet-->
155 class=
"org.argeo.eclipse.ui.specific.OpenFileService"
156 id=
"org.argeo.security.ui.specific.openFileService">
161 point=
"org.eclipse.ui.activities">
163 description=
"Anonymous"
164 id=
"org.argeo.security.ui.rap.anonymousActivity"
167 <with variable=
"roles">
168 <iterate ifEmpty=
"false" operator=
"or">
169 <equals value=
"ROLE_ANONYMOUS" />
175 description=
"Not anonymous"
176 id=
"org.argeo.security.ui.rap.notAnonymousActivity"
180 <with variable=
"roles">
181 <iterate ifEmpty=
"false" operator=
"or">
182 <equals value=
"ROLE_ANONYMOUS" />
188 <activityPatternBinding
189 activityId=
"org.argeo.security.ui.rap.notAnonymousActivity"
190 pattern=
"org.argeo.security.ui.rap/org.argeo.security.ui.rap.userMenuCommand"/>
191 <activityPatternBinding
192 activityId=
"org.argeo.security.ui.rap.notAnonymousActivity"
193 pattern=
"org.argeo.security.ui.rap/org.eclipse.ui.window.preferences"/>
194 <activityPatternBinding
195 activityId=
"org.argeo.security.ui.rap.notAnonymousActivity"
196 pattern=
"org.argeo.security.ui.rap/org.argeo.security.ui.rap.openChangePasswordDialog"/>