Examples of CopyFeaturesCommand


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

* @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

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

    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
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.