From 99e7c4cf1a6cec4093ff7dcc28a96c2a622b3857 Mon Sep 17 00:00:00 2001 From: abel Date: Thu, 4 Feb 2021 16:57:14 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-47114=20=E6=96=B0=E5=A1=AB=E6=8A=A5?= =?UTF-8?q?=E5=89=A5=E7=A6=BB=E6=88=90=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../design/preview/WriteEnhancePreview.java | 40 ------------------- .../com/fr/design/mainframe/JWorkBook.java | 3 +- 2 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 designer-base/src/main/java/com/fr/design/preview/WriteEnhancePreview.java diff --git a/designer-base/src/main/java/com/fr/design/preview/WriteEnhancePreview.java b/designer-base/src/main/java/com/fr/design/preview/WriteEnhancePreview.java deleted file mode 100644 index 96e90d5a22..0000000000 --- a/designer-base/src/main/java/com/fr/design/preview/WriteEnhancePreview.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.fr.design.preview; - -import com.fr.base.io.IOFile; -import com.fr.design.fun.impl.AbstractPreviewProvider; - - -import java.util.HashMap; -import java.util.Map; - -/** - * Created by loy on 2017/7/7. - */ -public class WriteEnhancePreview extends AbstractPreviewProvider { - @Override - public String nameForPopupItem() { - return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Write_Enhance_Preview"); - } - - @Override - public String iconPathForPopupItem() { - return "com/fr/design/images/buttonicon/writes.png"; - } - - @Override - public String iconPathForLarge() { - return "com/fr/design/images/buttonicon/writeb24.png"; - } - - @Override - public int previewTypeCode() { - return IOFile.WRITE_ENHANCE_PREVIEW_TYPE; - } - - @Override - public Map parametersForPreview() { - Map map = new HashMap(); - map.put("op", "write_plus"); - return map; - } -} diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/JWorkBook.java b/designer-realize/src/main/java/com/fr/design/mainframe/JWorkBook.java index fa1fe93cd2..50fd0003b9 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/JWorkBook.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/JWorkBook.java @@ -58,7 +58,6 @@ import com.fr.design.preview.MobilePreview; import com.fr.design.preview.PagePlusPreview; import com.fr.design.preview.PagePreview; import com.fr.design.preview.ViewPreview; -import com.fr.design.preview.WriteEnhancePreview; import com.fr.design.preview.WritePreview; import com.fr.design.report.fit.menupane.ReportFitAttrAction; import com.fr.design.roleAuthority.ReportAndFSManagePane; @@ -919,7 +918,7 @@ public class JWorkBook extends JTemplate { public PreviewProvider[] supportPreview() { PreviewProvider[] templatePreviews = super.supportPreview(); return ArrayUtils.addAll(new PreviewProvider[]{ - new PagePreview(), new WritePreview(), new ViewPreview(), new WriteEnhancePreview(), new MobilePreview(), new PagePlusPreview() + new PagePreview(), new WritePreview(), new ViewPreview(), new MobilePreview(), new PagePlusPreview() }, templatePreviews); }