public static DesktopElement makeDeviceWorkspaceDesktopElement(final DeviceContext device, final ViewInstance vi, final boolean isFloatable, final ActivityContext activityContext, final DesktopNodeDescriptor nd) {
return new DeviceWorkspaceDesktopElement(vi, isFloatable, activityContext, nd, device);
}
protected CallbackTaskResult openView(final DesktopElement desktopElement, final boolean activate) {
init(new CallbackTaskRunnable() {
public Object run() throws ComponentGenerationException, ChildViewNotAllowedException, LogicalHierarchyException {
return new Boolean(ZoeosFrame.getInstance().getZDesktopManager().addDesktopElement(desktopElement, activate));
}
});
return execute();