|
|
|
@ -33,19 +33,11 @@ import javax.swing.Icon;
|
|
|
|
|
* Time: 上午9:13 |
|
|
|
|
*/ |
|
|
|
|
public class ChartDesignerModule extends DesignModule { |
|
|
|
|
public void start() { |
|
|
|
|
super.start(); |
|
|
|
|
dealBeforeRegister(); |
|
|
|
|
register(); |
|
|
|
|
registerFloatEditor(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void dealBeforeRegister(){ |
|
|
|
|
public static void register(){ |
|
|
|
|
StableFactory.registerMarkedClass(ExtraChartDesignClassManagerProvider.XML_TAG, ChartTypeInterfaceManager.class); |
|
|
|
|
StableFactory.getStaticMarkedInstanceObjectFromClass(ExtraChartDesignClassManagerProvider.XML_TAG, ExtraChartDesignClassManagerProvider.class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void register(){ |
|
|
|
|
DesignModuleFactory.registerHyperlinkGroupType(new ChartHyperlinkGroup()); |
|
|
|
|
|
|
|
|
|
DesignModuleFactory.registerChartEditorClass(ChartEditor.class); |
|
|
|
@ -58,16 +50,14 @@ public class ChartDesignerModule extends DesignModule {
|
|
|
|
|
ActionFactory.registerChartPreStyleAction(new ChartPreStyleAction()); |
|
|
|
|
ActionFactory.registerChartMapEditorAction(new ChartMapEditorAction()); |
|
|
|
|
|
|
|
|
|
ActionFactory.registerChartCollection(ChartCollection.class); |
|
|
|
|
|
|
|
|
|
DesignModuleFactory.registerExtraWidgetOptions(ChartTypeInterfaceManager.initWidgetOption()); |
|
|
|
|
|
|
|
|
|
DesignImageEvent.registerDefaultCallbackEvent(HistoryTemplateListPane.getInstance()); |
|
|
|
|
DesignImageEvent.registerDownloadSourcesEvent(new DownloadOnlineSourcesHelper()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void registerFloatEditor() { |
|
|
|
|
ActionFactory.registerChartCollection(ChartCollection.class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 返回设计器能打开的模板类型的一个数组列表 |
|
|
|
|
* |
|
|
|
|