X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=core%2Forg.argeo.suite.ui%2Fsrc%2Forg%2Fargeo%2Fsuite%2Fui%2FSuiteUi.java;h=187888e55e0190d4b5a2cd8b2998627622d46ddb;hp=ca2d9c38378321042e3997468a40bf431a3f8060;hb=25f40e8e6c393b188e53d81c96da10ea0294dfbd;hpb=44b2a06f610d0a13947af46f0f27e7d814865972 diff --git a/core/org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteUi.java b/core/org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteUi.java index ca2d9c3..187888e 100644 --- a/core/org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteUi.java +++ b/core/org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteUi.java @@ -149,6 +149,7 @@ class SuiteUi extends Composite { } throw new IllegalArgumentException("Layer is not registered."); } + void addLayer(String id, SuiteLayer layer) { layers.put(id, layer); @@ -174,7 +175,7 @@ class SuiteUi extends Composite { synchronized void logout() { userDir = null; Jcr.logout(sysSession); -// Jcr.logout(homeSession); + Jcr.logout(homeSession); currentLayerId = null; workAreas.clear(); }