Creating the inheritance hierarchy of a classifier

In UML models, you can create an inheritance hierarchy of a selected classifier, such as a class, interface, or use case. When you create an inheritance hierarchy, you can view it while the model is open. When you close the model, this information does not persist.

You must be in the Modeling perspective and have a diagram that contains classifiers that support inheritance open in the diagram editor.
To create the inheritance hierarchy for a classifier, in the diagram editor, right-click a classifier; then click Navigate > Show in > Inheritance Explorer.

As the following figure illustrates, the hierarchy of elements that inherit from the selected classifier, and the elements that the selected classifier inherits, is displayed in the top section of the Inheritance Explorer view. The list of operation and attributes of the selected classifier is displayed in the bottom section.

The Inheritance Explorer view is a small window that is divided into two sections. The top section contains a number of class icons in a tree structure. One of the class icons is highlighted. The bottom section contains a list of the operations and attributes that belong to the selected class.

Tip: You can sort the list of operations and attributes that is displayed in the bottom section of the Inheritance Explorer view. You can also open inheritance hierarchies that you created for other classifiers in the model, or create new inheritance hierarchies in the Inheritance Explorer view.
After you have created an inheritance hierarchy for a classifier, you can browse the displayed hierarchy in the Inheritance Explorer view.

Parent topic: Examining the inheritance hierarchy of classifiers

Related concepts
Classifiers

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.