You can add an enumeration literal to a C/C++ enumeration.
Before you begin
You must be in the C/C++ perspective and have a C/C++ domain
modeling class diagrams open in the diagram editor.
About this task
To add an enumeration literal to a C/C++ enumeration, complete
the following steps:
Procedure
- In the diagram editor, right-click a C/C++ enumeration;
then click .
- In the New C/C++ Enumeration Literal wizard,
in the Name field, type a name for the new
enumeration literal.
- In the Value field, type an integer
value for the new enumeration literal.
- Click Finish.
What to do next
Note: You can also use the action bar to add
enumeration literals to C/C++ enumerations.