Populating domain modeling class diagrams with Java source elements

You can populate existing domain modeling class diagrams with Java source elements, including projects, packages, classes, and interfaces, to visually represent and develop structures and relationships in applications.

Before you begin

You must be in the Package Explorer view and have a domain modeling class diagram open.

About this task

To populate a class diagram with Java source elements, in the Package Explorer view or in the diagram editor, right-click a source element or selected source elements; then click Visualize and complete one of the following steps:

Results

The class diagram is populated with the selected elements and contents.
Tip: If any selected source elements are Java 2 Platform, Standard Edition (J2SE) 5.0 classes with annotations, the details of the annotations are shown in the annotation compartments of the classes in the diagram. You can also add or edit annotations in the Properties view on the Annotation page.

Feedback