public interface ViewModelServiceProvider
ViewModelService
s to inject into the ViewModelContext
that override statically registered services in it and its children, recursively down
the context hierarchy.Modifier and Type | Interface and Description |
---|---|
static class |
ViewModelServiceProvider.Composed
A composition of two
ViewModelServiceProvider s. |
Modifier and Type | Field and Description |
---|---|
static ViewModelServiceProvider |
NULL
A provider of no local service overrides.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends ViewModelService> |
getViewModelServices(VElement view,
org.eclipse.emf.ecore.EObject eObject)
Returns newly created view model services which will be used when the given view for the given object is
rendered.
|
static final ViewModelServiceProvider NULL
Collection<? extends ViewModelService> getViewModelServices(VElement view, org.eclipse.emf.ecore.EObject eObject)
view
- the view to be renderedeObject
- the object to be renderednull
)Copyright © 2019. All rights reserved.