Browse Source

改变结构

master
Fangjie Hu 8 years ago
parent
commit
92ea24eab3
  1. 7
      designer_chart/src/com/fr/design/image/ImageListener.java
  2. 7
      designer_chart/src/com/fr/design/mainframe/chart/ChartEditPane.java

7
designer_chart/src/com/fr/design/image/ImageListener.java

@ -0,0 +1,7 @@
package com.fr.design.image;
/**
* Created by hufan on 2016/8/10.
*/
public interface ImageListener {
}

7
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) {
@ -125,8 +130,6 @@ public class ChartEditPane extends BasicPane implements AttributeChange,Prepare4
}
fire();
collection.getSelectedChart().getPlot().setAttrChange(true);
}
}
};

Loading…
Cancel
Save