Setting display options for classes

The compartment display options for classes include the association ends, parts, ports, attributes, and constraint compartment types.

About this task

To set the display options for a class:

Procedure

  1. Right-click a class in a diagram and select Display Options.
  2. Select Show Compartment Title on the General tab if you want the names of the compartment types to display in the class.
  3. Click the Compartments button and then select any of the Available type options on the right:
    1. AssociationEnd
    2. Attribute
    3. Constraint
    4. Description
    5. Operation
    6. Part
    7. Port
    8. Tag
    9. Type
  4. Click the Display button in the center of the window to move the selected compartment type to the Display column.
  5. Click OK to close the Compartments window.
  6. Click OK to close the Display options window.

Example

In this example, the user moved the AssociationEnd type into the Displayed column.
Compartments window showing AssociationEnd moved from Available column to Displayed column

The selected class then displays with these compartments.

Class on diagram showing its compartments


Feedback