|
|
@ -13,6 +13,7 @@ import com.fr.design.env.DesignerWorkspaceType; |
|
|
|
import com.fr.design.env.RemoteDesignerWorkspaceInfo; |
|
|
|
import com.fr.design.env.RemoteDesignerWorkspaceInfo; |
|
|
|
import com.fr.design.env.RemoteWorkspace; |
|
|
|
import com.fr.design.env.RemoteWorkspace; |
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
|
|
|
|
import com.fr.design.file.SaveSomeTemplatePane; |
|
|
|
import com.fr.design.file.TemplateTreePane; |
|
|
|
import com.fr.design.file.TemplateTreePane; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
@ -82,6 +83,8 @@ public class EnvChangeEntrance { |
|
|
|
|
|
|
|
|
|
|
|
private boolean envListOkAction(EnvListPane envListPane, PopTipStrategy strategy) { |
|
|
|
private boolean envListOkAction(EnvListPane envListPane, PopTipStrategy strategy) { |
|
|
|
final String selectedName = envListPane.updateEnvManager(); |
|
|
|
final String selectedName = envListPane.updateEnvManager(); |
|
|
|
|
|
|
|
SaveSomeTemplatePane saveSomeTemplatePane = new SaveSomeTemplatePane(true, SwingUtilities.getWindowAncestor(envListPane)); |
|
|
|
|
|
|
|
saveSomeTemplatePane.showSavePane(); |
|
|
|
return switch2Env(selectedName, strategy); |
|
|
|
return switch2Env(selectedName, strategy); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|