org.eclipse.emf.ecp.ui.view.swt.di.util
Class SWTContextUtil

java.lang.Object
  extended by 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

Method Summary
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 to
element - the VElement
viewModelContext - the ViewModelContext
parent - the Composite to draw onto


Copyright © 2015. All Rights Reserved.