Browse Source

Merge pull request #996 in BA/design from ~JU/ba-9.0-design:9.0 to 9.0

* commit 'b2db63a2138b654a3695118cefa1f275bbaf60c4':
  PFC-607 插件安装删除更新不重启支持 解决SandboxCollection,不关闭插件就无法GC相关对象的问题。改成了在内部类中只保存一个ID,不引用具体的对象。
master
superman 7 years ago
parent
commit
80ea92e98c
  1. 20
      designer_base/src/com/fr/design/DesignerEnvManager.java

20
designer_base/src/com/fr/design/DesignerEnvManager.java

@ -152,17 +152,19 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
designerEnvManager.setCurEnvName(name); designerEnvManager.setCurEnvName(name);
} }
} }
GeneralContext.addEnvChangedListener(new EnvChangedListener() {
@Override
public void envChanged() {
designerEnvManager.setCurrentDirectoryPrefix(FILEFactory.ENV_PREFIX);
designerEnvManager.setDialogCurrentDirectory(ProjectConstants.REPORTLETS_NAME);
}
});
} }
GeneralContext.addEnvChangedListener(new EnvChangedListener() {
@Override
public void envChanged() {
designerEnvManager.setCurrentDirectoryPrefix(FILEFactory.ENV_PREFIX);
designerEnvManager.setDialogCurrentDirectory(ProjectConstants.REPORTLETS_NAME);
}
});
return designerEnvManager; return designerEnvManager;
} }

Loading…
Cancel
Save