Browse Source

REPORT-9543 代码质量:将 PrintAttr 合并到 PrintConfig

master
plough 7 years ago
parent
commit
ee10465133
  1. 3
      designer-realize/src/com/fr/design/webattr/EditReportServerParameterPane.java

3
designer-realize/src/com/fr/design/webattr/EditReportServerParameterPane.java

@ -5,6 +5,7 @@ package com.fr.design.webattr;
import com.fr.base.ConfigManager; import com.fr.base.ConfigManager;
import com.fr.base.print.PrintSettingsAttrMark; import com.fr.base.print.PrintSettingsAttrMark;
import com.fr.config.PrintConfig;
import com.fr.config.ServerPreferenceConfig; import com.fr.config.ServerPreferenceConfig;
import com.fr.design.gui.frpane.LoadingBasicPane; import com.fr.design.gui.frpane.LoadingBasicPane;
import com.fr.design.gui.frpane.UITabbedPane; import com.fr.design.gui.frpane.UITabbedPane;
@ -109,7 +110,7 @@ public class EditReportServerParameterPane extends LoadingBasicPane {
jsPane.update(webAttr); jsPane.update(webAttr);
printSettings = printSettingPane.updateBean(); printSettings = printSettingPane.updateBean();
(ConfigManager.getProviderInstance()).getPrintAttr().setPrintSettings(printSettings); PrintConfig.getInstance().setPrintSettings(printSettings);
reportServerPreferenceConfig.setErrorTemplate(this.errorTemplatePane.updateBean()); reportServerPreferenceConfig.setErrorTemplate(this.errorTemplatePane.updateBean());
} }

Loading…
Cancel
Save