Révision 3073
tmp/org.txm.chartsengine.raster.rcp/src/org/txm/chartsengine/raster/rcp/RasterImageChartsComponentProvider.java (revision 3073) | ||
---|---|---|
19 | 19 |
import org.txm.chartsengine.rcp.editors.ChartEditor; |
20 | 20 |
import org.txm.chartsengine.rcp.swt.ChartComposite; |
21 | 21 |
import org.txm.rcp.commands.OpenBrowser; |
22 |
import org.txm.rcp.editors.TXMBrowser; |
|
22 | 23 |
import org.txm.rcp.editors.TXMWebBrowserEditor; |
23 | 24 |
import org.txm.rcp.utils.OpenURI; |
24 | 25 |
|
... | ... | |
150 | 151 |
// And yes if we really still need these format PNG, JPG, the (ChartEditor) cast doesn't work for the CA chart |
151 | 152 |
// FIXME : need to globally check this class, it has been quickly developed for retrocompatiblity with PNG and JPEG formats |
152 | 153 |
public IEditorPart openFile(String editorname, Image titleImage, File file) { |
153 |
TXMWebBrowserEditor editor = OpenBrowser.openfile(file.getAbsolutePath(), editorname);
|
|
154 |
TXMBrowser editor = OpenBrowser.openfile(file.getAbsolutePath(), editorname);
|
|
154 | 155 |
editor.setTitleImage(titleImage); |
155 | 156 |
return editor; |
156 | 157 |
} |
Formats disponibles : Unified diff