org.eclipse.ocl.examples.xtext.base.scope
Interface EnvironmentView.Filter
- All Known Implementing Classes:
- AbstractOperationFilter, BinaryOperationFilter, ContextCSScopeAdapter.NoImplicitProperties, ImplicitCollectFilter, ImplicitCollectionFilter, OperationContextFilter, OperationFilter, UnaryOperationFilter
- Enclosing class:
- EnvironmentView
public static interface EnvironmentView.Filter
compareMatches
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.
matches
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.
- Parameters:
eObject
-