org.eclipse.emf.ecp.view.model.common.di.util
Class ContextUtil

java.lang.Object
  extended by org.eclipse.emf.ecp.view.model.common.di.util.ContextUtil

public final class ContextUtil
extends Object

Util class for injection all needed objects in an IEclipseContext.

Author:
jfaltermeier

Field Summary
static String EMF_FORMS_DOMAIN_MODEL
          Named key for the domain model.
 
Method Summary
static void setAbstractRendererObjects(org.eclipse.e4.core.contexts.IEclipseContext eclipseContext, VElement element, ViewModelContext viewModelContext)
          Adds the objects of an AbstractRenderer to the IEclipseContext.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMF_FORMS_DOMAIN_MODEL

public static final String EMF_FORMS_DOMAIN_MODEL
Named key for the domain model.

See Also:
Constant Field Values
Method Detail

setAbstractRendererObjects

public static void setAbstractRendererObjects(org.eclipse.e4.core.contexts.IEclipseContext eclipseContext,
                                              VElement element,
                                              ViewModelContext viewModelContext)
Adds the objects of an AbstractRenderer to the IEclipseContext.

Parameters:
eclipseContext - the eclipse context
element - the VElement
viewModelContext - the ViewModelContext


Copyright © 2015. All Rights Reserved.