Changing the return type for C/C++ methods in diagrams

You can change the return type for a C/C++ method in the diagram editor.
You must be in the C/C++ perspective and have a diagram open in the diagram editor.
To change the return type for a method in a diagram:
  1. In the diagram editor, select the method.
  2. Click the method to edit it; then change the method return type.
  3. In the C/C++ element edit dialog box, in the Refactored Source pane, preview the change.
  4. Click OK.
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
Refactoring inline
Creating C/C++ enumerations
Adding enumeration literals to 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