Examples of initDefaultStrategies()


Examples of org.locationtech.udig.tools.edit.behaviour.SelectFeatureBehaviour.initDefaultStrategies()

        helper.add( new SelectVertexBehaviour());
        helper.stopAdvancedFeatures();

        helper.startAdvancedFeatures();
        SelectFeatureBehaviour selectGeometryBehaviour = new SelectFeatureBehaviour(new Class[]{Polygon.class, MultiPolygon.class}, Intersects.class);
        selectGeometryBehaviour.initDefaultStrategies(ShapeType.POLYGON);
        helper.add( selectGeometryBehaviour);
        helper.add( new InsertVertexOnEdgeBehaviour() );
       
        helper.startElseFeatures();
        helper.add(new StartEditingBehaviour(ShapeType.POLYGON));
View Full Code Here

Examples of org.locationtech.udig.tools.edit.behaviour.SelectFeatureBehaviour.initDefaultStrategies()

        helper.add( new SelectVertexBehaviour());
        helper.stopAdvancedFeatures();
       
        helper.startAdvancedFeatures();
        SelectFeatureBehaviour selectGeometryBehaviour = new SelectFeatureBehaviour(new Class[]{LineString.class, LinearRing.class, MultiLineString.class}, Intersects.class);
        selectGeometryBehaviour.initDefaultStrategies(ShapeType.LINE);
        helper.add(selectGeometryBehaviour);
        helper.add(new InsertVertexOnEdgeBehaviour());

        helper.startElseFeatures();
        helper.add(new StartEditingBehaviour(ShapeType.LINE));
View Full Code Here

Examples of org.locationtech.udig.tools.edit.behaviour.SelectFeatureBehaviour.initDefaultStrategies()

        helper.startAdvancedFeatures();
        helper.add(new SelectVertexOnMouseDownBehaviour());
        helper.add( new SelectVertexBehaviour());

        SelectFeatureBehaviour selectGeometryBehaviour = new SelectFeatureBehaviour(new Class[]{Point.class, MultiPoint.class}, BBOX.class);
        selectGeometryBehaviour.initDefaultStrategies(ShapeType.POINT);
        helper.add(selectGeometryBehaviour);

        helper.startElseFeatures();
        helper.add(new StartEditingBehaviour(ShapeType.POINT));
        helper.stopElseFeatures();
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.