org.eclipse.gef.internal.ui.rulers
Class RulerLayout
java.lang.Object
org.eclipse.draw2d.AbstractLayout
org.eclipse.draw2d.XYLayout
org.eclipse.gef.internal.ui.rulers.RulerLayout
- All Implemented Interfaces:
- org.eclipse.draw2d.LayoutManager
- public class RulerLayout
- extends org.eclipse.draw2d.XYLayout
A custom layout manager for rulers. It is not meant to be used externally or with
any figure other than a ruler
.
- Since:
- 3.0
Fields inherited from class org.eclipse.draw2d.XYLayout |
constraints |
Fields inherited from class org.eclipse.draw2d.AbstractLayout |
isObservingVisibility, preferredSize |
Method Summary |
protected org.eclipse.draw2d.geometry.Dimension |
calculatePreferredSize(org.eclipse.draw2d.IFigure container,
int wHint,
int hHint)
|
java.lang.Object |
getConstraint(org.eclipse.draw2d.IFigure child)
|
void |
layout(org.eclipse.draw2d.IFigure container)
|
Methods inherited from class org.eclipse.draw2d.XYLayout |
getOrigin, remove, setConstraint |
Methods inherited from class org.eclipse.draw2d.AbstractLayout |
calculatePreferredSize, getBorderPreferredSize, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, invalidate, isObservingVisibility, setObserveVisibility |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RulerLayout
public RulerLayout()
calculatePreferredSize
protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure container,
int wHint,
int hHint)
- See Also:
AbstractLayout.calculatePreferredSize(org.eclipse.draw2d.IFigure, int, int)
getConstraint
public java.lang.Object getConstraint(org.eclipse.draw2d.IFigure child)
- See Also:
AbstractLayout.getConstraint(org.eclipse.draw2d.IFigure)
layout
public void layout(org.eclipse.draw2d.IFigure container)
- See Also:
LayoutManager.layout(org.eclipse.draw2d.IFigure)