Revision 13881 trunk/extensions/extAnnotations/src/com/iver/cit/gvsig/fmap/layers/Annotation_Layer.java
Annotation_Layer.java | ||
---|---|---|
53 | 53 |
import java.awt.geom.Rectangle2D; |
54 | 54 |
import java.awt.image.BufferedImage; |
55 | 55 |
import java.io.File; |
56 |
import java.io.IOException; |
|
57 | 56 |
|
58 | 57 |
import javax.print.attribute.PrintRequestAttributeSet; |
59 | 58 |
|
... | ... | |
81 | 80 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
82 | 81 |
import com.iver.cit.gvsig.fmap.core.ShapeFactory; |
83 | 82 |
import com.iver.cit.gvsig.fmap.core.symbols.ISymbol; |
84 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
|
85 | 83 |
import com.iver.cit.gvsig.fmap.crs.CRSFactory; |
86 | 84 |
import com.iver.cit.gvsig.fmap.drivers.BoundedShapes; |
87 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
88 | 85 |
import com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver; |
89 | 86 |
import com.iver.cit.gvsig.fmap.edition.Annotation_EditableAdapter; |
90 | 87 |
import com.iver.cit.gvsig.fmap.edition.EditionEvent; |
... | ... | |
93 | 90 |
import com.iver.cit.gvsig.fmap.operations.strategies.Strategy; |
94 | 91 |
import com.iver.cit.gvsig.fmap.operations.strategies.StrategyManager; |
95 | 92 |
import com.iver.cit.gvsig.fmap.rendering.Annotation_Legend; |
96 |
import com.iver.cit.gvsig.fmap.rendering.IVectorialLegend;
|
|
93 |
import com.iver.cit.gvsig.fmap.rendering.IVectorLegend; |
|
97 | 94 |
import com.iver.cit.gvsig.fmap.spatialindex.QuadtreeJts; |
98 | 95 |
import com.iver.utiles.XMLEntity; |
99 | 96 |
import com.iver.utiles.swing.threads.Cancellable; |
... | ... | |
303 | 300 |
this.setSource(lv.getSource()); |
304 | 301 |
this.setRecordset(lv.getRecordset()); |
305 | 302 |
this.setProjection(lv.getProjection()); |
306 |
this.setLegend((IVectorialLegend) lv.getLegend());
|
|
303 |
this.setLegend((IVectorLegend) lv.getLegend()); |
|
307 | 304 |
Annotation_Mapping.addAnnotationMapping(this); |
308 | 305 |
} catch (ReadDriverException e) { |
309 | 306 |
throw new XMLException(e); |
... | ... | |
552 | 549 |
clonedLayer.setISpatialIndex(getISpatialIndex()); |
553 | 550 |
clonedLayer.setName(getName()); |
554 | 551 |
clonedLayer.setCoordTrans(getCoordTrans()); |
555 |
clonedLayer.setLegend((IVectorialLegend)getLegend());
|
|
552 |
clonedLayer.setLegend((IVectorLegend)getLegend()); |
|
556 | 553 |
clonedLayer.mapping=mapping; |
557 | 554 |
clonedLayer.aLegend=aLegend; |
558 | 555 |
return clonedLayer; |
Also available in: Unified diff