com.ibm.xtools.modeler.ui
Interface IQueryHelper
public interface IQueryHelper
Utility classes to ease the generation of queries over EMF models
executeQuery
Set<EObject> executeQuery(EObject queryRoot,
EObjectCondition condition,
IProgressMonitor monitor)
throws InterruptedException
- Executes a query using
queryRoot as the root of the
subtree where to perform the search. Only EObject
satisfying the condition specified in condition/code> are returned.
- Parameters:
queryRoot - The root element to recursively apply the query tocondition - The condition object used to filter in EObjectmonitor - The monitor to use to display progress and/or cancel
- Returns:
- The collection of
EObject produced by executing the query
- Throws:
InterruptedException - The query operation was interrupted
NullPointerException - One of the passed parameters was null
© Copyright IBM Corp. 2009. All rights reserved.