pidPrefix = appPid.substring(0, lastDotIndex);
}
} else {
- // TODO doe it make sense to accept that?
+ // TODO does it make sense to accept that?
appPid = "<unknown>";
}
// leadPanePid = pidPrefix + "leadPane";
// adminLeadPanePid = pidPrefix + "adminLeadPane";
// loginScreenPid = pidPrefix + "loginScreen";
+
}
public void stop(Map<String, Object> properties) {
String uid = cmsView.getUid();
managedUis.put(uid, argeoSuiteUi);
argeoSuiteUi.addDisposeListener(new CleanUpUi(uid));
-// argeoSuiteUi.addDisposeListener((e) -> {
-// managedUis.remove(uid);
-// if (log.isDebugEnabled())
-// log.debug("Suite UI " + uid + " has been disposed.");
-// });
-// Display.getCurrent().disposeExec(() -> {
-// if (managedUis.containsKey(uid)) {
-// managedUis.remove(uid);
-// if (log.isDebugEnabled())
-// log.debug("Suite UI " + uid + " has been disposed from Display#disposeExec().");
-// }
-// });
return argeoSuiteUi;
}
try {
Content context = null;
SwtAppUi ui = (SwtAppUi) cmsUi;
+ ui.updateLastAccess();
String uiName = Objects.toString(ui.getParent().getData(UI_NAME_PROPERTY), null);
if (uiName == null)
.get(Content.ROOT_PATH + CmsConstants.SYS_WORKSPACE + publicBasePath);
ui.setUserDir(userDir);
} else {
- Content userDir = appUserState.getOrCreateSessionDir(contentSession, cmsSession);
+ Content userDir = appUserState.getOrCreateSessionDir(cmsSession);
ui.setUserDir(userDir);
// Node userDirNode = jcrContentProvider.doInAdminSession((adminSession) -> {
// Node node = SuiteUtils.getOrCreateCmsSessionNode(adminSession, cmsSession);
SwtAppUi ui = getRelatedUi(event);
if (ui == null)
return;
+ ui.updateLastAccess();
ui.getCmsView().runAs(() -> {
try {
String appTitle = "";