Changing the return type for C/C++ methods in C/C++ domain modeling class diagrams

In a C/C++ domain modeling class diagram, you can change the return type for a C/C++ method.

Before you begin

You must be in the C/C++ perspective and have a diagram open in the diagram editor.

About this task

To change the return type for a method, complete the following steps:

Procedure

  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.

Feedback