Deleting C/C++ elements from UML models

You can delete C/C++ members, such as fields and methods, from C/C++ types.
You must be in the C/C++ perspective and have a diagram open in the diagram editor.
To delete a C/C++ member from a C/C++ type:
  1. In the diagram editor, right-click a C/C++ element; then click Delete from Model.
  2. In the Delete a C++ element dialog box, to preview the change in the source code, click Preview.
  3. Click Yes.
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
Adding enumeration literals to C/C++ enumerations
Deleting C/C++ elements from diagrams
Renaming C/C++ elements
Creating relationships between C/C++ elements

Feedback