Opening C/C++ declaration editors from diagrams

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

You must be in the C/C++ perspective and have a diagram open in the diagram editor.
Note: Changes made to the source code are automatically reflected in the corresponding diagram.
To open a C/C++ declaration editor, in the diagram editor, right-click a C/C++ classifier; then click Navigate > Open Declaration.

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

Note: To open the default C/C++ editor, you can double-click a C/C++ classifier or relationship.
Related concepts
Class diagrams
Related tasks
Opening C/C++ source code from the class diagram editor
Navigating from diagrams to source code files of C/C++ elements
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.