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,
SWTRendererFactory factory,
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 VElementviewModelContext - the ViewModelContextfactory - the SWTRendererFactoryparent - the Composite to draw onto
Copyright © 2014. All Rights Reserved.