public interface LayoutProvider
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Layout |
getColumnLayout(int numColumns,
boolean equalWidth)
The Layout for aligning controls vertically in columns.
|
org.eclipse.swt.widgets.Layout |
getColumnLayout(int numColumns,
boolean equalWidth,
org.eclipse.swt.graphics.Point margins)
The Layout for aligning controls vertically in columns.
|
Object |
getLayoutData(SWTGridCell gridCell,
SWTGridDescription controlGridDescription,
SWTGridDescription currentRowGridDescription,
SWTGridDescription fullGridDescription,
VElement vElement,
org.eclipse.emf.ecore.EObject domainModel,
org.eclipse.swt.widgets.Control control)
The LayoutData to use.
|
Object |
getSpanningLayoutData(int spanX,
int spanY)
A simple spanning Layout.
|
org.eclipse.swt.widgets.Layout getColumnLayout(int numColumns, boolean equalWidth)
numColumns
- the number of columns to createequalWidth
- whether the columns should be equal widthorg.eclipse.swt.widgets.Layout getColumnLayout(int numColumns, boolean equalWidth, org.eclipse.swt.graphics.Point margins)
numColumns
- the number of columns to createequalWidth
- whether the columns should be equal widthmargins
- the margins of the layoutObject getLayoutData(SWTGridCell gridCell, SWTGridDescription controlGridDescription, SWTGridDescription currentRowGridDescription, SWTGridDescription fullGridDescription, VElement vElement, org.eclipse.emf.ecore.EObject domainModel, org.eclipse.swt.widgets.Control control)
gridCell
- the current SWTGridCell
controlGridDescription
- the SWTGridDescription
of the rendered VElement
currentRowGridDescription
- the SWTGridDescription
of the current rowfullGridDescription
- the SWTGridDescription
of the whole containervElement
- the VElement
which is currently rendereddomainModel
- The domain model object whose feature is currently renderedcontrol
- the rendered Control
Object getSpanningLayoutData(int spanX, int spanY)
spanX
- the horizontal spanspanY
- the vertical spanCopyright © 2016. All rights reserved.