Adding enumeration literals to C/C++ enumerations

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:
  1. In the diagram editor, right-click a C/C++ enumeration; then click Add C/C++ > Enumeration Literal.
  2. In the New C/C++ Enumeration Literal wizard, in the Name field, type a name for the new enumeration literal.
  3. In the Value field, type an integer value for the new enumeration literal.
  4. Click Finish.
Note: You can also use the action bar to add enumeration literals to C/C++ enumerations.
Related tasks
Creating C/C++ classes
Modifying C/C++ classes or data types
Adding fields to C/C++ classes and data types
Adding methods to C/C++ classes and data types
Changing the visibility of C/C++ fields and methods
Changing the type for C/C++ fields in diagrams
Changing the return type for C/C++ methods in diagrams
Refactoring inline
Creating C/C++ enumerations
Deleting C/C++ elements from diagrams
Deleting C/C++ elements from projects
Renaming C/C++ elements
Creating relationships between C/C++ elements

Feedback