Browse Source

格式化代码

master
mengao 8 years ago
parent
commit
21a0ac10fc
  1. 3
      designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java
  2. 4
      designer_chart/src/com/fr/design/mainframe/MiddleChartPropertyPane.java

3
designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java

@ -413,10 +413,11 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh
private AbstractTableDataContentPane getTableDataSourcePane(String priority, Plot plot, ChartDataPane parent) {
return chartTypeInterfaces.get(priority).get(plot.getPlotID()).getTableDataSourcePane(plot, parent);
}
//获取指定图表的编辑面板
public ChartEditPane getChartConfigPane(String plotID) {
Iterator iterator = chartTypeInterfaces.entrySet().iterator();
while (iterator.hasNext()){
while (iterator.hasNext()) {
Map.Entry entry = (Map.Entry) iterator.next();
String priority = (String) entry.getKey();
if (plotInChart(plotID, priority)) {

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

@ -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();

Loading…
Cancel
Save