Révision 2741
tmp/org.txm.chartsengine.svgbatik.rcp/src/org/txm/chartsengine/svgbatik/rcp/swt/SVGChartComposite.java (revision 2741) | ||
---|---|---|
65 | 65 |
|
66 | 66 |
@Override |
67 | 67 |
public void loadChart(Object chart) { |
68 |
|
|
69 |
// recreates the chart if not of right type |
|
70 |
// if (!(chart instanceof File)) { |
|
71 |
// this.file = this.chartEditor.getSWTChartsComponentsProvider().getChartsEngine().getChartCreator(this.chartEditor.getResult()).createChartFile(this.chartEditor.getResult()); |
|
72 |
// } |
|
73 |
// else { |
|
74 |
// this.file = (File) chart; |
|
75 |
// } |
|
76 |
// |
|
77 |
// |
|
78 |
// this.loadSVGDocument(this.file); |
|
79 |
|
|
68 | 80 |
ChartsEngine engine = chartEditor.getChartsEngine(); |
69 | 81 |
ChartResult result = chartEditor.getResult(); |
70 | 82 |
int w = this.getSize().x; |
Formats disponibles : Unified diff