org.drools.eclipse.flow.common.editor.editpart
Class GraphLayoutManager

java.lang.Object
  extended by org.eclipse.draw2d.AbstractLayout
      extended by org.drools.eclipse.flow.common.editor.editpart.GraphLayoutManager
All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager

public class GraphLayoutManager
extends org.eclipse.draw2d.AbstractLayout


Field Summary
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
isObservingVisibility, preferredSize
 
Constructor Summary
GraphLayoutManager(ProcessEditPart diagram)
           
 
Method Summary
protected  org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure container, int wHint, int hHint)
           
 void layout(org.eclipse.draw2d.IFigure container)
           
 
Methods inherited from class org.eclipse.draw2d.AbstractLayout
calculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, invalidate, isObservingVisibility, remove, setConstraint, setObserveVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphLayoutManager

public GraphLayoutManager(ProcessEditPart diagram)
Method Detail

calculatePreferredSize

protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure container,
                                                                       int wHint,
                                                                       int hHint)
Specified by:
calculatePreferredSize in class org.eclipse.draw2d.AbstractLayout

layout

public void layout(org.eclipse.draw2d.IFigure container)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.