Browse Source

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

* commit '5bc3d4b83aad6c6ac36be2fa55375e3575e4f134':
  接口
master
superman 8 years ago
parent
commit
11b337304e
  1. 7
      designer_chart/src/com/fr/design/mainframe/chart/ChartEditPane.java

7
designer_chart/src/com/fr/design/mainframe/chart/ChartEditPane.java

@ -139,7 +139,7 @@ public class ChartEditPane extends BasicPane implements AttributeChange,Prepare4
this.removeAll(); this.removeAll();
this.setLayout(new BorderLayout()); this.setLayout(new BorderLayout());
paneList = new ArrayList<AbstractChartAttrPane>(); paneList = new ArrayList<AbstractChartAttrPane>();
addTypeAndDataPane(); addTypePane();
boolean isDefault = true; boolean isDefault = true;
String plotID = ""; String plotID = "";
@ -149,6 +149,7 @@ public class ChartEditPane extends BasicPane implements AttributeChange,Prepare4
} }
if(isDefault){ if(isDefault){
paneList.add(dataPane4SupportCell);
paneList.add(stylePane); paneList.add(stylePane);
paneList.add(otherPane); paneList.add(otherPane);
this.isDefaultPane = true; this.isDefaultPane = true;
@ -165,10 +166,8 @@ public class ChartEditPane extends BasicPane implements AttributeChange,Prepare4
} }
} }
protected void addTypeAndDataPane() { protected void addTypePane() {
paneList.add(typePane); paneList.add(typePane);
paneList.add(dataPane4SupportCell);
} }
protected void setSelectedTab() { protected void setSelectedTab() {

Loading…
Cancel
Save