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