|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Utility classes to ease the generation of queries over EMF models
Method Summary | |
Set |
executeQuery(EObject queryRoot,
EObjectCondition condition,
IProgressMonitor monitor)
Executes a query using queryRoot as the root of the
subtree where to perform the search. |
Method Detail |
public Set executeQuery(EObject queryRoot, EObjectCondition condition, IProgressMonitor monitor) throws InterruptedException
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 recusively apply the query tocondition
- The condition object used to filter in EObject
monitor
- 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
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.