Browse Source

Pull request #6334: REPORT-59682 埋点设计

Merge in DESIGN/design from ~HENRY.WANG/design:release/11.0 to release/11.0

* commit 'e6557295c6d35e678f53922cc98277b541c69d90':
  REPORT-59682 埋点设计
bugfix/11.0
Henry.Wang 3 years ago
parent
commit
28d6c2d4cd
  1. 8
      designer-base/src/main/java/com/fr/design/report/fit/menupane/ReportFitAttrAction.java

8
designer-base/src/main/java/com/fr/design/report/fit/menupane/ReportFitAttrAction.java

@ -70,11 +70,15 @@ public class ReportFitAttrAction extends JTemplateAction {
UIDialog dialog = attrPane.showWindowWithCustomSize(DesignerContext.getDesignerFrame(), new DialogActionAdapter() {
@Override
public void doOk() {
wbTpl.setReportFitAttr(attrPane.updateBean());
jwb.fireTargetModified();
fireEditingOk(jwb, wbTpl, attrPane.updateBean(), fitAttr);
}
}, DesignSizeI18nManager.getInstance().i18nDimension("com.fr.design.report.fit.templatePane.dialog"));
dialog.setVisible(true);
}
private void fireEditingOk(final JTemplate jwb, final FitProvider wbTpl, ReportFitAttr newReportFitAttr, ReportFitAttr oldReportFitAttr) {
wbTpl.setReportFitAttr(newReportFitAttr);
jwb.fireTargetModified();
}
}

Loading…
Cancel
Save