org.eclipse.gmf.tooling.runtime.draw2d
Class CenterLayout

java.lang.Object
  extended by org.eclipse.draw2d.AbstractLayout
      extended by org.eclipse.draw2d.AbstractHintLayout
          extended by org.eclipse.draw2d.StackLayout
              extended by org.eclipse.gmf.tooling.runtime.draw2d.CenterLayout
All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager

public class CenterLayout
extends org.eclipse.draw2d.StackLayout


Field Summary
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
isObservingVisibility, preferredSize
 
Constructor Summary
CenterLayout()
           
 
Method Summary
protected  org.eclipse.draw2d.IFigure findFigureToCenter(org.eclipse.draw2d.IFigure parent)
           
 void layout(org.eclipse.draw2d.IFigure parent)
           
 void setLayoutAgainstGrandParent(boolean layoutAgainstGrandParent)
           
 
Methods inherited from class org.eclipse.draw2d.StackLayout
calculateMinimumSize, calculatePreferredSize
 
Methods inherited from class org.eclipse.draw2d.AbstractHintLayout
getMinimumSize, getPreferredSize, invalidate, isSensitiveHorizontally, isSensitiveVertically
 
Methods inherited from class org.eclipse.draw2d.AbstractLayout
calculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getPreferredSize, 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

CenterLayout

public CenterLayout()
Method Detail

layout

public void layout(org.eclipse.draw2d.IFigure parent)
Specified by:
layout in interface org.eclipse.draw2d.LayoutManager
Overrides:
layout in class org.eclipse.draw2d.StackLayout

findFigureToCenter

protected org.eclipse.draw2d.IFigure findFigureToCenter(org.eclipse.draw2d.IFigure parent)

setLayoutAgainstGrandParent

public void setLayoutAgainstGrandParent(boolean layoutAgainstGrandParent)


Copyright © 2012. All Rights Reserved.