Browse Source

REPORT-59682 埋点设计

bugfix/11.0
Henry.Wang 3 years ago
parent
commit
e6557295c6
  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