Package org.locationtech.udig.project.internal.impl

Examples of org.locationtech.udig.project.internal.impl.EditManagerImpl


  private void hideCoordinateTools() {
   
    // this is a workaround to provoke an event in the layer view that could be catch by the CoordToolPropertyValue 
    CoordToolPropertyValue.setVisible(false);

    EditManagerImpl editManager = (EditManagerImpl) ApplicationGIS.getActiveMap().getEditManager();
    Layer layer = editManager.getSelectedLayer();
    editManager.setSelectedLayerGen(layer);
  }
View Full Code Here


        tool.testinitAcceptBehaviours(handler.getAcceptBehaviours());
        tool.testinitEventBehaviours(new EditToolConfigurationHelper(handler.getBehaviours()));
       
        SimpleFeature feature = handler.getFeature(0);
       
        EditManagerImpl editManager = (EditManagerImpl) handler.getContext().getEditManager();
        Layer layer = (Layer) handler.getContext().getMapLayers().get(0);
        editManager.setEditFeature(feature, layer);
       
        handler.getEditBlackboard().addGeometry((Geometry) feature.getDefaultGeometry(), feature.getID());
       
        handler.getMouseTracker().setDragStarted(Point.valueOf(0,10));
       
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.internal.impl.EditManagerImpl

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.