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
AToolbarLayout
with the following additional capabilities:
- the last child figure of the toolbar can fill the free space (
false
by default)
- Since:
- 0.9
-
-
Constructor Summary
Constructors Constructor Description ToolbarLayoutExt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isExpandLastItemMajorAxis()
void
layout(org.eclipse.draw2d.IFigure parent)
void
setExpandLastItemMajorAxis(boolean expandLastItemMajorAxis)
-
Methods inherited from class org.eclipse.draw2d.ToolbarLayout
calculateMinimumSize, calculatePreferredSize, getChildMinimumSize, getChildPreferredSize, getDefaultOrientation, getSpacing, getStretchMinorAxis, isSensitiveHorizontally, isSensitiveVertically, isStretchMinorAxis, setMatchWidth, setSpacing, setStretchMinorAxis, setVertical
-
Methods inherited from class org.eclipse.draw2d.OrderedLayout
getMinorAlignment, isHorizontal, setHorizontal, setMinorAlignment
-
Methods inherited from class org.eclipse.draw2d.AbstractHintLayout
getMinimumSize, getPreferredSize, invalidate
-
-
-
-
Method Detail
-
layout
public void layout(org.eclipse.draw2d.IFigure parent)
- Specified by:
layout
in interfaceorg.eclipse.draw2d.LayoutManager
- Overrides:
layout
in classorg.eclipse.draw2d.ToolbarLayout
-
isExpandLastItemMajorAxis
public boolean isExpandLastItemMajorAxis()
-
setExpandLastItemMajorAxis
public void setExpandLastItemMajorAxis(boolean expandLastItemMajorAxis)
-
-