|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.draw2d.AbstractLayout
org.eclipse.draw2d.AbstractHintLayout
org.eclipse.draw2d.ToolbarLayout
org.eclipse.gef.internal.ui.palette.editparts.PaletteToolbarLayout
A ToolbarLayout-like layout for the palette. This layout is palette-specific and should not be used externally. This layout only works when vertically oriented.
| Field Summary |
| Fields inherited from class org.eclipse.draw2d.ToolbarLayout |
ALIGN_BOTTOMRIGHT, ALIGN_CENTER, ALIGN_TOPLEFT, horizontal, HORIZONTAL, matchWidth, minorAlignment, spacing, transposer, VERTICAL |
| Fields inherited from class org.eclipse.draw2d.AbstractLayout |
isObservingVisibility, preferredSize |
| Constructor Summary | |
PaletteToolbarLayout(org.eclipse.gef.internal.ui.palette.editparts.DrawerAnimationController controller)
Constructor |
|
| Method Summary | |
protected boolean |
isChildGrowing(org.eclipse.draw2d.IFigure child)
A figure is growing if it's an expanded drawer. |
void |
layout(org.eclipse.draw2d.IFigure parent)
|
| Methods inherited from class org.eclipse.draw2d.ToolbarLayout |
calculateMinimumSize, calculatePreferredSize, getMinorAlignment, getSpacing, getStretchMinorAxis, isHorizontal, isSensitiveHorizontally, isSensitiveVertically, setMatchWidth, setMinorAlignment, setSpacing, setStretchMinorAxis, setVertical |
| Methods inherited from class org.eclipse.draw2d.AbstractHintLayout |
getMinimumSize, getPreferredSize, invalidate |
| 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 |
public PaletteToolbarLayout(org.eclipse.gef.internal.ui.palette.editparts.DrawerAnimationController controller)
controller - Can be null if no animation is desired| Method Detail |
protected boolean isChildGrowing(org.eclipse.draw2d.IFigure child)
child - The figure that is to be marked as growing or non-growing
true if the given child is considered growingpublic void layout(org.eclipse.draw2d.IFigure parent)
ToolbarLayout.layout(org.eclipse.draw2d.IFigure)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||