uk.ac.kcl.cch.jb.pliny.containmentView.layout
Class GraphAnimation

java.lang.Object
  extended byuk.ac.kcl.cch.jb.pliny.containmentView.layout.GraphAnimation

public class GraphAnimation
extends Object

GraphAnimation class lifted directly from the GEF flow example. The only modification is in playBackState(): if either the width of height of a final state figure bounds is greater, then the rectangle during animation is shown as the final size from the outset. Borrowed for use within Pliny with thanks to the original author (JB).

Author:
hudsonr Created on Apr 28, 2003

Constructor Summary
GraphAnimation()
           
 
Method Summary
static boolean captureLayout(org.eclipse.draw2d.IFigure root)
           
static void end()
           
static boolean playbackState(org.eclipse.draw2d.Connection conn)
           
static boolean playbackState(org.eclipse.draw2d.IFigure container)
           
static void recordFinalState(org.eclipse.draw2d.Connection conn)
           
static void recordFinalState(org.eclipse.draw2d.IFigure child)
           
static void recordInitialState(org.eclipse.draw2d.Connection connection)
           
static void recordInitialState(org.eclipse.draw2d.IFigure container)
           
static boolean step()
           
static void swap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphAnimation

public GraphAnimation()
Method Detail

end

public static void end()

captureLayout

public static boolean captureLayout(org.eclipse.draw2d.IFigure root)

playbackState

public static boolean playbackState(org.eclipse.draw2d.Connection conn)

playbackState

public static boolean playbackState(org.eclipse.draw2d.IFigure container)

recordFinalState

public static void recordFinalState(org.eclipse.draw2d.Connection conn)

recordFinalState

public static void recordFinalState(org.eclipse.draw2d.IFigure child)

recordInitialState

public static void recordInitialState(org.eclipse.draw2d.Connection connection)

recordInitialState

public static void recordInitialState(org.eclipse.draw2d.IFigure container)

swap

public static void swap()

step

public static boolean step()