org.eclipse.emf.ecp.ui.view.swt.di.util
Class SWTContextUtil
java.lang.Object
org.eclipse.emf.ecp.ui.view.swt.di.util.SWTContextUtil
public final class SWTContextUtil
- extends Object
SWT util class for injection all needed objects in an IEclipseContext
.
- Author:
- jfaltermeier
setAbstractSWTRendererObjects
public static void setAbstractSWTRendererObjects(org.eclipse.e4.core.contexts.IEclipseContext eclipseContext,
VElement element,
ViewModelContext viewModelContext,
org.eclipse.swt.widgets.Composite parent)
- Sets the given elements in the
IEclipseContext
. This method will call
ContextUtil.setAbstractRendererObjects(IEclipseContext, VElement, ViewModelContext)
.
- Parameters:
eclipseContext
- the eclipse context to add the element toelement
- the VElement
viewModelContext
- the ViewModelContext
parent
- the Composite
to draw onto
Copyright © 2015. All Rights Reserved.