You can populate existing UML modeling diagrams with
code elements from a project view.
You must be in the C/C++ perspective.
The C/C++ Projects view must contain a folder
with source code files. A UML modeling diagram must be open in the
diagram editor.
To populate a UML model diagram, select a file from the C/C++
Projects view and drag it into an open UML modeling diagram.