Browse Source

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

* commit '488c074690d6f6c517dd49dd66501135b557e84a':
  update
  改变结构
  update
  update
  update
master
superman 8 years ago
parent
commit
8d3255ec7e
  1. 3
      designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java
  2. 5
      designer_chart/src/com/fr/design/mainframe/chart/ChartEditPane.java

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

@ -48,6 +48,9 @@ import java.util.Map;
*/
public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraChartDesignClassManagerProvider {
private static ClassLoader loader = Thread.currentThread().getContextClassLoader();
private static ChartTypeInterfaceManager classManager = null;

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

@ -115,6 +115,11 @@ public class ChartEditPane extends BasicPane implements AttributeChange,Prepare4
AbstractChartAttrPane selectedPane = paneList.get(tabsHeaderIconPane.getSelectedIndex());
selectedPane.update(collection);
if (!ComparatorUtils.equals(collection, lastCollection)) {
//此处画图
Chart chart = collection.getSelectedChart();
chart.demoImgEvent(true);
try {
lastCollection = (ChartCollection) collection.clone();
} catch (CloneNotSupportedException e) {

Loading…
Cancel
Save