package com.fr.plugin.shdcmap; import com.fr.design.gui.frpane.AttributeChangeListener; import com.fr.design.mainframe.chart.AbstractChartAttrPane; import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPane; import com.fr.extended.chart.AbstractExtendedChartTableDataPane; import com.fr.extended.chart.AbstractExtendedChartUIProvider; import com.fr.plugin.shdcmap.data.CustomDataPane; import com.fr.plugin.shdcmap.data.CustomReportDataPane; import com.fr.plugin.shdcmap.ui.CustomStylePane; /** * @author duan.jingliang */ public class CustomChartUI extends AbstractExtendedChartUIProvider { @Override protected AbstractExtendedChartTableDataPane getTableDataSourcePane() { return new CustomDataPane(); } @Override protected AbstractReportDataContentPane getReportDataSourcePane() { return new CustomReportDataPane(); } @Override public String[] getDemoImagePath() { return new String[0]; } @Override public String getIconPath() { return "com/fr/plugin/shdcmap/images/icon.png"; } @Override public AbstractChartAttrPane[] getAttrPaneArray(AttributeChangeListener attributeChangeListener) { return new AbstractChartAttrPane[]{ new CustomStylePane(attributeChangeListener) }; } }