Revision 37328 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/operations/Classifiable.java

View differences:

Classifiable.java
41 41
package org.gvsig.fmap.mapcontext.layers.operations;
42 42

  
43 43
import org.gvsig.fmap.dal.exception.ReadException;
44
import org.gvsig.fmap.geom.type.GeometryType;
44 45
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend;
45 46
import org.gvsig.fmap.mapcontext.rendering.legend.events.listeners.LegendListener;
46 47

  
......
92 93
	 * @see Constant
93 94
	 *
94 95
	 * @throws ReadDriverException if the driver fails reading the data.
96
	 * 
97
	 * @deprecated to be removed in gvSIG 2.1. Use {@link #getGeometryType()} instead.
95 98
	 */
96 99
	public int getShapeType() throws ReadException;
100
	
101
    /**
102
     * Returns the layer's geometry type
103
     * 
104
     * @return the geometry type
105
     * 
106
     * @throws ReadException
107
     *             if there is an error getting the geometry type
108
     */
109
    public GeometryType getGeometryType() throws ReadException;
97 110
}

Also available in: Unified diff