public interface IQueryHelper
Modifier and Type | Method and Description |
---|---|
java.util.Set<org.eclipse.emf.ecore.EObject> |
executeQuery(org.eclipse.emf.ecore.EObject queryRoot,
org.eclipse.emf.query.conditions.eobjects.EObjectCondition condition,
org.eclipse.core.runtime.IProgressMonitor monitor)
Executes a query using
queryRoot as the root of the
subtree where to perform the search. |
java.util.Set<org.eclipse.emf.ecore.EObject> executeQuery(org.eclipse.emf.ecore.EObject queryRoot, org.eclipse.emf.query.conditions.eobjects.EObjectCondition condition, org.eclipse.core.runtime.IProgressMonitor monitor) throws java.lang.InterruptedException
queryRoot
as the root of the
subtree where to perform the search. Only EObject
satisfying the condition specified in condition/code> are returned.
queryRoot
- The root element to recursively apply the query tocondition
- The condition object used to filter in EObject
monitor
- The monitor to use to display progress and/or cancelEObject
produced by executing the queryjava.lang.InterruptedException
- The query operation was interruptedjava.lang.NullPointerException
- One of the passed parameters was null