org.eclipse.xtext.xtext.ui.graph.figures.layouts
Class CompartmentLayout

java.lang.Object
  extended by org.eclipse.draw2d.AbstractLayout
      extended by org.eclipse.xtext.xtext.ui.graph.figures.layouts.CompartmentLayout
All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager

public class CompartmentLayout
extends org.eclipse.draw2d.AbstractLayout


Field Summary
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
isObservingVisibility, preferredSize
 
Constructor Summary
CompartmentLayout()
           
 
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

CompartmentLayout

public CompartmentLayout()
Method Detail

layout

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

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