|
|
|
@ -22,6 +22,7 @@ import com.fr.design.mainframe.JTemplate;
|
|
|
|
|
import com.fr.design.mainframe.manager.clip.TemplateTreeClipboard; |
|
|
|
|
import com.fr.design.notification.NotificationCenter; |
|
|
|
|
import com.fr.design.plugin.remind.PluginErrorDesignReminder; |
|
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
|
import com.fr.design.utils.DesignUtils; |
|
|
|
|
import com.fr.design.versioncheck.VersionCheckUtils; |
|
|
|
|
import com.fr.env.EnvListPane; |
|
|
|
@ -515,7 +516,7 @@ public class EnvChangeEntrance {
|
|
|
|
|
final EnvListPane envListPane = new EnvListPane(); |
|
|
|
|
final BasicDialog envListDialog = envListPane.showWindow(DesignerContext.getDesignerFrame()); |
|
|
|
|
dialog = envListDialog; |
|
|
|
|
envListPane.populateEnvManager(envName); |
|
|
|
|
UIUtil.invokeLaterIfNeeded(() -> envListPane.populateEnvManager(envName)); |
|
|
|
|
envListDialog.addDialogActionListener(new DialogActionAdapter() { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@ -552,7 +553,7 @@ public class EnvChangeEntrance {
|
|
|
|
|
eventPipe.fire(new CarryMessageEvent(ReportState.STOP.getValue())); |
|
|
|
|
} |
|
|
|
|
final EnvListPane envListPane = new EnvListPane(); |
|
|
|
|
envListPane.populateEnvManager(DesignerEnvManager.getEnvManager().getCurEnvName()); |
|
|
|
|
UIUtil.invokeLaterIfNeeded(() -> envListPane.populateEnvManager(DesignerEnvManager.getEnvManager().getCurEnvName())); |
|
|
|
|
BasicDialog envListDialog = envListPane.showWindow(SwingUtilities.getWindowAncestor(DesignerContext.getDesignerFrame())); |
|
|
|
|
dialog = envListDialog; |
|
|
|
|
envListDialog.addDialogActionListener(new DialogActionAdapter() { |
|
|
|
@ -582,7 +583,7 @@ public class EnvChangeEntrance {
|
|
|
|
|
envListDialog.setVisible(true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
/** |
|
|
|
|
* 切换环境后 刷新远程目录需要忘记密码的情况 |
|
|
|
|
*/ |
|
|
|
|
private void updateNotRememberPwdEnv() { |
|
|
|
|