Browse Source

时间注册

master
Fangjie Hu 8 years ago
parent
commit
54150480d9
  1. 5
      designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java
  2. 2
      designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypePane.java

5
designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java

@ -275,8 +275,9 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen
break; break;
} }
} }
if (editChartType != null) { //切换时重新更新整个面板
editChartType.populateBean(editingCollection.getSelectedChart()); if (parent != null) {
parent.populate(editingCollection);
} }
} }
} }

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

@ -304,7 +304,7 @@ public class ChartTypePane extends AbstractChartAttrPane{
Chart chart = collection.getSelectedChart(); Chart chart = collection.getSelectedChart();
this.remove(leftContentPane); this.remove(leftContentPane);
initContentPane(); initContentPane();
this.removeAttributeChangeListener();
buttonPane.populateBean(collection); buttonPane.populateBean(collection);
chartTypePane.populateBean(chart); chartTypePane.populateBean(chart);
//remove面板之后,就需要重构下拉框 //remove面板之后,就需要重构下拉框

Loading…
Cancel
Save