Revision 21299 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/SymbolLayerManager.java
SymbolLayerManager.java | ||
---|---|---|
125 | 125 |
import javax.swing.event.ListSelectionEvent; |
126 | 126 |
import javax.swing.event.ListSelectionListener; |
127 | 127 |
|
128 |
import org.gvsig.fmap.core.shapes.FShape;
|
|
128 |
import org.gvsig.fmap.geom.Geometry;
|
|
129 | 129 |
import org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol; |
130 | 130 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
131 | 131 |
import org.gvsig.fmap.mapcontext.rendering.symbols.MultiLayerFillSymbol; |
... | ... | |
167 | 167 |
if (symbol.getLayerCount()==0) { |
168 | 168 |
int shapeType = -1; |
169 | 169 |
if (symbol instanceof MultiLayerMarkerSymbol) { |
170 |
shapeType = FShape.POINT;
|
|
170 |
shapeType = Geometry.TYPES.POINT;
|
|
171 | 171 |
} else if (symbol instanceof MultiLayerLineSymbol) { |
172 |
shapeType = FShape.LINE;
|
|
172 |
shapeType = Geometry.TYPES.CURVE;
|
|
173 | 173 |
} else if (symbol instanceof MultiLayerFillSymbol) { |
174 |
shapeType = FShape.POLYGON;
|
|
175 |
}
|
|
174 |
shapeType = Geometry.TYPES.SURFACE;
|
|
175 |
} |
|
176 | 176 |
|
177 | 177 |
if (shapeType != -1) |
178 | 178 |
symbol.addLayer(SymbologyFactory. |
Also available in: Unified diff