X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=rcp%2Forg.argeo.cms.e4.rcp%2Fsrc%2Forg%2Fargeo%2Fcms%2Fe4%2Frcp%2FCmsE4Application.java;h=a708af13f2bf7e59a025f51aeb7734ffdc149420;hb=24b0a95d075605ab692e04b7e70f29e525006bbb;hp=629da60aae8eefae2871ada690bcfe1ab582eb9f;hpb=8aabf69b47fce7f91ce335bea141e529edb0affb;p=lgpl%2Fargeo-commons.git diff --git a/rcp/org.argeo.cms.e4.rcp/src/org/argeo/cms/e4/rcp/CmsE4Application.java b/rcp/org.argeo.cms.e4.rcp/src/org/argeo/cms/e4/rcp/CmsE4Application.java index 629da60aa..a708af13f 100644 --- a/rcp/org.argeo.cms.e4.rcp/src/org/argeo/cms/e4/rcp/CmsE4Application.java +++ b/rcp/org.argeo.cms.e4.rcp/src/org/argeo/cms/e4/rcp/CmsE4Application.java @@ -33,11 +33,11 @@ public class CmsE4Application implements IApplication, CmsView { public Object start(IApplicationContext context) throws Exception { // TODO wait for CMS to be ready Thread.sleep(5000); - + uid = UUID.randomUUID().toString(); Subject subject = new Subject(); Display display = createDisplay(); - CmsLoginShell loginShell = new CmsLoginShell(this); + CmsLoginShell loginShell = new CmsLoginShell(this, null); // TODO customize CmsLoginShell to be smaller and centered loginShell.setSubject(subject); try { @@ -83,7 +83,7 @@ public class CmsE4Application implements IApplication, CmsView { // } uxContext = new SimpleSwtUxContext(); - //UiContext.setData(CmsView.KEY, this); + // UiContext.setData(CmsView.KEY, this); CmsSwtUtils.registerCmsView(loginShell.getShell(), this); e4Application = getApplication(null); Object res = Subject.doAs(subject, new PrivilegedExceptionAction() { @@ -204,5 +204,4 @@ public class CmsE4Application implements IApplication, CmsView { return uid; } - }