|
|||||||||
| 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.AbstractLayoutProvider
org.eclipse.emf.ecp.view.swt.internal.layout.ECPLayoutProvider
public class ECPLayoutProvider
A default layout provider.
| Constructor Summary | |
|---|---|
ECPLayoutProvider()
|
|
| Method Summary | |
|---|---|
org.eclipse.swt.widgets.Layout |
getColumnLayout(int numColumns,
boolean equalWidth)
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ECPLayoutProvider()
| Method Detail |
|---|
public org.eclipse.swt.widgets.Layout getColumnLayout(int numColumns,
boolean equalWidth)
LayoutProvider
numColumns - the number of columns to createequalWidth - whether the columns should be equal width
public Object getLayoutData(SWTGridCell gridCell,
SWTGridDescription controlGridDescription,
SWTGridDescription currentRowGridDescription,
SWTGridDescription fullGridDescription,
VElement vElement,
org.eclipse.emf.ecore.EObject domainModel,
org.eclipse.swt.widgets.Control control)
LayoutProvider
gridCell - the current SWTGridCellcontrolGridDescription - the SWTGridDescription of the rendered VElementcurrentRowGridDescription - 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
public Object getSpanningLayoutData(int spanX,
int spanY)
LayoutProvider
spanX - the horizontal spanspanY - the vertical span
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||