|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.view.model.common.di.renderer.DIRendererUtil
public final class DIRendererUtil
Utility methods for implementing depdendency injection renderers.
| Method Summary | |
|---|---|
static org.eclipse.e4.core.contexts.IEclipseContext |
getContextForElement(VElement element,
ViewModelContext context)
Returns the IEclipseContext for the given VElement. |
static Object |
render(Object pojo,
VElement element,
ViewModelContext context)
Renders the given pojo. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.eclipse.e4.core.contexts.IEclipseContext getContextForElement(VElement element,
ViewModelContext context)
IEclipseContext for the given VElement. If there is no context yet, one will be
created.
element - the elementcontext - the ViewModelContext
public static Object render(Object pojo,
VElement element,
ViewModelContext context)
pojo - the renderer pojoelement - the VElement to rendercontext - the ViewModelContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||