Browse Source

Merge pull request #376 in DESIGN/design from ~PLOUGH/10-design:release/10.0 to release/10.0

* commit '96daa20cc6b6d3995cff6d80660e981bbc4e888b':
  无JIRA任务,调整代码
final/10.0
plough 6 years ago
parent
commit
cf7fda058e
  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