|
|||||||||
| 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 void |
addLayoutProvider(LayoutProvider layoutProvider)
Allows to add a LayoutProvider directly. |
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.emf.ecore.EObject domainModel,
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.emf.ecore.EObject domainModel,
org.eclipse.swt.widgets.Control control)
gridCell - the current GridCellcontrolGridDescription - the GridDescription of the rendered VElementcurrentRowGridDescription - the GridDescription of the current rowfullGridDescription - the GridDescription of the whole containervElement - the VElement which is currently rendereddomainModel - The domain model object whose feature 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
public static void addLayoutProvider(LayoutProvider layoutProvider)
LayoutProvider directly.
layoutProvider - The LayoutProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||