|
|
@ -62,12 +62,12 @@ public class DesignerWorkspaceProvider extends Activator { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
WorkContext.switchTo(workspace); |
|
|
|
WorkContext.switchTo(workspace); |
|
|
|
//在设计器完全启动完成后,对初始环境进行一次服务检测,对主要功能无影响,异常仅做日志提示即可
|
|
|
|
//在设计器完全启动完成后,对初始环境进行一次服务检测,对主要功能无影响,异常仅做日志提示即可
|
|
|
|
final DesignerWorkspaceInfo selectEnv = workspaceInfo; |
|
|
|
final String selectEnv = current; |
|
|
|
EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() { |
|
|
|
EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void on(Event event, Null aNull) { |
|
|
|
public void on(Event event, Null aNull) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
VersionCheckUtils.showVersionCheckDialog(selectEnv.getName()); |
|
|
|
VersionCheckUtils.showVersionCheckDialog(selectEnv); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
FineLoggerFactory.getLogger().warn("Check Service Failed"); |
|
|
|
FineLoggerFactory.getLogger().warn("Check Service Failed"); |
|
|
|
} |
|
|
|
} |
|
|
|