Harvesting domain modeling diagram elements for UML models

You can create Unified Modeling Language (UML) models by transferring domain modeling class diagram elements to a UML modeling diagram.

Before you begin

You must have a domain modeling class diagram and a UML modeling diagram open.

About this task

You can customize default settings to visualize either C/C++ folders only or both folders and their contents when you harvest them for visual representation in UML modeling diagrams (Window > Preferences > Modeling > C/C++ Modeling).

To harvest domain modeling class diagram elements for a UML model:

Procedure

  1. In the diagram editor, select and right-click C/C++ elements; then click Harvest.
  2. In the UML modeling diagram, click Edit -> Paste

Results

The UML model diagram is populated with C/C++ elements from the domain modeling diagram.

Feedback