Révision 2882
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/handlers/ExportChart.java (revision 2882) | ||
---|---|---|
143 | 143 |
} |
144 | 144 |
|
145 | 145 |
String outputFormat = SWTChartsComponentsProvider.getCurrent().getChartsEngineSupportedExportFileFormats().get(dialog.getFilterIndex()); |
146 |
Log.info(NLS.bind(TXMUIMessages.exportingP0, chartResult.getName())); |
|
146 | 147 |
ChartsEngine.getCurrent().exportResultToFile(chartResult, file, 1024, 576, outputFormat); |
147 | 148 |
|
148 | 149 |
if (file.exists()) { |
... | ... | |
161 | 162 |
} |
162 | 163 |
} |
163 | 164 |
else { |
164 |
System.out.println(NLS.bind(TXMUIMessages.failedToExportInFileP0WithFormatP1, file.getAbsolutePath(), outputFormat));
|
|
165 |
Log.warning(NLS.bind(TXMUIMessages.failedToExportInFileP0WithFormatP1, file.getAbsolutePath(), outputFormat));
|
|
165 | 166 |
} |
166 | 167 |
} |
167 | 168 |
catch (ThreadDeath td) { |
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/handlers/ExportChartEditorView.java (revision 2882) | ||
---|---|---|
134 | 134 |
monitor.beginTask(TXMUIMessages.exporting, 100); |
135 | 135 |
|
136 | 136 |
String outputFormat = (String) chartEditor.getEditorSupportedExportFileFormats().get(dialog.getFilterIndex()); |
137 |
Log.info(NLS.bind(TXMUIMessages.exportingP0, chartEditor.getResult().getName())); |
|
137 | 138 |
chartEditor.exportView(file, outputFormat); |
138 | 139 |
|
139 | 140 |
if (file.exists()) { |
... | ... | |
152 | 153 |
} |
153 | 154 |
} |
154 | 155 |
else { |
155 |
Log.severe(NLS.bind(TXMUIMessages.failedToExportInFileP0WithFormatP1, file.getAbsolutePath(), outputFormat));
|
|
156 |
Log.warning(NLS.bind(TXMUIMessages.failedToExportInFileP0WithFormatP1, file.getAbsolutePath(), outputFormat));
|
|
156 | 157 |
} |
157 | 158 |
} |
158 | 159 |
catch (ThreadDeath td) { |
Formats disponibles : Unified diff