public final class DIRendererUtil extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2017. All rights reserved.