|
|
|
@ -141,7 +141,12 @@ public class DesignerStartupContext {
|
|
|
|
|
|
|
|
|
|
String curEnvName = DesignerEnvManager.getEnvManager().getCurEnvName(); |
|
|
|
|
DesignerWorkspaceInfo workspaceInfo = DesignerEnvManager.getEnvManager().getWorkspaceInfo(curEnvName); |
|
|
|
|
return workspaceInfo.getType() == DesignerWorkspaceType.Local; |
|
|
|
|
boolean valid = false; |
|
|
|
|
try { |
|
|
|
|
valid = workspaceInfo.checkValid(); |
|
|
|
|
} catch (Exception ignore) { |
|
|
|
|
} |
|
|
|
|
return workspaceInfo.getType() == DesignerWorkspaceType.Local && valid; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setStartupPageModel(StartupPageModel startupPageModel) { |
|
|
|
|