From cd3b268f4ade5d2d015530ce03fd358243d9c67c Mon Sep 17 00:00:00 2001 From: richie Date: Fri, 13 Apr 2018 15:49:55 +0800 Subject: [PATCH] =?UTF-8?q?CORE-72=20=E4=BB=A3=E7=A0=81=E8=B4=A8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer/src/com/fr/design/mainframe/JWorkBook.java | 5 ++--- .../src/com/fr/design/actions/file/WebPreviewUtils.java | 6 +++--- .../com/fr/design/actions/server/PlatformManagerAction.java | 1 - 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/designer/src/com/fr/design/mainframe/JWorkBook.java b/designer/src/com/fr/design/mainframe/JWorkBook.java index 82d796a30d..fe66b65d6b 100644 --- a/designer/src/com/fr/design/mainframe/JWorkBook.java +++ b/designer/src/com/fr/design/mainframe/JWorkBook.java @@ -51,7 +51,7 @@ import com.fr.file.filetree.FileNode; import com.fr.general.ComparatorUtils; import com.fr.general.Inter; import com.fr.general.ModuleContext; -import com.fr.general.web.ParameterConsts; +import com.fr.general.web.ParameterConstants; import com.fr.grid.Grid; import com.fr.grid.GridUtils; import com.fr.io.exporter.EmbeddedTableDataExporter; @@ -62,7 +62,6 @@ import com.fr.poly.PolyDesigner; import com.fr.poly.creator.BlockCreator; import com.fr.privilege.finegrain.WorkSheetPrivilegeControl; import com.fr.report.ReportHelper; -import com.fr.report.elementcase.ElementCase; import com.fr.report.elementcase.TemplateElementCase; import com.fr.report.poly.PolyWorkSheet; import com.fr.report.worksheet.WorkSheet; @@ -844,7 +843,7 @@ public class JWorkBook extends JTemplate { */ public void previewMenuActionPerformed(PreviewProvider provider) { setPreviewType(provider); - WebPreviewUtils.actionPerformed(this, provider.parametersForPreview(), ParameterConsts.REPORTLET); + WebPreviewUtils.actionPerformed(this, provider.parametersForPreview(), ParameterConstants.REPORTLET); } /** diff --git a/designer_base/src/com/fr/design/actions/file/WebPreviewUtils.java b/designer_base/src/com/fr/design/actions/file/WebPreviewUtils.java index 0947d4323a..494a77cbc6 100644 --- a/designer_base/src/com/fr/design/actions/file/WebPreviewUtils.java +++ b/designer_base/src/com/fr/design/actions/file/WebPreviewUtils.java @@ -7,7 +7,7 @@ import com.fr.file.FILE; import com.fr.file.FileNodeFILE; import com.fr.general.GeneralUtils; import com.fr.general.Inter; -import com.fr.general.web.ParameterConsts; +import com.fr.general.web.ParameterConstants; import com.fr.stable.project.ProjectConstants; import javax.swing.*; @@ -16,11 +16,11 @@ import java.util.Map; public final class WebPreviewUtils { public static void onWorkbookPreview(JTemplate jt) { - actionPerformed(jt, jt.getPreviewType().parametersForPreview(), ParameterConsts.REPORTLET); + actionPerformed(jt, jt.getPreviewType().parametersForPreview(), ParameterConstants.REPORTLET); } public static void onFormPreview(JTemplate jt) { - actionPerformed(jt, null, ParameterConsts.FORMLET); + actionPerformed(jt, null, ParameterConstants.FORMLET); } public static void actionPerformed(JTemplate jt, Map map, String actionType) { diff --git a/designer_base/src/com/fr/design/actions/server/PlatformManagerAction.java b/designer_base/src/com/fr/design/actions/server/PlatformManagerAction.java index a766e35315..08ba1e7508 100644 --- a/designer_base/src/com/fr/design/actions/server/PlatformManagerAction.java +++ b/designer_base/src/com/fr/design/actions/server/PlatformManagerAction.java @@ -5,7 +5,6 @@ import com.fr.design.actions.UpdateAction; import com.fr.design.menu.MenuKeySet; import com.fr.design.utils.DesignUtils; import com.fr.general.Inter; -import com.fr.general.web.ParameterConsts; import javax.swing.*; import java.awt.event.ActionEvent;