svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.exportto / org.gvsig.exportto.swing / org.gvsig.exportto.swing.spi / src / main / java / org / gvsig / exportto / swing / spi / options / ExportGeometryOptions.java @ 43920
History | View | Annotate | Download (1.47 KB)
1 |
package org.gvsig.exportto.swing.spi.options; |
---|---|
2 |
|
3 |
import org.cresques.cts.IProjection; |
4 |
import org.gvsig.fmap.geom.type.GeometryType; |
5 |
|
6 |
/**
|
7 |
*
|
8 |
* @author jjdelcerro
|
9 |
*/
|
10 |
public interface ExportGeometryOptions extends ExportOptions { |
11 |
|
12 |
public static final int CHECKGEOMETRY_NONE = 0; |
13 |
public static final int CHECKGEOMETRY_CHECK_IF_CORRUPT = 1; |
14 |
public static final int CHECKGEOMETRY_CHECK_IF_VALID = 2; |
15 |
|
16 |
public static final int CHECKGEOMETRYACTION_SET_GEOMETRY_TO_NULL = 0; |
17 |
public static final int CHECKGEOMETRYACTION_SKIP_FEATURE = 1; |
18 |
public static final int CHECKGEOMETRYACTION_ABORT = 2; |
19 |
|
20 |
|
21 |
public void setTargetProjection(IProjection targetProjection); |
22 |
|
23 |
public IProjection getTargetProjection();
|
24 |
|
25 |
public boolean needsPanelTargetProjection(); |
26 |
|
27 |
public int getGeometryChecks(); |
28 |
|
29 |
public int getGeometryChecksAction(); |
30 |
|
31 |
public boolean getTryToFixGeometry(); |
32 |
|
33 |
public void setGeometryChecks(int geometryChecks); |
34 |
|
35 |
public void setGeometryChecksAction(int geometryChecksAction); |
36 |
|
37 |
public void setTryToFixGeometry(boolean tryToFixGeometry); |
38 |
|
39 |
public String getGeometryFieldName(); |
40 |
|
41 |
public void setGeometryFieldName(String geometryFieldName); |
42 |
|
43 |
public GeometryType getGeometryType();
|
44 |
|
45 |
public int getGeometryTypeAsInt(); |
46 |
|
47 |
public int getGeometrySubtype(); |
48 |
|
49 |
public void setGeometryType(GeometryType type); |
50 |
|
51 |
public void setGeometryType(int type); |
52 |
|
53 |
public void setGeometrySubtype(int subtype); |
54 |
} |