From 9b007c9664c77d6229e522c701e2f97173d2b123 Mon Sep 17 00:00:00 2001 From: plough Date: Wed, 15 Aug 2018 13:38:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=EF=BC=8C?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../van/chart/custom/component/VanChartShortCutFactory.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartShortCutFactory.java b/designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartShortCutFactory.java index 9690654553..b9b41302e0 100644 --- a/designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartShortCutFactory.java +++ b/designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartShortCutFactory.java @@ -9,11 +9,15 @@ import com.fr.design.menu.ShortCut; /** * Created by plough on 2018/8/13. */ -public class VanChartShortCutFactory extends ShortCutFactory { +class VanChartShortCutFactory extends ShortCutFactory { private VanChartShortCutFactory(ShortCutListenerProvider listenerProvider) { super(listenerProvider); } + public static VanChartShortCutFactory newInstance(ShortCutListenerProvider listenerProvider) { + return new VanChartShortCutFactory(listenerProvider); + } + @Override public ShortCut createAddItemMenuDef(NameableCreator[] creators) { return new AddVanChartItemMenuDef(creators);