import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.Composite;
-/** The {@link CmsView} for the work ergonomics of Argeo Suite. */
+/** The view for the default ergonomics of Argeo Suite. */
class SuiteUi extends Composite {
private static final long serialVersionUID = 6207018859086689108L;
context = userHome;
}
Composite toShow = getLayer(layer, context);
- getDisplay().syncExec(() -> {
- toShow.moveAbove(null);
- dynamicArea.layout(true, true);
- });
+ if (!isDisposed())
+ getDisplay().syncExec(() -> {
+ toShow.moveAbove(null);
+ dynamicArea.layout(true, true);
+ });
currentLayerId = layer;
return toShow;
}
throw new IllegalArgumentException("Unknown workspace " + workspaceName);
}
+ public CmsView getCmsView() {
+ return cmsView;
+ }
+
+
+
}