org.eclipse.ocl.examples.xtext.essentialocl.attributes
Class UnaryOperationFilter

java.lang.Object
  extended by org.eclipse.ocl.examples.xtext.essentialocl.attributes.AbstractOperationFilter
      extended by org.eclipse.ocl.examples.xtext.essentialocl.attributes.UnaryOperationFilter
All Implemented Interfaces:
ScopeFilter

public class UnaryOperationFilter
extends AbstractOperationFilter


Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.xtext.essentialocl.attributes.AbstractOperationFilter
metaModelManager, sourceType
 
Constructor Summary
UnaryOperationFilter(MetaModelManager metaModelManager, Type sourceType)
           
 
Method Summary
 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.attributes.AbstractOperationFilter
compareMatches, getOperationBindings, installBindings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnaryOperationFilter

public UnaryOperationFilter(MetaModelManager metaModelManager,
                            Type sourceType)
Method Detail

matches

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