org.eclipse.ocl.examples.xtext.essentialocl.scoping
Class ImplicitCollectionFilter

java.lang.Object
  extended by org.eclipse.ocl.examples.xtext.essentialocl.scoping.AbstractOperationFilter
      extended by org.eclipse.ocl.examples.xtext.essentialocl.scoping.ImplicitCollectionFilter
All Implemented Interfaces:
EnvironmentView.Filter

public class ImplicitCollectionFilter
extends AbstractOperationFilter


Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.xtext.essentialocl.scoping.AbstractOperationFilter
sourceType, typeManager
 
Constructor Summary
ImplicitCollectionFilter(TypeManager typeManager, Type sourceType)
           
 
Method Summary
protected  void installBindings(EnvironmentView environmentView, Type forType, org.eclipse.emf.ecore.EObject eObject, java.util.Map<TemplateParameter,ParameterableElement> bindings)
           
 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.
 
Methods inherited from class org.eclipse.ocl.examples.xtext.essentialocl.scoping.AbstractOperationFilter
compareMatches, getOperationBindings, installOclSelfBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplicitCollectionFilter

public ImplicitCollectionFilter(TypeManager typeManager,
                                Type sourceType)
Method Detail

installBindings

protected void installBindings(EnvironmentView environmentView,
                               Type forType,
                               org.eclipse.emf.ecore.EObject eObject,
                               java.util.Map<TemplateParameter,ParameterableElement> bindings)
Overrides:
installBindings in class AbstractOperationFilter

matches

public boolean matches(EnvironmentView environmentView,
                       Type forType,
                       org.eclipse.emf.ecore.EObject eObject)
Description copied from interface: EnvironmentView.Filter
Return true if the filter accepts eObject as a candidate for inclusion in the EnvironmentView.