Revision 29574 trunk/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/impl/intersection/IntersectionGeoprocessController.java
IntersectionGeoprocessController.java | ||
---|---|---|
162 | 162 |
geoProcessingIntersectPanel.error(errorDescription, error); |
163 | 163 |
return false; |
164 | 164 |
} |
165 |
boolean found = false; |
|
165 | 166 |
if (writer instanceof MultiShpWriter){ |
166 | 167 |
MultiShpWriter mWriter = (MultiShpWriter) writer; |
167 |
boolean found = false; |
|
168 |
|
|
168 | 169 |
if (mWriter.getPointsFile().exists()){ |
169 | 170 |
found = true; |
170 | 171 |
} |
... | ... | |
175 | 176 |
found = true; |
176 | 177 |
} |
177 | 178 |
|
178 |
if (found){ |
|
179 |
if (!geoProcessingIntersectPanel.askForOverwriteOutputFile(outputFile)) { |
|
180 |
return false; |
|
181 |
} |
|
179 |
} else{ |
|
180 |
found = outputFile.exists(); |
|
181 |
} |
|
182 |
if (found){ |
|
183 |
if (!geoProcessingIntersectPanel.askForOverwriteOutputFile(outputFile)) { |
|
184 |
return false; |
|
182 | 185 |
} |
183 | 186 |
} |
184 | 187 |
|
Also available in: Unified diff