Revision 2340 org.gvsig.raster.tools/branches/org.gvsig.raster.tools_dataaccess_refactoring/org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/saveraster/operation/SaveRasterActions.java
SaveRasterActions.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.raster.tools.app.basic.tool.saveraster.operation; |
23 | 23 |
|
24 |
import org.gvsig.raster.swing.RasterSwingLibrary; |
|
24 | 25 |
import org.gvsig.raster.swing.RasterSwingLocator; |
25 | 26 |
import org.gvsig.raster.tools.app.basic.RasterToolsUtil; |
26 | 27 |
import org.gvsig.raster.tools.app.basic.raster.process.IProcessActions; |
... | ... | |
46 | 47 |
String fName = (String)((Object[])params)[0]; |
47 | 48 |
long milis = ((Long)((Object[])params)[1]).longValue(); |
48 | 49 |
|
49 |
if(RasterToolsUtil.messageBoxYesOrNot("cargar_toc", this)) {
|
|
50 |
if(RasterSwingLibrary.messageBoxYesOrNot("cargar_toc", this)) {
|
|
50 | 51 |
try { |
51 | 52 |
RasterToolsUtil.loadLayer(null, fName, null); |
52 | 53 |
} catch (RasterNotLoadException e) { |
53 |
RasterToolsUtil.messageBoxError("error_load_layer", this, e);
|
|
54 |
RasterSwingLibrary.messageBoxError("error_load_layer", this, e);
|
|
54 | 55 |
} |
55 | 56 |
} |
56 | 57 |
RasterSwingLocator.getSwingManager().showSummaryProcessDialog(fName, milis); |
Also available in: Unified diff