Examples of DrawCreateVertexSnapAreaBehaviour


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

        cancelBehaviours.add(new DefaultCancelBehaviour());
    }

    @Override
    protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
        helper.add( new DrawCreateVertexSnapAreaBehaviour());
        helper.startAdvancedFeatures();
        helper.add( new CursorControlBehaviour(handler, new ConditionalProvider(handler, Messages.PolygonTool_add_vertex_or_finish, Messages.PolygonTool_create_feature),
                new CursorControlBehaviour.SystemCursorProvider(SWT.CURSOR_SIZEALL),new ConditionalProvider(handler, Messages.PolygonTool_move_vertex,null),
                new CursorControlBehaviour.SystemCursorProvider(SWT.CURSOR_CROSS), new ConditionalProvider(handler, Messages.PolygonTool_add_vertex, null)));
        helper.stopAdvancedFeatures();
View Full Code Here

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

    }

    @SuppressWarnings("unchecked")
    @Override
    protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
        helper.add( new DrawCreateVertexSnapAreaBehaviour());

        helper.startAdvancedFeatures();
        helper.add( new CursorControlBehaviour(handler, new ConditionalProvider(handler, Messages.LineTool_select_or_create_feature, Messages.LineTool_add_vertex_or_finish),
                new CursorControlBehaviour.SystemCursorProvider(SWT.CURSOR_SIZEALL),new ConditionalProvider(handler, Messages.LineTool_move_vertex,null),
                new CursorControlBehaviour.SystemCursorProvider(SWT.CURSOR_CROSS), new ConditionalProvider(handler, Messages.LineTool_add_vertex, null)));
View Full Code Here

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

   *            a helper for constructing the complicated structure of
   *            EventBehaviours.
   */
  @Override
  protected void initEventBehaviours(EditToolConfigurationHelper helper) {
    helper.add(new DrawCreateVertexSnapAreaBehaviour());
    helper.startMutualExclusiveList();
    helper.add(new AddSplitVertexBehaviour());
    // override so that editing will not be started if there are no
    // geometries on the
    // blackboard.
View Full Code Here

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

  }

  @Override
  protected void initEventBehaviours(EditToolConfigurationHelper helper) {

    helper.add(new DrawCreateVertexSnapAreaBehaviour());
    // helper.add(new DrawSnapAreaBehaviour());

    helper.add(new SetReferenceFeatureBehaviour(parallelContext));

    helper.add(new SetInitialPointEventBehaviour(parallelContext));
View Full Code Here

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

     * @param helper a helper for constructing the complicated structure of EventBehaviours.
     */
    @Override
    protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
        //show the snap area
        helper.add(new DrawCreateVertexSnapAreaBehaviour());
       
        //run only the first valid behaviour
        helper.startMutualExclusiveList();
        helper.add(new AddVertexWhileCreatingBehaviour());
        // override so that editing will not be started if there are no geometries on the
View Full Code Here

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

     * @see EditToolConfigurationHelper
     * @param helper a helper for constructing the complicated structure of EventBehaviours.
     */
    @Override
    protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
        helper.add(new DrawCreateVertexSnapAreaBehaviour());
        helper.startMutualExclusiveList();
        helper.add(new AddVertexWhileCreatingBehaviour());
        // override so that editing will not be started if there are no geometries on the
        // blackboard.
        helper.add(new StartEditingBehaviour(ShapeType.LINE));
View Full Code Here

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

    }

    @SuppressWarnings("unchecked")
    @Override
    protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
        helper.add(new DrawCreateVertexSnapAreaBehaviour());
        helper.add(new CursorControlBehaviour(handler, new StaticProvider<String>(
                Messages.SelectionTool_select), new CursorControlBehaviour.SystemCursorProvider(
                SWT.CURSOR_SIZEALL),
                new StaticProvider<String>(Messages.SelectionTool_move_vertex),
                new CursorControlBehaviour.SystemCursorProvider(SWT.CURSOR_CROSS),
View Full Code Here

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

    }

    @SuppressWarnings("unchecked")
    @Override
    protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
        helper.add( new DrawCreateVertexSnapAreaBehaviour());
       
        helper.startAdvancedFeatures();
        ConditionalProvider defaultMessage = new ConditionalProvider( handler, Messages.PointTool_select_or_create_feature,Messages.PointTool_add_vertex_or_finish);
        CursorControlBehaviour.SystemCursorProvider overVertexCursor = new CursorControlBehaviour.SystemCursorProvider(SWT.CURSOR_SIZEALL);
        ConditionalProvider overVertexMessage = new ConditionalProvider( handler, Messages.PointTool_move_vertex,null );
View Full Code Here

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

        cancelBehaviours.add(new DefaultCancelBehaviour());
    }

    @Override
    protected void initEventBehaviours( EditToolConfigurationHelper helper ) {
        helper.add( new DrawCreateVertexSnapAreaBehaviour());
        helper.startMutualExclusiveList();
       
        helper.startOrderedList(false);
        helper.add( new AddVertexWhileCreatingBehaviour());
        helper.add( new AcceptWhenOverFirstVertexBehaviour());
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.