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:
- In the diagram editor, select the method.
- Click the method to edit it; then change the method return type.
- In the C/C++ element edit dialog box, in the
Refactored Source pane, preview the change.
- Click OK.