Continue finalising security. Fix issues with login in web.
[lgpl/argeo-commons.git] / org.argeo.cms.ui / src / org / argeo / cms / widgets / auth / CmsLoginShell.java
index c31ad96579d08853f1c95e6fd6cd6569c56ae5ef..dea632de8b2f29ab2bc6e79152c22c90d9aa3ff9 100644 (file)
@@ -1,7 +1,7 @@
 package org.argeo.cms.widgets.auth;
 
 import org.argeo.cms.ui.CmsView;
-import org.eclipse.rap.rwt.RWT;
+import org.argeo.cms.util.CmsUtils;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Control;
 import org.eclipse.swt.widgets.Display;
@@ -14,8 +14,8 @@ public class CmsLoginShell extends CmsLogin {
        public CmsLoginShell(CmsView cmsView) {
                super(cmsView);
                shell = createShell();
-               shell.setData(RWT.CUSTOM_VARIANT, CMS_USER_MENU);
-               createUi(shell);
+               CmsUtils.style(shell, CMS_USER_MENU);
+//             createUi(shell);
        }
 
        /** To be overridden. */
@@ -65,4 +65,8 @@ public class CmsLoginShell extends CmsLogin {
        public Shell getShell() {
                return shell;
        }
+       
+       public void createUi(){
+               createUi(shell);
+       }
 }