Showing related Java elements

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:
  1. In the diagram editor, right-click a Java classifier or a group of selected Java classifiers; then click Filters > Show Related Elements.
  2. 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.
  3. click OK.
Related concepts
Association relationships
Dependency relationships
Extends relationships
Implements relationships
Owned element association relationships
Related tasks
Populating UML class diagrams with Java elements
Populating class diagrams with Java elements based on type
Customizing queries for showing related elements
Showing related Java elements based on outgoing relationships
Showing related Java elements based on incoming relationships
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.