de.cau.cs.kieler.kvid.visual
Class GmfAnimator

java.lang.Object
  extended by de.cau.cs.kieler.kvid.visual.GmfAnimator

public final class GmfAnimator
extends Object

Class handling the animation of data figures in GMF.

Rating red

Method Summary
static void animate(HashMap<IKvidFigure,List<Point>> figuresAndPath, org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagram, int animationTime)
          Call this method to animate the given objects.
static void stopReplay()
          Call this when the next step starts or the visualization is finished.
static void wrapup()
          Cleans up the local cache for further use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

animate

public static void animate(HashMap<IKvidFigure,List<Point>> figuresAndPath,
                           org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagram,
                           int animationTime)
Call this method to animate the given objects.

Parameters:
figuresAndPath - Hashmap holding the KViDFigures and the path to follow
diagram - The diagram in which the animation should take place
animationTime - The time an animation may use to perform

stopReplay

public static void stopReplay()
Call this when the next step starts or the visualization is finished.


wrapup

public static void wrapup()
Cleans up the local cache for further use.