|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMatchScope
A Match Scope is used by the match engine to limit the range of comparison. Only objects/resources within scope, as well as referenced objects directly outside (but not their contents or any of their external referces) may be compared.
| Method Summary | |
|---|---|
boolean |
isInScope(org.eclipse.emf.ecore.EObject eObject)
Specifies whether the given EObject should be regarded as part of the match scope or not. |
boolean |
isInScope(org.eclipse.emf.ecore.resource.Resource resource)
Specifies whether the given Resource should be regarded as part of the match scope or not. |
| Method Detail |
|---|
boolean isInScope(org.eclipse.emf.ecore.EObject eObject)
EObject should be regarded as part of the match scope or not. If
the passed in EObject is contained in a Resource, it may only be regarded to be within
scope, if its Resource is also specified to be in scope via isInScope(Resource).
eObject - the EObject of interest
true if eObject is part of the scope, false otherwiseboolean isInScope(org.eclipse.emf.ecore.resource.Resource resource)
Resource should be regarded as part of the match scope or not.
resource - the resource of interest
true if resource is part of the scope, false otherwise
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||