Examples of EditGeom


Examples of org.locationtech.udig.tools.edit.support.EditGeom

    }

    public void rollback( IProgressMonitor monitor ) throws Exception {
        editBlackboard.removeGeometries(Collections.singleton(first));

        EditGeom newGeom = editBlackboard.newGeom(oldshape.getEditGeom().getFeatureIDRef().get(), oldshape.getEditGeom().getShapeType());

        for( int i = 0; i < oldshape.getNumCoords(); i++ ) {
            editBlackboard.addCoordinate(oldshape.getCoord(i), newGeom.getShell());
        }

        if (currentShapeSet)
            setCurrentShape(newGeom.getShell());

        FeatureStore<SimpleFeatureType, SimpleFeature> store = layer.getResource(FeatureStore.class, new SubProgressMonitor(monitor,
                1));

        FilterFactory factory = CommonFactoryFinder.getFilterFactory(GeoTools.getDefaultHints());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.