Revision 27723 branches/v2_0_0_prep/extensions/extEditing/src/com/iver/cit/gvsig/ExportTo.java
ExportTo.java | ||
---|---|---|
11 | 11 |
import org.gvsig.fmap.dal.DataManager; |
12 | 12 |
import org.gvsig.fmap.dal.exception.DataException; |
13 | 13 |
import org.gvsig.fmap.dal.exception.ReadException; |
14 |
import org.gvsig.fmap.dal.feature.*; |
|
14 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
|
15 |
import org.gvsig.fmap.dal.feature.DisposableIterator; |
|
16 |
import org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor; |
|
17 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
|
18 |
import org.gvsig.fmap.dal.feature.Feature; |
|
19 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
|
20 |
import org.gvsig.fmap.dal.feature.FeatureQuery; |
|
21 |
import org.gvsig.fmap.dal.feature.FeatureSelection; |
|
22 |
import org.gvsig.fmap.dal.feature.FeatureSet; |
|
23 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
24 |
import org.gvsig.fmap.dal.feature.FeatureType; |
|
25 |
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters; |
|
15 | 26 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorer; |
16 | 27 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorerParameters; |
17 | 28 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemStoreParameters; |
... | ... | |
24 | 35 |
import org.gvsig.fmap.mapcontext.layers.FLayers; |
25 | 36 |
import org.gvsig.fmap.mapcontext.layers.LayerFactory; |
26 | 37 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
27 |
import org.gvsig.tools.evaluator.*; |
|
38 |
import org.gvsig.tools.evaluator.AbstractEvaluator; |
|
39 |
import org.gvsig.tools.evaluator.Evaluator; |
|
40 |
import org.gvsig.tools.evaluator.EvaluatorData; |
|
41 |
import org.gvsig.tools.evaluator.EvaluatorException; |
|
28 | 42 |
|
29 | 43 |
import com.iver.andami.PluginServices; |
30 | 44 |
import com.iver.andami.messages.NotificationManager; |
... | ... | |
258 | 272 |
// } |
259 | 273 |
} // actives[i] |
260 | 274 |
} // for |
261 |
} catch (ReadException e) {
|
|
275 |
} catch (Exception e) { |
|
262 | 276 |
NotificationManager.showMessageError(e.getMessage(),e); |
263 |
} catch (DataException e) { |
|
264 |
NotificationManager.showMessageError(e.getMessage(),e); |
|
265 | 277 |
} |
266 | 278 |
} |
267 | 279 |
} |
... | ... | |
485 | 497 |
|
486 | 498 |
|
487 | 499 |
|
488 |
public void saveToDXF(MapContext mapContext, FLyrVect lv) throws ReadException, DataException { |
|
500 |
public void saveToDXF(MapContext mapContext, FLyrVect lv) |
|
501 |
throws DataException, ValidateDataParametersException { |
|
489 | 502 |
JFileChooser jfc = new JFileChooser(lastPath); |
490 | 503 |
SimpleFileFilter filterShp = new SimpleFileFilter("dxf", |
491 | 504 |
PluginServices.getText(this, "dxf_files")); |
... | ... | |
552 | 565 |
|
553 | 566 |
} |
554 | 567 |
|
555 |
public void saveToSHP(MapContext mapContext, FLyrVect lv) throws ReadException, DataException { |
|
568 |
public void saveToSHP(MapContext mapContext, FLyrVect lv) |
|
569 |
throws DataException, ValidateDataParametersException { |
|
556 | 570 |
JFileChooser jfc = new JFileChooser(lastPath); |
557 | 571 |
SimpleFileFilter filterShp = new SimpleFileFilter("shp", |
558 | 572 |
PluginServices.getText(this, "shp_files")); |
Also available in: Unified diff