Package org.locationtech.udig.project.internal.commands.edit

Examples of org.locationtech.udig.project.internal.commands.edit.CopyFeaturesCommand$CopyFeatureCollection


* @author Jesse
*/
public class CopyFeatures {
  public void copyFeatures( IMap map, Filter filter) {
    CopyFeaturesCommand command = new CopyFeaturesCommand(map.getMapLayers().get(0), filter,
        map.getMapLayers().get(1));
   
    map.sendCommandASync(command);   
  }
View Full Code Here


    public MapCommand createDeleteFeatures( ILayer selectedLayer, Filter filter ) {
        return new DeleteManyFeaturesCommand(selectedLayer, filter);
    }

    public UndoableMapCommand createCopyFeaturesCommand( ILayer sourceLayer, Filter filter, ILayer destinationLayer) {
        return new CopyFeaturesCommand(sourceLayer, filter, (Layer) destinationLayer);
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.internal.commands.edit.CopyFeaturesCommand$CopyFeatureCollection

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.