public interface TemplateFilterService
Modifier and Type | Interface and Description |
---|---|
static interface |
TemplateFilterService.Provider
Specific Bazaar vendor interface for
TemplateFilterService providers. |
Modifier and Type | Field and Description |
---|---|
static TemplateFilterService |
NULL
A filter service that provides no filtering.
|
Modifier and Type | Method and Description |
---|---|
Predicate<? super Template> |
getTemplateFilter(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EReference reference)
Obtain a template filter applicable to templates provided for the given
reference of an owner object in the editor. |
static final TemplateFilterService NULL
Predicate<? super Template> getTemplateFilter(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference)
reference
of an owner
object in the editor.owner
- the object owning a reference
to be assigned from a templatereference
- a reference feature of the owner
that is to be assigned from a template.
If the reference
is a containment
then
the owner
would be the container
of the templatenull
to opt out of filteringCopyright © 2019. All rights reserved.