public interface EMFFormsFilteredViewService extends EMFFormsViewService
EMFFormsViewService
protocol that makes explicit
the support for filtering views by matching properties
requested by the client. Thus it understands how to interact with IFilteredViewProvider
s
that are #addProvider(IViewProvider) added to it.IFilteredViewProvider
Modifier and Type | Method and Description |
---|---|
default VView |
getView(org.eclipse.emf.ecore.EObject object,
VViewModelProperties properties)
Retrieve a
VView for a domain model object without any required
filter keys. |
VView |
getView(org.eclipse.emf.ecore.EObject object,
VViewModelProperties properties,
Collection<String> requiredKeys)
|
addProvider, removeProvider
default VView getView(org.eclipse.emf.ecore.EObject object, VViewModelProperties properties)
VView
for a domain model object
without any required
filter keys.getView
in interface EMFFormsViewService
object
- the domain model object for which a view is to be requestedproperties
- the properties
for providing the view, that
may or may not include matching filtersobject
or null
if no
suitable provider could be found to provide oneVView getView(org.eclipse.emf.ecore.EObject object, VViewModelProperties properties, Collection<String> requiredKeys)
object
- the domain model object for which a view is to be requestedproperties
- the properties
for providing the view, that
may or may not include matching filtersrequiredKeys
- a subset (possibly empty) of the keys in the properties
that
must be matched by any view model that I would provide. If any of these keys does not match
a view model, then that view model must not be provided. Otherwise, it may just be less
preferred than some other view model that does matchobject
or null
if no
suitable provider could be found to provide oneCopyright © 2019. All rights reserved.