Revision 4256 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java

View differences:

FLyrVect.java
61 61
import com.iver.cit.gvsig.fmap.drivers.DriverIOException;
62 62
import com.iver.cit.gvsig.fmap.drivers.VectorialDatabaseDriver;
63 63
import com.iver.cit.gvsig.fmap.drivers.VectorialDriver;
64
import com.iver.cit.gvsig.fmap.edition.AnnotationEditableAdapter;
64 65
import com.iver.cit.gvsig.fmap.edition.EditableAdapter;
65 66
import com.iver.cit.gvsig.fmap.edition.EditionException;
66 67
import com.iver.cit.gvsig.fmap.edition.VectorialEditableAdapter;
......
786 787
			if (getSource() instanceof VectorialDBAdapter)
787 788
			{
788 789
				vea = new VectorialEditableDBAdapter();
790
			}else if (this instanceof FLyrAnnotation)
791
			{
792
				vea = new AnnotationEditableAdapter(((FLyrAnnotation)this).getLabels(),((FLyrAnnotation)this).getMapping());
789 793
			}
790 794
			else
791 795
			{

Also available in: Unified diff