Browse Source

Merge pull request #645 in BA/design from ~XIAOHU/design:dev to dev

* commit 'b26516de0aab2b9f5a085b20afe704e749e693c9':
  甘特图数据配置界面
master
superman 8 years ago
parent
commit
08e3b2e33f
  1. 6
      designer_chart/src/com/fr/design/mainframe/chart/gui/data/NormalChartDataPane.java
  2. 2
      designer_chart/src/com/fr/design/mainframe/chart/gui/data/TableDataPane.java

6
designer_chart/src/com/fr/design/mainframe/chart/gui/data/NormalChartDataPane.java

@ -70,7 +70,7 @@ public class NormalChartDataPane extends DataContentsPane {
@Override @Override
protected List<FurtherBasicBeanPane<? extends ChartCollection>> initPaneList() { protected List<FurtherBasicBeanPane<? extends ChartCollection>> initPaneList() {
tableDataPane = new TableDataPane(parent); tableDataPane = getTableDataPane(parent);
reportDataPane = new ReportDataPane(parent); reportDataPane = new ReportDataPane(parent);
List<FurtherBasicBeanPane<? extends ChartCollection>> paneList = new ArrayList<FurtherBasicBeanPane<? extends ChartCollection>>(); List<FurtherBasicBeanPane<? extends ChartCollection>> paneList = new ArrayList<FurtherBasicBeanPane<? extends ChartCollection>>();
paneList.add(tableDataPane); paneList.add(tableDataPane);
@ -96,6 +96,10 @@ public class NormalChartDataPane extends DataContentsPane {
} }
protected TableDataPane getTableDataPane(ChartDataPane chartDataPane) {
return new TableDataPane(chartDataPane);
}
/** /**
* 更新界面 数据内容 * 更新界面 数据内容
*/ */

2
designer_chart/src/com/fr/design/mainframe/chart/gui/data/TableDataPane.java

@ -69,7 +69,7 @@ public class TableDataPane extends FurtherBasicBeanPane<ChartCollection>{
} }
} }
private AbstractTableDataContentPane getContentPane(Plot plot) { protected AbstractTableDataContentPane getContentPane(Plot plot) {
return ChartTypeInterfaceManager.getInstance().getTableDataSourcePane(plot, parent); return ChartTypeInterfaceManager.getInstance().getTableDataSourcePane(plot, parent);
} }

Loading…
Cancel
Save