Remove unused package.
[lgpl/argeo-commons.git] / org.argeo.cms.ui / src / org / argeo / cms / widgets / auth / CmsLoginShell.java
index 6afaa767c7b3506b9a4d63e80d4d78ee36739796..dea632de8b2f29ab2bc6e79152c22c90d9aa3ff9 100644 (file)
@@ -1,13 +1,11 @@
 package org.argeo.cms.widgets.auth;
 
 import org.argeo.cms.ui.CmsView;
-import org.argeo.eclipse.ui.dialogs.ErrorFeedback;
-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;
 import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Widget;
 
 /** The site-related user menu */
 public class CmsLoginShell extends CmsLogin {
@@ -16,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. */
@@ -67,4 +65,8 @@ public class CmsLoginShell extends CmsLogin {
        public Shell getShell() {
                return shell;
        }
+       
+       public void createUi(){
+               createUi(shell);
+       }
 }