Revision 6489 trunk/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/impl/spatialjoin/SpatialJoinGeoprocessController.java
SpatialJoinGeoprocessController.java | ||
---|---|---|
45 | 45 |
* |
46 | 46 |
* $Id$ |
47 | 47 |
* $Log$ |
48 |
* Revision 1.2 2006-06-29 07:33:57 fjp |
|
48 |
* Revision 1.3 2006-07-21 09:10:34 azabala |
|
49 |
* fixed bug 608: user doesnt enter any result file to the geoprocess panel |
|
50 |
* |
|
51 |
* Revision 1.2 2006/06/29 07:33:57 fjp |
|
49 | 52 |
* Cambios ISchemaManager y IFieldManager por terminar |
50 | 53 |
* |
51 | 54 |
* Revision 1.1 2006/06/20 18:20:45 azabala |
... | ... | |
74 | 77 |
package com.iver.cit.gvsig.geoprocess.impl.spatialjoin; |
75 | 78 |
|
76 | 79 |
import java.io.File; |
80 |
import java.io.FileNotFoundException; |
|
77 | 81 |
import java.util.HashMap; |
78 | 82 |
import java.util.Map; |
79 | 83 |
|
... | ... | |
128 | 132 |
FLyrVect inputLayer = geoProcessingSpatialjoinPanel.getFirstLayer(); |
129 | 133 |
FLyrVect secondLayer = geoProcessingSpatialjoinPanel.getSecondLayer(); |
130 | 134 |
FLayers layers = geoProcessingSpatialjoinPanel.getFLayers(); |
131 |
File outputFile = geoProcessingSpatialjoinPanel.getOutputFile(); |
|
135 |
File outputFile = null; |
|
136 |
try { |
|
137 |
outputFile = geoProcessingSpatialjoinPanel.getOutputFile(); |
|
138 |
} catch (FileNotFoundException e3) { |
|
139 |
String error = PluginServices.getText(this, "Error_entrada_datos"); |
|
140 |
String errorDescription = PluginServices.getText(this, "Error_seleccionar_resultado"); |
|
141 |
geoProcessingSpatialjoinPanel.error(errorDescription, error); |
|
142 |
return false; |
|
143 |
} |
|
132 | 144 |
if (outputFile == null || (outputFile.getAbsolutePath().length() == 0)) { |
133 | 145 |
String error = PluginServices.getText(this, "Error_entrada_datos"); |
134 | 146 |
String errorDescription = PluginServices.getText(this, "Error_seleccionar_resultado"); |
Also available in: Unified diff