Examples of IAnimation


Examples of org.locationtech.udig.project.ui.IAnimation

      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

Examples of org.locationtech.udig.project.ui.IAnimation

  public void rollback(IProgressMonitor monitor) throws Exception {
    if (addedCoord == null) {
      return;
    }
    if (handler.getContext().getMapDisplay() != null && showAnimation) {
      IAnimation animation = new DeleteVertexAnimation(point);
      AnimationUpdater.runTimer(handler.getContext().getMapDisplay(), animation);
    }
    board.removeCoordinate(index, addedCoord, shape);
    addedCoord = null;
  }
View Full Code Here

Examples of org.locationtech.udig.project.ui.IAnimation

                            }
                        }
                        if (features.size() == 0)
                            return;
                        if (!getRenderManager().isDisposed()) {
                            IAnimation anim = createAnimation(features);
                            if (anim != null)
                                AnimationUpdater.runTimer(getMap().getRenderManager()
                                        .getMapDisplay(), anim);
                        }
                    }
View Full Code Here

Examples of org.locationtech.udig.project.ui.IAnimation

                            }
                        }
                        if (features.size() == 0)
                            return;
                        if (!getRenderManager().isDisposed()) {
                            IAnimation anim = createAnimation(features);
                            if (anim != null)
                                AnimationUpdater.runTimer(getMap().getRenderManager()
                                        .getMapDisplay(), anim);
                        }
                    }
View Full Code Here

Examples of org.locationtech.udig.project.ui.IAnimation

    public void rollback( IProgressMonitor monitor ) throws Exception {
        if (addedCoord == null){
            return;
        }
        if (handler.getContext().getMapDisplay() != null && showAnimation) {
            IAnimation animation = new DeleteVertexAnimation(point);
            AnimationUpdater.runTimer(handler.getContext().getMapDisplay(), animation);
        }
        board.removeCoordinate(index, addedCoord, shapeProvider.get(monitor));
        addedCoord = null;
    }
View Full Code Here

Examples of org.locationtech.udig.project.ui.IAnimation

            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

Examples of org.locationtech.udig.project.ui.IAnimation

   
    public void rollback( IProgressMonitor monitor ) throws Exception {
        board.startBatchingEvents();

        if (handler.getContext().getMapDisplay() != null) {
            IAnimation animation = new DeleteVertexAnimation(point);
            AnimationUpdater.runTimer(handler.getContext().getMapDisplay(), animation);
        }
       
        board.removeCoordinate(index, toAdd, shape.get(new SubProgressMonitor(monitor, 1)));
        board.selectionClear();
View Full Code Here

Examples of org.locationtech.udig.project.ui.IAnimation

        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
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.