Revision 21128 branches/v2_0_0_prep/libraries/libFMap/src/org/gvsig/fmap/mapcontext/layers/vectorial/FLyrVect.java

View differences:

FLyrVect.java
41 41
package org.gvsig.fmap.mapcontext.layers.vectorial;
42 42

  
43 43
import java.awt.Graphics2D;
44
import java.awt.Point;
45 44
import java.awt.geom.AffineTransform;
46 45
import java.awt.geom.Point2D;
47 46
import java.awt.geom.Rectangle2D;
48 47
import java.awt.image.BufferedImage;
49
import java.io.File;
50 48
import java.net.URI;
51 49
import java.util.ArrayList;
52 50
import java.util.Iterator;
......
70 68
import org.gvsig.fmap.geom.operation.DrawOperationContext;
71 69
import org.gvsig.fmap.geom.operation.GeometryOperationException;
72 70
import org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException;
73
import org.gvsig.fmap.geom.operation.towkb.ToWKB;
74
import org.gvsig.fmap.geom.primitive.FShape;
75 71
import org.gvsig.fmap.mapcontext.MapContext;
76 72
import org.gvsig.fmap.mapcontext.ViewPort;
77 73
import org.gvsig.fmap.mapcontext.exceptions.LegendLayerException;
......
79 75
import org.gvsig.fmap.mapcontext.exceptions.ReloadLayerException;
80 76
import org.gvsig.fmap.mapcontext.exceptions.StartEditionLayerException;
81 77
import org.gvsig.fmap.mapcontext.layers.AbstractLinkProperties;
82
import org.gvsig.fmap.mapcontext.layers.FBitSet;
83 78
import org.gvsig.fmap.mapcontext.layers.FLayer;
84 79
import org.gvsig.fmap.mapcontext.layers.FLyrDefault;
85 80
import org.gvsig.fmap.mapcontext.layers.FLyrVectLinkProperties;
86
import org.gvsig.fmap.mapcontext.layers.ISpatialDB;
87 81
import org.gvsig.fmap.mapcontext.layers.LayerEvent;
88
import org.gvsig.fmap.mapcontext.layers.LayerFactory;
89
import org.gvsig.fmap.mapcontext.layers.ReadableVectorial;
90 82
import org.gvsig.fmap.mapcontext.layers.SelectionSupport;
91 83
import org.gvsig.fmap.mapcontext.layers.SpatialCache;
92 84
import org.gvsig.fmap.mapcontext.layers.XMLException;
93 85
import org.gvsig.fmap.mapcontext.layers.operations.AlphanumericData;
94 86
import org.gvsig.fmap.mapcontext.layers.operations.ClassifiableVectorial;
95 87
import org.gvsig.fmap.mapcontext.layers.operations.ILabelable;
96
import org.gvsig.fmap.mapcontext.layers.operations.InfoByPoint;
97
import org.gvsig.fmap.mapcontext.layers.operations.RandomVectorialData;
98 88
import org.gvsig.fmap.mapcontext.layers.operations.SingleLayer;
99 89
import org.gvsig.fmap.mapcontext.layers.operations.VectorialData;
100
import org.gvsig.fmap.mapcontext.layers.operations.VectorialXMLItem;
101
import org.gvsig.fmap.mapcontext.layers.operations.XMLItem;
102 90
import org.gvsig.fmap.mapcontext.rendering.legend.IClassifiedVectorLegend;
103 91
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend;
104 92
import org.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend;
105
import org.gvsig.fmap.mapcontext.rendering.legend.LegendFactory;
106 93
import org.gvsig.fmap.mapcontext.rendering.legend.SingleSymbolLegend;
107 94
import org.gvsig.fmap.mapcontext.rendering.legend.ZSort;
108 95
import org.gvsig.fmap.mapcontext.rendering.legend.events.LegendChangedEvent;
109
import org.gvsig.fmap.mapcontext.rendering.legend.styling.AttrInTableLabelingStrategy;
110 96
import org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingStrategy;
111
import org.gvsig.fmap.mapcontext.rendering.legend.styling.LabelingFactory;
112
import org.gvsig.fmap.mapcontext.rendering.strategiesOld.FeatureVisitor;
113
import org.gvsig.fmap.mapcontext.rendering.strategiesOld.Strategy;
114
import org.gvsig.fmap.mapcontext.rendering.strategiesOld.StrategyManager;
115 97
import org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport;
116 98
import org.gvsig.fmap.mapcontext.rendering.symbols.FSymbol;
117 99
import org.gvsig.fmap.mapcontext.rendering.symbols.IMultiLayerSymbol;
......
121 103

  
122 104
import spatialindex.spatialindex.ISpatialIndex;
123 105

  
124
import com.iver.utiles.FileUtils;
125
import com.iver.utiles.IPersistence;
126
import com.iver.utiles.NotExistInXMLEntity;
127
import com.iver.utiles.PostProcessSupport;
128 106
import com.iver.utiles.XMLEntity;
129 107
import com.iver.utiles.swing.threads.Cancellable;
130
import com.iver.utiles.swing.threads.CancellableMonitorable;
131 108

  
132 109
/**
133 110
 * Capa b?sica Vectorial.
......
425 402
    				int symbolType = sym.getSymbolType();
426 403
    				boolean bDrawCartographicSupport = false;
427 404

  
428
    				if (   symbolType == FShape.POINT
429
    						|| symbolType == FShape.LINE
405
    				if (   symbolType == Geometry.TYPES.POINT
406
    						|| symbolType == Geometry.TYPES.CURVE
430 407
    						|| sym instanceof CartographicSupport) {
431 408

  
432 409
    					// patch
......
874 851
    					int symbolType = sym.getSymbolType();
875 852
    					boolean bDrawCartographicSupport = false;
876 853

  
877
    					if (   symbolType == FShape.POINT
878
    							|| symbolType == FShape.LINE
854
    					if (   symbolType == Geometry.TYPES.POINT
855
    							|| symbolType == Geometry.TYPES.CURVE
879 856
    							|| sym instanceof CartographicSupport) {
880 857

  
881 858
    						csSym = (CartographicSupport) sym;

Also available in: Unified diff