From 310e77f35566a94e713fc7545548ae6f4262d012 Mon Sep 17 00:00:00 2001 From: "fly.li" Date: Wed, 1 Sep 2021 22:03:54 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-55243=EF=BC=9A=E5=B0=86JStreamBook?= =?UTF-8?q?=E6=8D=A2=E6=88=90JWorkBook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/nx/app/designer/menu/CalculateAttrAction.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/nx/app/designer/menu/CalculateAttrAction.java b/designer-realize/src/main/java/com/fr/nx/app/designer/menu/CalculateAttrAction.java index d318f725a3..a3e06d9cb0 100644 --- a/designer-realize/src/main/java/com/fr/nx/app/designer/menu/CalculateAttrAction.java +++ b/designer-realize/src/main/java/com/fr/nx/app/designer/menu/CalculateAttrAction.java @@ -6,18 +6,18 @@ import com.fr.design.beans.BasicBeanPane; import com.fr.design.dialog.DialogActionAdapter; import com.fr.design.dialog.UIDialog; import com.fr.design.mainframe.DesignerContext; +import com.fr.design.mainframe.JWorkBook; import com.fr.design.menu.MenuKeySet; import com.fr.locale.InterProviderFactory; import com.fr.main.impl.WorkBook; -import com.fr.nx.app.designer.JStreamBook; import com.fr.plugin.attr.CalculatorAttrMark; import javax.swing.KeyStroke; import java.awt.event.ActionEvent; -public class CalculateAttrAction extends JTemplateAction { +public class CalculateAttrAction extends JTemplateAction { - public CalculateAttrAction(JStreamBook jTemplate) { + public CalculateAttrAction(JWorkBook jTemplate) { super(jTemplate); initMenuStyle(); } @@ -35,7 +35,7 @@ public class CalculateAttrAction extends JTemplateAction { * @param e 事件 */ public void actionPerformed(ActionEvent e) { - final JStreamBook jwb = getEditingComponent(); + final JWorkBook jwb = getEditingComponent(); if (jwb == null) { return; } @@ -45,7 +45,7 @@ public class CalculateAttrAction extends JTemplateAction { showReportFitDialog(mark, jwb, workBook, attrPane); } - private void showReportFitDialog(CalculatorAttrMark mark, final JStreamBook jwb, final WorkBook workBook, final BasicBeanPane attrPane) { + private void showReportFitDialog(CalculatorAttrMark mark, final JWorkBook jwb, final WorkBook workBook, final BasicBeanPane attrPane) { attrPane.populateBean(mark); UIDialog dialog = attrPane.showMediumWindow(DesignerContext.getDesignerFrame(), new DialogActionAdapter() { @Override