12 |
12 |
import org.eclipse.swt.widgets.Composite;
|
13 |
13 |
import org.eclipse.swt.widgets.Display;
|
14 |
14 |
import org.eclipse.swt.widgets.Label;
|
|
15 |
import org.txm.chartsengine.raster.rcp.Messages;
|
15 |
16 |
import org.txm.chartsengine.rcp.IChartComponent;
|
16 |
17 |
import org.txm.chartsengine.rcp.editors.ChartEditor;
|
17 |
18 |
import org.txm.chartsengine.rcp.events.EventCallBackHandler;
|
... | ... | |
124 |
125 |
if (chart instanceof File) {
|
125 |
126 |
this.loadRasterFile((File) chart);
|
126 |
127 |
} else {
|
127 |
|
Log.warning("RasterComposite can't load a chart which is not a file: "+chart);
|
|
128 |
Log.warning(Messages.CantLoadAChartWhichIsNotAFile+chart);
|
128 |
129 |
}
|
129 |
130 |
}
|
130 |
131 |
|
... | ... | |
156 |
157 |
*/
|
157 |
158 |
public void loadRasterFile(File file) {
|
158 |
159 |
|
159 |
|
Log.info(TXMCoreMessages.bind("Loading raster image from file: {0}...", file));
|
|
160 |
Log.info(TXMCoreMessages.bind(Messages.LoadingRasterImageFromFileP0, file));
|
160 |
161 |
|
161 |
162 |
this.file = file;
|
162 |
163 |
if (this.image != null) {
|
... | ... | |
178 |
179 |
@Override
|
179 |
180 |
public void copyChartViewToClipboard() {
|
180 |
181 |
// TODO Auto-generated method stub
|
181 |
|
System.err.println("RasterComposite.copyChartViewToClipboard(): not implemented.");
|
|
182 |
System.err.println("RasterComposite.copyChartViewToClipboard(): not implemented."); //$NON-NLS-1$
|
182 |
183 |
}
|
183 |
184 |
|
184 |
185 |
|
... | ... | |
202 |
203 |
@Override
|
203 |
204 |
public void clearChartItemsSelection() {
|
204 |
205 |
// TODO Auto-generated method stub
|
205 |
|
System.err.println("RasterComposite.clearChartItemsSelection(): not implemented.");
|
|
206 |
System.err.println("RasterComposite.clearChartItemsSelection(): not implemented."); //$NON-NLS-1$
|
206 |
207 |
}
|
207 |
208 |
|
208 |
209 |
@Override
|
209 |
210 |
public File exportView(File file, String fileFormat) {
|
210 |
|
System.out.println("RasterComposite.exportView(): not yet implemented.");
|
|
211 |
System.out.println("RasterComposite.exportView(): not yet implemented."); //$NON-NLS-1$
|
211 |
212 |
return null;
|
212 |
213 |
}
|
213 |
214 |
|