Revision 1535 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java
FLyrVect.java | ||
---|---|---|
73 | 73 |
import com.iver.cit.gvsig.fmap.drivers.VectorialFileDriver; |
74 | 74 |
import com.iver.cit.gvsig.fmap.edition.DefaultEditableFeatureSource; |
75 | 75 |
import com.iver.cit.gvsig.fmap.edition.EditableFeatureSource; |
76 |
import com.iver.cit.gvsig.fmap.edition.EditableFeatureSourceProxy; |
|
76 | 77 |
import com.iver.cit.gvsig.fmap.edition.EditionException; |
77 | 78 |
import com.iver.cit.gvsig.fmap.edition.FileEditableFeatureSource; |
78 | 79 |
import com.iver.cit.gvsig.fmap.edition.MemoryExpansionFile; |
... | ... | |
154 | 155 |
public EditableFeatureSource startEdition() throws EditionException { |
155 | 156 |
FileEditableFeatureSource fefs = new FileEditableFeatureSource((VectorialFileAdapter) source); |
156 | 157 |
MemoryExpansionFile mef = new MemoryExpansionFile(); |
157 |
efs = new DefaultEditableFeatureSource(mef, |
|
158 |
fefs); |
|
158 |
efs = new EditableFeatureSourceProxy(new DefaultEditableFeatureSource(mef,
|
|
159 |
fefs));
|
|
159 | 160 |
|
160 | 161 |
efs.startEdition(); |
161 | 162 |
|
Also available in: Unified diff