Revision 22475 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/geolocation/ui/GeoLocationDialog.java
GeoLocationDialog.java | ||
---|---|---|
21 | 21 |
import java.awt.BorderLayout; |
22 | 22 |
import java.awt.Dimension; |
23 | 23 |
import java.awt.geom.AffineTransform; |
24 |
import java.io.IOException; |
|
25 | 24 |
|
26 | 25 |
import javax.swing.JPanel; |
27 | 26 |
|
28 | 27 |
import org.gvsig.fmap.raster.layers.FLyrRasterSE; |
28 |
import org.gvsig.raster.dataset.serializer.RmfSerializerException; |
|
29 | 29 |
import org.gvsig.raster.util.RasterToolsUtil; |
30 | 30 |
import org.gvsig.rastertools.geolocation.behavior.ITransformIO; |
31 | 31 |
|
... | ... | |
50 | 50 |
private GeoLocationPanel geolocationPanel = null; |
51 | 51 |
|
52 | 52 |
/** |
53 |
* Posici?n de la ventana en X y en Y
|
|
54 |
*/
|
|
53 |
* Posici?n de la ventana en X y en Y
|
|
54 |
*/
|
|
55 | 55 |
private int posWindowX = 0; |
56 | 56 |
private int posWindowY = 0; |
57 | 57 |
|
... | ... | |
211 | 211 |
if(RasterToolsUtil.messageBoxYesOrNot(PluginServices.getText(this,"aviso_salir_salvando"), geolocationPanel)) { |
212 | 212 |
try { |
213 | 213 |
geolocationPanel.getLayer().saveGeoToRmf(); |
214 |
} catch (IOException e1) {
|
|
215 |
RasterToolsUtil.messageBoxError(PluginServices.getText(this,"error_salvando_rmf"), geolocationPanel); |
|
214 |
} catch (RmfSerializerException e1) {
|
|
215 |
RasterToolsUtil.messageBoxError(PluginServices.getText(this,"error_salvando_rmf"), geolocationPanel, e1);
|
|
216 | 216 |
} |
217 | 217 |
} |
218 | 218 |
geolocationPanel.setModify(false); |
Also available in: Unified diff