|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScopeFilter
A ScopeFilter is initially used to reject unwanted name contributions from a scope and once all candidate names have been identified, is used again to select a best match from ambiguous contributions.
Method Summary | |
---|---|
int |
compareMatches(org.eclipse.emf.ecore.EObject match1,
java.util.Map<TemplateParameter,ParameterableElement> bindings1,
org.eclipse.emf.ecore.EObject match2,
java.util.Map<TemplateParameter,ParameterableElement> bindings2)
Return -ve if match1 is inferior to match2, +ve if match2 is inferior to match1, or zero if both matches are of equal validity. |
boolean |
matches(EnvironmentView environmentView,
Type forType,
org.eclipse.emf.ecore.EObject eObject)
Return true if the filter accepts eObject as a candidate for inclusion in the EnvironmentView. |
Method Detail |
---|
int compareMatches(org.eclipse.emf.ecore.EObject match1, java.util.Map<TemplateParameter,ParameterableElement> bindings1, org.eclipse.emf.ecore.EObject match2, java.util.Map<TemplateParameter,ParameterableElement> bindings2)
boolean matches(EnvironmentView environmentView, Type forType, org.eclipse.emf.ecore.EObject eObject)
eObject
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |