Opening C/C++ declaration editors from C/C++ domain modeling class diagrams

You can open a C/C++ declaration editor from the diagram editor to make modifications to the source code of C/C++ classes and data types.

Before you begin

You must be in the C/C++ perspective and have a C/C++ domain modeling class diagram open in the diagram editor.
Note: Changes made to the source code are automatically reflected in the corresponding diagram.

About this task

To open a C/C++ declaration editor, in the diagram editor, right-click a C/C++ classifier; then click Navigate > Open Declaration.

Results

A C/C++ source code editor opens in which you can edit the source code of a C/C++ declaration header file.

What to do next

Note: To open the default C/C++ editor, you can double-click a C/C++ classifier or relationship.

Feedback