|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUMLHelper
Set of UML related helper functions
| Method Summary | |
|---|---|
Element |
findElement(Element root,
String id)
Finds elements whose ID matches exactly the specified id. |
Element |
findElement(Element root,
String id,
IProgressMonitor monitor)
Finds elements whose ID matches exactly the specified id. |
Element |
findElementById(Model model,
String id)
Deprecated. Since 7.5, use the IUMLHelper.findElement(Element, String, IProgressMonitor)
method, instead. |
Element |
findElementById(Model model,
String id,
IProgressMonitor monitor)
Deprecated. Since 7.5, use the IUMLHelper.findElement(Element, String, IProgressMonitor)
method, instead. |
Set<Element> |
findElementByName(Element container,
String name,
EClass type,
IProgressMonitor monitor)
Finds the UML Element whose name and type match exactly the specified name and type respectively. |
| Method Detail |
|---|
@Deprecated
Element findElementById(Model model,
String id)
IUMLHelper.findElement(Element, String, IProgressMonitor)
method, instead.
id.
The search is performed in the model specified by model
model - The UML model where to perform the searchid - The ID of the UML element to match
IllegalArgumentException - is is an empty string
ClassCastException - is if the element associated with the
specified id is not a UML Elementcom.ibm.xtools.emf.index.IIndexSearchManager
Element findElement(Element root,
String id)
id.
The search is performed in the model specified by model
model - The UML model where to perform the searchid - The ID of the UML element to match
IllegalArgumentException - is is an empty string
ClassCastException - is if the element associated with the
specified id is not a UML Elementcom.ibm.xtools.emf.index.IIndexSearchManager
@Deprecated
Element findElementById(Model model,
String id,
IProgressMonitor monitor)
throws InterruptedException
IUMLHelper.findElement(Element, String, IProgressMonitor)
method, instead.
id.
The search is performed in the model model resource specified by its
root element.
root - The root of the UML model where to perform the searchid - The ID of the UML element to matchmonitor - The monitor to use to display progress and/or cancel operation
IllegalArgumentException - name is an empty string or type
is not a UML2 type
InterruptedException - The query operation was interrupted
ClassCastException - is if the element associated with the
specified id is not a UML Elementcom.ibm.xtools.emf.index.IIndexSearchManager
Element findElement(Element root,
String id,
IProgressMonitor monitor)
throws InterruptedException
id.
The search is performed in the model resource specified by its
root element.
root - The root of the UML model where to perform the searchid - The ID of the UML element to matchmonitor - The monitor to use to display progress and/or cancel operation
IllegalArgumentException - name is an empty string or type
is not a UML2 type
InterruptedException - The query operation was interrupted
ClassCastException - is if the element associated with the
specified id is not a UML Elementcom.ibm.xtools.emf.index.IIndexSearchManager
Set<Element> findElementByName(Element container,
String name,
EClass type,
IProgressMonitor monitor)
throws InterruptedException
name and type respectively. The search
begins at the element specified by container and recurses
within its owned elements
container - The root Element where to perform the searchname - The name of the Element to matchtype - The type of the Element to matchmonitor - The monitor to use to display progress and/or cancel operation
Element matching the specified
criteria
InterruptedException - The query operation was interrupted
IllegalArgumentException - name is an empty string or type
is not a UML2 type
NullPointerException - One of the passed parameters was nullcom.ibm.xtools.emf.index.IIndexSearchManager
|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||