Revision 443 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.app/org.gvsig.geoprocess.app.tool/src/main/java/org/gvsig/geoprocess/app/tool/AbstractToolboxAction.java
AbstractToolboxAction.java | ||
---|---|---|
32 | 32 |
import org.gvsig.geoprocess.lib.sextante.dataObjects.FLyrRasterIRasterLayer; |
33 | 33 |
import org.gvsig.i18n.Messages; |
34 | 34 |
import org.gvsig.raster.fmap.layers.FLyrRaster; |
35 |
import org.gvsig.raster.tools.app.basic.RasterToolsUtil;
|
|
35 |
import org.gvsig.raster.swing.RasterSwingLibrary;
|
|
36 | 36 |
|
37 | 37 |
import es.unex.sextante.dataObjects.IRasterLayer; |
38 | 38 |
import es.unex.sextante.gui.core.SextanteGUI; |
... | ... | |
80 | 80 |
*/ |
81 | 81 |
public boolean loadLayer() { |
82 | 82 |
if(!isPluginInstalled()) { |
83 |
RasterToolsUtil.messageBoxError(Messages.getText("plugin_not_installed"), null);
|
|
83 |
RasterSwingLibrary.messageBoxError(Messages.getText("plugin_not_installed"), null);
|
|
84 | 84 |
return false; |
85 | 85 |
} |
86 | 86 |
|
87 | 87 |
if(!isActive()) { |
88 |
RasterToolsUtil.messageBoxError(Messages.getText("layer_not_valid"), null);
|
|
88 |
RasterSwingLibrary.messageBoxError(Messages.getText("layer_not_valid"), null);
|
|
89 | 89 |
return false; |
90 | 90 |
} |
91 | 91 |
|
... | ... | |
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
if(existsRasterButNotActive) { |
115 |
RasterToolsUtil.messageBoxError(Messages.getText("raster_layer_not_active"), null);
|
|
115 |
RasterSwingLibrary.messageBoxError(Messages.getText("raster_layer_not_active"), null);
|
|
116 | 116 |
return false; |
117 | 117 |
} |
118 | 118 |
|
Also available in: Unified diff