You can add an enumeration literal to a C/C++ enumeration.
You must be in the C/C++ perspective and have a diagram open in the
diagram editor.
To add an enumeration literal to a C/C++ enumeration:
- 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.
Note: You can also use the action bar to add enumeration
literals to C/C++ enumerations.