|
|
@ -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); |
|
|
|