|
|
@ -96,9 +96,10 @@ public class EnvChangeEntrance { |
|
|
|
* @param envName 目标工作目录名称 |
|
|
|
* @param envName 目标工作目录名称 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void switch2Env(final String envName) { |
|
|
|
public void switch2Env(final String envName) { |
|
|
|
switch2Env(envName, PopTipStrategy.LATER); |
|
|
|
if (switch2Env(envName, PopTipStrategy.LATER)) { |
|
|
|
VersionCheckUtils.showVersionCheckDialog(envName); |
|
|
|
VersionCheckUtils.showVersionCheckDialog(envName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 切换到新环境 |
|
|
|
* 切换到新环境 |
|
|
@ -445,9 +446,12 @@ public class EnvChangeEntrance { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void doOk() { |
|
|
|
public void doOk() { |
|
|
|
envListOkAction(envListPane, PopTipStrategy.LATER); |
|
|
|
boolean changeResult = envListOkAction(envListPane, PopTipStrategy.LATER); |
|
|
|
// 切换完成后清理密码
|
|
|
|
// 切换完成后清理密码
|
|
|
|
updateNotRememberPwdEnv(); |
|
|
|
updateNotRememberPwdEnv(); |
|
|
|
|
|
|
|
if (changeResult) { |
|
|
|
|
|
|
|
VersionCheckUtils.showVersionCheckDialog(envListPane.updateEnvManager()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -479,6 +483,7 @@ public class EnvChangeEntrance { |
|
|
|
DesignerExiter.getInstance().execute(); |
|
|
|
DesignerExiter.getInstance().execute(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
updateNotRememberPwdEnv(); |
|
|
|
updateNotRememberPwdEnv(); |
|
|
|
|
|
|
|
VersionCheckUtils.showVersionCheckDialog(envListPane.updateEnvManager()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|