public interface EMFFormsViewService
IViewProvider
as well as to retrieve a VView
based
on an EObject
and a VViewModelProperties
.Modifier and Type | Method and Description |
---|---|
void |
addProvider(IViewProvider viewProvider)
Add an
IViewProvider . |
VView |
getView(org.eclipse.emf.ecore.EObject eObject,
VViewModelProperties properties)
This allows to retrieve a
VView based on an EObject . |
void |
removeProvider(IViewProvider viewProvider)
Remove an
IViewProvider . |
void addProvider(IViewProvider viewProvider)
IViewProvider
.viewProvider
- The IViewProvider
to be addedvoid removeProvider(IViewProvider viewProvider)
IViewProvider
.viewProvider
- The IViewProvider
to be removedVView getView(org.eclipse.emf.ecore.EObject eObject, VViewModelProperties properties)
VView
based on an EObject
. This method reads all IViewProviders
and searches for the best fitting. If none can be found, then null is returned.eObject
- the EObject
to find a VView
forproperties
- the properties
EObject
or null if no suited provider could be foundCopyright © 2019. All rights reserved.