You can access the properties of class diagram members by double-clicking the required member. Alternatively, you can access the properties by selecting the required class diagram member, right-clicking it, and selecting Properties. This displays the Specification dialog box of the selected class member.
The Specification dialog box includes four tabs, General, Members, Dependencies, Documentation.
General
The General tab allows access to the following properties of the selected entity:
Name
Description
Author
Class (stereotype, multiplicity, visibility, abstraction, and persistence)
Inheritance (superclass and subclasses)
Derived Types
Note: Any change made in the General Tab reflects in the other property windows.
Members
The Members tab of the Property dialog box resembles the Members tab document window. It allows access to the members of the selected entity.
Dependencies
The Dependencies tab of the Property dialog box resembles the Dependencies tab document window. It allows access to the relationships of the selected entity to other entities.
Documentation
The Documentation tab of the Property dialog box resembles the Documentation tabdocument window. It allows access to notes and additional information about the selected entity.
Context Menu Options
The context menu appears when you right-click the required entity. The context menu shows the details of classes and their constituent members along with the relationships they share with other classes. You can also synchronize a class in the Class Diagram Editor with the class view using the context menu. The following context menu options are available for a class in Class Diagram Editor.
The Class diagram automatically shows relationships between classes. A quick way to include classes that have a generalization relationship is to select the class and choose the appropriate option from the context menu.
Show base classes
In the Class Diagram Editor, select the class for which you want to view the base class.
On the Class Diagram context menu, select Show Base Classes.
The base class of the selected class appears in the diagram. For any inheritance, lines appear between the subclass and its superclass. This line is a solid line, with a hollow arrowhead at the parent entity.
Show derived classes
In the class diagram, select the class for which you want to view the derived classes.
On the Class Diagram context menu, select Show Derived Classes.
The derived classes of the selected class appear in the diagram. For any inheritance, lines appear between the superclass and its subclasses. This line is a solid line, with a hollow arrowhead at the parent entity.
Synchronize Class View
In Class Diagram Editor, you can synchronize the currently selected diagram member with the class view.
To synchronize a diagram member, perform the following:
In the Class Diagram Editor, select the diagram member to be synchronized.
Select Synchronize Class View
The element is synchronized with the class view and is selected in the Class View.