|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.view.spi.swt.layout.LayoutProviderHelper
public final class LayoutProviderHelper
The helper class allowing an easy access to LayoutProviders
.
Method Summary | |
---|---|
static org.eclipse.swt.widgets.Layout |
getColumnLayout(int numColumns,
boolean equalWidth)
Eases the access to the layout provider extension point. |
static Object |
getLayoutData(SWTGridCell gridCell,
SWTGridDescription controlGridDescription,
SWTGridDescription currentRowGridDescription,
SWTGridDescription fullGridDescription,
VElement vElement,
org.eclipse.swt.widgets.Control control)
Eases the access to the layout provider extension point. |
static Object |
getSpanningLayoutData(int spanX,
int spanY)
The layout data for a spanning layout. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.eclipse.swt.widgets.Layout getColumnLayout(int numColumns, boolean equalWidth)
numColumns
- the number of columns to createequalWidth
- whether the columns should be equal width
LayoutProvider.getColumnLayout(int, boolean)
public static Object getLayoutData(SWTGridCell gridCell, SWTGridDescription controlGridDescription, SWTGridDescription currentRowGridDescription, SWTGridDescription fullGridDescription, VElement vElement, org.eclipse.swt.widgets.Control control)
gridCell
- the current GridCell
controlGridDescription
- the GridDescription
of the rendered VElement
currentRowGridDescription
- the GridDescription
of the current rowfullGridDescription
- the GridDescription
of the whole containervElement
- the VElement
which is currently renderedcontrol
- the rendered Control
LayoutProvider#getLayoutData(GridCell, GridDescription, GridDescription, GridDescription, VElement, Control)
public static Object getSpanningLayoutData(int spanX, int spanY)
spanX
- the horizontal spanspanY
- the vertical span
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |