Package org.locationtech.udig.project.command.provider

Examples of org.locationtech.udig.project.command.provider.FIDFeatureProvider


        public SimpleFeature get( IProgressMonitor monitor, Object... params ) throws IOException {

            IBlockingProvider<ILayer> layerProvider=new StaticBlockingProvider<ILayer>(layer);
            String featureID = deletedFeatures.features().next().getID();
            IBlockingProvider<SimpleFeature> featureProvider=new FIDFeatureProvider(featureID, layerProvider);

            return featureProvider.get(monitor);
        }
View Full Code Here


     * @param xpath2
     * @param geom
     */
    public SetAttributeCommand( String featureID, IBlockingProvider<ILayer> layer, String xpath2,
            Geometry geom ) {
        this( new FIDFeatureProvider(featureID, layer), layer, xpath2, geom );
    }
View Full Code Here

        List<Geometry> geoms = entry.getValue().jts;
        Geometry geom = GeometryCreationUtil.ceateGeometryCollection(geoms, binding);

        if (geom == null) { // null is used to mark things for delete?
            IBlockingProvider<ILayer> layerProvider = new StaticBlockingProvider<ILayer>(layer);
            FIDFeatureProvider featureProvider = new FIDFeatureProvider(entry.getKey(),
                    layerProvider);
            DeleteFeatureCommand deleteFeatureCommand = new DeleteFeatureCommand(featureProvider,
                    layerProvider);
            commands.add(deleteFeatureCommand);
        } else {
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.command.provider.FIDFeatureProvider

Copyright © 2018 www.massapicom. 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.