Package org.locationtech.udig.tools.edit.behaviour

Examples of org.locationtech.udig.tools.edit.behaviour.AcceptOnDoubleClickBehaviour


    @SuppressWarnings("unchecked")
    @Override
    protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
        helper.add( new SelectFeatureBehaviour(new Class[]{Polygon.class, MultiPolygon.class}, BBOX.class));
        helper.add( new FreeHandPolygonDrawBehaviour() );
        AcceptOnDoubleClickBehaviour doubleClickRunAcceptBehaviour = new AcceptOnDoubleClickBehaviour();
        //doubleClickRunAcceptBehaviour.setAddPoint(false);
        helper.add( doubleClickRunAcceptBehaviour );
        helper.done();
    }
View Full Code Here


        //override so that editing will not be started if there are no geometries on the blackboard.
        helper.add( new StartEditingBehaviour(ShapeType.POLYGON) );
        helper.stopMutualExclusiveList();


        helper.add( new AcceptOnDoubleClickBehaviour() );
        helper.done();
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.tools.edit.behaviour.AcceptOnDoubleClickBehaviour

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.