Revision 23842 branches/v2_0_0_prep/extensions/extCAD/src/com/iver/cit/gvsig/StretchExtension.java
StretchExtension.java | ||
---|---|---|
41 | 41 |
package com.iver.cit.gvsig; |
42 | 42 |
|
43 | 43 |
import org.gvsig.fmap.data.exceptions.ReadException; |
44 |
import org.gvsig.fmap.data.feature.FeatureCollection;
|
|
44 |
import org.gvsig.fmap.data.feature.FeatureSet;
|
|
45 | 45 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
46 | 46 |
import org.gvsig.fmap.mapcontrol.MapControl; |
47 | 47 |
|
... | ... | |
108 | 108 |
return false; |
109 | 109 |
VectorialLayerEdited vle=(VectorialLayerEdited)em.getActiveLayerEdited(); |
110 | 110 |
FLyrVect lv=(FLyrVect)vle.getLayer(); |
111 |
FeatureCollection selection=(FeatureCollection)vle.getFeatureStore().getSelection();
|
|
111 |
FeatureSet selection=(FeatureSet)vle.getFeatureStore().getSelection();
|
|
112 | 112 |
if (selection.size()<1) { |
113 | 113 |
return false; |
114 | 114 |
} |
Also available in: Unified diff