Class ToolbarLayoutExt
java.lang.Object
org.eclipse.draw2d.AbstractLayout
org.eclipse.draw2d.AbstractHintLayout
org.eclipse.draw2d.OrderedLayout
org.eclipse.draw2d.ToolbarLayout
org.modelversioning.emfprofile.diagram.layout.ToolbarLayoutExt
- All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager
public class ToolbarLayoutExt
extends org.eclipse.draw2d.ToolbarLayout
A
ToolbarLayout with the following additional capabilities: - the last child figure of the toolbar can fill the free space (
falseby default)
- Since:
- 0.9
-
Field Summary
Fields inherited from class org.eclipse.draw2d.ToolbarLayout
HORIZONTAL, matchWidth, spacing, VERTICALFields inherited from class org.eclipse.draw2d.OrderedLayout
ALIGN_BOTTOMRIGHT, ALIGN_CENTER, ALIGN_TOPLEFT, horizontal, minorAlignment, transposerFields inherited from class org.eclipse.draw2d.AbstractLayout
isObservingVisibility, preferredSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidlayout(org.eclipse.draw2d.IFigure parent) voidsetExpandLastItemMajorAxis(boolean expandLastItemMajorAxis) Methods inherited from class org.eclipse.draw2d.ToolbarLayout
calculateMinimumSize, calculatePreferredSize, getChildMinimumSize, getChildPreferredSize, getDefaultOrientation, getSpacing, getStretchMinorAxis, isSensitiveHorizontally, isSensitiveVertically, isStretchMinorAxis, setMatchWidth, setSpacing, setStretchMinorAxis, setVerticalMethods inherited from class org.eclipse.draw2d.OrderedLayout
getMinorAlignment, isHorizontal, setHorizontal, setMinorAlignmentMethods inherited from class org.eclipse.draw2d.AbstractHintLayout
getMinimumSize, getPreferredSize, invalidateMethods inherited from class org.eclipse.draw2d.AbstractLayout
calculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getPreferredSize, invalidate, isObservingVisibility, remove, setConstraint, setObserveVisibility
-
Constructor Details
-
ToolbarLayoutExt
public ToolbarLayoutExt()
-
-
Method Details
-
layout
public void layout(org.eclipse.draw2d.IFigure parent) - Specified by:
layoutin interfaceorg.eclipse.draw2d.LayoutManager- Overrides:
layoutin classorg.eclipse.draw2d.ToolbarLayout
-
isExpandLastItemMajorAxis
public boolean isExpandLastItemMajorAxis() -
setExpandLastItemMajorAxis
public void setExpandLastItemMajorAxis(boolean expandLastItemMajorAxis)
-