Revision 44044 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.prov/org.gvsig.exportto.swing.prov.shape/src/main/java/org/gvsig/export/shape/swing/ExportShapePanels.java
ExportShapePanels.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import org.gvsig.export.dbf.swing.panels.EncodingPanel; |
4 | 4 |
import org.gvsig.export.ExportParameters; |
5 |
import org.gvsig.export.shape.swing.panels.SelectSimplifiedExport; |
|
6 |
import org.gvsig.export.shape.swing.panels.UseSimplifiedExportWrapper; |
|
5 | 7 |
import org.gvsig.export.swing.ExportSwingLocator; |
6 | 8 |
import org.gvsig.export.swing.JExportProcessPanel; |
7 | 9 |
import org.gvsig.export.swing.spi.AbstractExportPanels; |
... | ... | |
31 | 33 |
private void initPanels() { |
32 | 34 |
ExportPanelsManager manager = ExportSwingLocator.getExportPanelsManager(); |
33 | 35 |
|
34 |
this.add( manager.createStandardPanel(
|
|
35 |
ExportPanelsManager.PANEL_SELECT_GEOMETRY_FIELD,
|
|
36 |
this.add( |
|
37 |
new SelectSimplifiedExport(
|
|
36 | 38 |
this.getProcessPanel(), |
37 | 39 |
this.getParameters() |
38 | 40 |
) |
41 |
); |
|
42 |
this.add( new UseSimplifiedExportWrapper( |
|
43 |
manager.createStandardPanel( |
|
44 |
ExportPanelsManager.PANEL_SELECT_GEOMETRY_FIELD, |
|
45 |
this.getProcessPanel(), |
|
46 |
this.getParameters() |
|
47 |
), |
|
48 |
this.getProcessPanel(), |
|
49 |
this.getParameters() |
|
50 |
) |
|
39 | 51 |
); |
40 |
this.add( manager.createStandardPanel( |
|
41 |
ExportPanelsManager.PANEL_SELECT_GEOMETRY_TYPE, |
|
52 |
this.add( new UseSimplifiedExportWrapper( |
|
53 |
manager.createStandardPanel( |
|
54 |
ExportPanelsManager.PANEL_SELECT_GEOMETRY_TYPE, |
|
55 |
this.getProcessPanel(), |
|
56 |
this.getParameters(), |
|
57 |
new int[] { |
|
58 |
Geometry.TYPES.GEOMETRY, |
|
59 |
Geometry.TYPES.POINT, |
|
60 |
Geometry.TYPES.LINE, |
|
61 |
Geometry.TYPES.POLYGON, |
|
62 |
Geometry.TYPES.MULTIPOINT, |
|
63 |
Geometry.TYPES.MULTILINE, |
|
64 |
Geometry.TYPES.MULTIPOLYGON |
|
65 |
}, |
|
66 |
new int[] { |
|
67 |
Geometry.SUBTYPES.GEOM2D, |
|
68 |
Geometry.SUBTYPES.GEOM3D, |
|
69 |
Geometry.SUBTYPES.GEOM3DM |
|
70 |
} |
|
71 |
), |
|
42 | 72 |
this.getProcessPanel(), |
43 |
this.getParameters(), |
|
44 |
new int[] { |
|
45 |
Geometry.TYPES.GEOMETRY, |
|
46 |
Geometry.TYPES.POINT, |
|
47 |
Geometry.TYPES.LINE, |
|
48 |
Geometry.TYPES.POLYGON, |
|
49 |
Geometry.TYPES.MULTIPOINT, |
|
50 |
Geometry.TYPES.MULTILINE, |
|
51 |
Geometry.TYPES.MULTIPOLYGON |
|
52 |
}, |
|
53 |
new int[] { |
|
54 |
Geometry.SUBTYPES.GEOM2D, |
|
55 |
Geometry.SUBTYPES.GEOM3D, |
|
56 |
Geometry.SUBTYPES.GEOM3DM |
|
57 |
} |
|
73 |
this.getParameters() |
|
58 | 74 |
) |
59 | 75 |
); |
60 |
this.add( manager.createStandardPanel( |
|
61 |
ExportPanelsManager.PANEL_CHECK_GEOMETRIES, |
|
76 |
this.add( new UseSimplifiedExportWrapper( |
|
77 |
manager.createStandardPanel( |
|
78 |
ExportPanelsManager.PANEL_CHECK_GEOMETRIES, |
|
79 |
this.getProcessPanel(), |
|
80 |
this.getParameters() |
|
81 |
), |
|
62 | 82 |
this.getProcessPanel(), |
63 | 83 |
this.getParameters() |
64 | 84 |
) |
65 | 85 |
); |
66 |
this.add( new EncodingPanel( |
|
86 |
this.add( new UseSimplifiedExportWrapper( |
|
87 |
new EncodingPanel( |
|
88 |
this.getProcessPanel(), |
|
89 |
this.getParameters() |
|
90 |
), |
|
67 | 91 |
this.getProcessPanel(), |
68 | 92 |
this.getParameters() |
69 | 93 |
) |
Also available in: Unified diff