Package org.locationtech.udig.project

Examples of org.locationtech.udig.project.IEditManager


    private ILayer selectedLayer;

    public ProfileTool() {
        super(MOUSE | MOTION);

        IEditManager editManager = ApplicationGIS.getActiveMap().getEditManager();
        editManager.addListener(this);
        selectedLayer = editManager.getSelectedLayer();
    }
View Full Code Here


    public void setActive( boolean active ) {

        if (!active) {
            cleanupOnDeactivation();
            IEditManager editManager = ApplicationGIS.getActiveMap().getEditManager();
            editManager.removeListener(this);
        }
        super.setActive(active);
    }
View Full Code Here

        IMap map = ApplicationGIS.getActiveMap();
        if( map==ApplicationGIS.NO_MAP ){
            return;
        }
       
        IEditManager editManager = map.getEditManager();
        if( editManager == null ){
            return;
        }
            ILayer selectedLayer = editManager.getSelectedLayer();
            if( selectedLayer == null ){
                return;
            }
            SimpleFeatureType schema = selectedLayer.getSchema();
        if( schema ==null ){
View Full Code Here

    }
  }

  public void setContext(IToolContext context) {

    IEditManager editManager;
    if (context == null) {
      // initialize or reinitialize
      editManager = getCurrentEditManager();
      if (editManager != null) {
        removeListenerFrom(editManager);
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.IEditManager

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.