Browse Source

无JIRA任务,调整代码

final/10.0
plough 6 years ago
parent
commit
9b007c9664
  1. 6
      designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartShortCutFactory.java

6
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. * Created by plough on 2018/8/13.
*/ */
public class VanChartShortCutFactory extends ShortCutFactory { class VanChartShortCutFactory extends ShortCutFactory {
private VanChartShortCutFactory(ShortCutListenerProvider listenerProvider) { private VanChartShortCutFactory(ShortCutListenerProvider listenerProvider) {
super(listenerProvider); super(listenerProvider);
} }
public static VanChartShortCutFactory newInstance(ShortCutListenerProvider listenerProvider) {
return new VanChartShortCutFactory(listenerProvider);
}
@Override @Override
public ShortCut createAddItemMenuDef(NameableCreator[] creators) { public ShortCut createAddItemMenuDef(NameableCreator[] creators) {
return new AddVanChartItemMenuDef(creators); return new AddVanChartItemMenuDef(creators);

Loading…
Cancel
Save