com.bonevich.eclipse.cvsgrapher.editors
Class CvsGraphLayout

java.lang.Object
  extended byorg.eclipse.draw2d.AbstractLayout
      extended byorg.eclipse.draw2d.XYLayout
          extended byorg.eclipse.draw2d.FreeformLayout
              extended bycom.bonevich.eclipse.cvsgrapher.editors.CvsGraphLayout
All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager

public final class CvsGraphLayout
extends org.eclipse.draw2d.FreeformLayout

The layout manager for the CVS Graph Editor. Basically it is a FreeformLayout but with an initializing routine to layout the tree. Also allows the layout to be reset ("snap" back to original layout).

Author:
jbonevic

Field Summary
 
Fields inherited from class org.eclipse.draw2d.XYLayout
constraints
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
preferredSize
 
Constructor Summary
CvsGraphLayout(CvsGraphEditPart editPart)
           
 
Method Summary
 void layout(org.eclipse.draw2d.IFigure parent)
           
 void reset()
           
 
Methods inherited from class org.eclipse.draw2d.FreeformLayout
getOrigin
 
Methods inherited from class org.eclipse.draw2d.XYLayout
calculatePreferredSize, getConstraint, remove, setConstraint
 
Methods inherited from class org.eclipse.draw2d.AbstractLayout
calculatePreferredSize, getBorderPreferredSize, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, invalidate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CvsGraphLayout

public CvsGraphLayout(CvsGraphEditPart editPart)
Method Detail

layout

public void layout(org.eclipse.draw2d.IFigure parent)
See Also:
LayoutManager.layout(org.eclipse.draw2d.IFigure)

reset

public void reset()


Copyright © 2003-2004 bonevich.com. All Rights Reserved.