Browse Source

第三方图表接口设计

master
mengao 8 years ago
parent
commit
b50179be25
  1. 5
      designer_chart/src/com/fr/design/mainframe/MiddleChartPropertyPane.java
  2. 1
      designer_chart/src/com/fr/design/mainframe/chart/CustomChartEditPane.java

5
designer_chart/src/com/fr/design/mainframe/MiddleChartPropertyPane.java

@ -39,7 +39,6 @@ public abstract class MiddleChartPropertyPane extends BaseChartPropertyPane{
createNameLabel();
this.add(createNorthComponent(), BorderLayout.NORTH);
// chartEditPane =StableUtils.construct(ChartEditPane.class);
chartEditPane = ChartTypeInterfaceManager.getInstance().getChartConfigPane(plotID);
chartEditPane.setSupportCellData(true);
this.createMainPane();
@ -87,8 +86,6 @@ public abstract class MiddleChartPropertyPane extends BaseChartPropertyPane{
* @param ePane 面板
*/
public void populateChartPropertyPane(ChartCollection collection, TargetComponent<?> ePane) {
// chartCollection = collection;
// plotID=chartCollection.getSelectedChart().getPlot().getPlotID();
this.container.setEPane(ePane);
chartEditPane.populate(collection);
}
@ -100,8 +97,6 @@ public abstract class MiddleChartPropertyPane extends BaseChartPropertyPane{
*/
public void populateChartPropertyPane(BaseChartCollection collection, TargetComponent<?> ePane) {
if (collection instanceof ChartCollection) {
// chartCollection = (ChartCollection) collection;
// plotID=chartCollection.getSelectedChart().getPlot().getPlotID();
resetChartEditPane();
populateChartPropertyPane((ChartCollection)collection, ePane);
}

1
designer_chart/src/com/fr/design/mainframe/chart/CustomChartEditPane.java

@ -26,7 +26,6 @@ public class CustomChartEditPane extends ChartEditPane {
tabsHeaderIconPane = new UIHeadGroup(iconArray) {
@Override
public void tabChanged(int index) {
// chartEditPane.populateBean(collection.getSelectedChart());
}
};

Loading…
Cancel
Save