|
|
|
@ -27,8 +27,8 @@ public abstract class MiddleChartPropertyPane extends BaseChartPropertyPane{
|
|
|
|
|
|
|
|
|
|
protected ChartEditPane chartEditPane; |
|
|
|
|
//获取ChartCollection和当前图表的plotID,用来获取对应的面板
|
|
|
|
|
protected ChartCollection chartCollection= DesignModuleFactory.getChartCollection(); |
|
|
|
|
protected String plotID=chartCollection.getSelectedChart().getPlot().getPlotID(); |
|
|
|
|
protected ChartCollection chartCollection = DesignModuleFactory.getChartCollection(); |
|
|
|
|
protected String plotID = chartCollection.getSelectedChart().getPlot().getPlotID(); |
|
|
|
|
|
|
|
|
|
public MiddleChartPropertyPane() { |
|
|
|
|
initComponenet(); |
|
|
|
@ -40,7 +40,7 @@ public abstract class MiddleChartPropertyPane extends BaseChartPropertyPane{
|
|
|
|
|
|
|
|
|
|
createNameLabel(); |
|
|
|
|
this.add(createNorthComponent(), BorderLayout.NORTH); |
|
|
|
|
chartEditPane = ChartTypeInterfaceManager.getInstance().getChartConfigPane(plotID); |
|
|
|
|
chartEditPane = ChartTypeInterfaceManager.getInstance().getChartConfigPane(plotID); |
|
|
|
|
chartEditPane.setSupportCellData(true); |
|
|
|
|
this.createMainPane(); |
|
|
|
|
} |
|
|
|
|