You can populate a class diagram by showing existing Java™ elements
that are related by specific relationships to the selected Java elements.
To show related Java elements:
- In the diagram editor, right-click a Java classifier or a group of selected Java classifiers;
then click .
- In the Show Related Elements in Diagram window,
complete one of the following steps:
- To perform an existing query, under Custom Query,
click a query in the list.
- To perform a new query, click Details and specify
the details for the query.
- click OK.