In your UML model, you can add enumeration literals to
an enumeration to show the named identifiers that represent the values
of the enumeration.
To see enumeration literals in an enumeration,
the enumeration literals compartment must be visible.
To add an enumeration literal to an enumeration:
- In the diagram editor, right-click the enumeration;
then click .
- Type a name for the enumeration literal and press Enter.
Tip: You can also add enumeration literals
to enumerations in the Model Explorer view.