public final class ViewModelContextFactory extends Object
ViewModelContexts.| Modifier and Type | Field and Description |
|---|---|
static ViewModelContextFactory |
INSTANCE
The singleton instance of the factory.
|
| Modifier and Type | Method and Description |
|---|---|
ViewModelContext |
createViewModelContext(VElement view,
org.eclipse.emf.ecore.EObject domainObject)
Instantiates a new view model context.
|
ViewModelContext |
createViewModelContext(VElement view,
org.eclipse.emf.ecore.EObject domainObject,
ViewModelService... modelServices)
Instantiates a new view model context with specific services.
|
public static final ViewModelContextFactory INSTANCE
public ViewModelContext createViewModelContext(VElement view, org.eclipse.emf.ecore.EObject domainObject)
view - the viewdomainObject - the domain objectViewModelContextpublic ViewModelContext createViewModelContext(VElement view, org.eclipse.emf.ecore.EObject domainObject, ViewModelService... modelServices)
view - the viewdomainObject - the domain objectmodelServices - an array of services to use in the ViewModelContextViewModelContextCopyright © 2016. All rights reserved.