You can modify names, fields (attributes), and methods
(operations) of C/C++ classes and data types from class diagrams.
You must be in the C/C++ perspective and have
a classifier open in the diagram editor.
To modify a C/C++ class or data type:
- In the diagram editor, click the name, an attribute,
or an operation of a C/C++ class or data type and double-click. This
will bring up the source code editor to allow for changes.
- In the source code editor, type your modifications to
the source code and save the file.
The changes are saved to the source code file of the
C/C++ class or data type and the changes appear in the class diagram.