Package org.locationtech.udig.tools.edit.animation

Examples of org.locationtech.udig.tools.edit.animation.AddVertexAnimation


      index = shape.getNumPoints() - 1;
    } finally {
      board.setCollapseVertices(collapseVertices);
    }
    if (handler.getContext().getMapDisplay() != null && showAnimation) {
      IAnimation animation = new AddVertexAnimation(point.getX(), point.getY());
      AnimationUpdater.runTimer(handler.getContext().getMapDisplay(), animation);
    }
  }
View Full Code Here


                case ADD:
                    blackboard.removeCoordinate( bag.shape.getNumPoints()-1, bag.coords.get(0), bag.shape );
                    break;
                case REMOVE:
                    if( runAnimation )
                        AnimationUpdater.runTimer(handler.getContext().getMapDisplay(), new AddVertexAnimation(bag.p.getX(), bag.p.getY()));
                    blackboard.insertCoords(bag.index, bag.p, bag.coords, bag.shape);
                    blackboard.selectionAdd(bag.p);
                    break;

                default:
View Full Code Here

            index=shape.getNumPoints()-1;
        } finally {
            board.setCollapseVertices(collapseVertices);
        }
        if (handler.getContext().getMapDisplay() != null && showAnimation) {
            IAnimation animation = new AddVertexAnimation(point.getX(), point.getY());
            AnimationUpdater.runTimer(handler.getContext().getMapDisplay(), animation);
        }
    }
View Full Code Here

        board.fireBatchedEvents();
        if ( getMap()!=null )
            handler.repaint();
       
        if( mapDisplay!=null ){
            IAnimation animation=new AddVertexAnimation(point.getX(), point.getY());
            AnimationUpdater.runTimer(mapDisplay, animation);
            handler.repaint();               
        }
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.tools.edit.animation.AddVertexAnimation

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.