Revision 1821 branches/FMap_piloto_CAD_Layout_version/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/FGeometryCollection.java
FGeometryCollection.java | ||
---|---|---|
44 | 44 |
import com.iver.cit.gvsig.fmap.core.v02.FLabel; |
45 | 45 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
46 | 46 |
import com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D; |
47 |
import com.iver.utiles.XMLEntity; |
|
47 | 48 |
|
48 | 49 |
import com.vividsolutions.jts.geom.Geometry; |
49 | 50 |
|
... | ... | |
264 | 265 |
} |
265 | 266 |
|
266 | 267 |
/** |
267 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#getSymbol()
|
|
268 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#getXMLEntity()
|
|
268 | 269 |
*/ |
269 |
public FSymbol getSymbol() { |
|
270 |
if (!geometries.isEmpty())return (FSymbol)((IGeometry)geometries.get(0)).getSymbol(); |
|
271 |
return symbol; |
|
270 |
public XMLEntity getXMLEntity() { |
|
271 |
return null; |
|
272 | 272 |
} |
273 | 273 |
|
274 |
/** |
|
275 |
* @see com.iver.cit.gvsig.fmap.core.IGeometry#setSymbol(com.iver.cit.gvsig.fmap.core.v02.FSymbol) |
|
276 |
*/ |
|
277 |
public void setSymbol(FSymbol s) { |
|
278 |
symbol=s; |
|
279 |
} |
|
280 | 274 |
} |
Also available in: Unified diff