RAD Studio (Common)
ContentsIndex
PreviousUpNext
Transforming a Design Project to Source Code

This feature is available for UML 1.5 and UML 2.0 design projects.

To generate source code from a design project:

  1. In the Model View, select a design project.
  2. Right-click and choose Transform to source on the context menu.
  3. In the Choose Destination Project dialog box, select the desired implementation project.
  4. Check the Use name mapping files for code generation checkbox if required.
  5. Click Transform.
Result: implementation code of the class diagrams that existed in the design project are added to the target language-specific project. The diagrams are also added to the target project. The diagram roots are preserved.

To insert source code to an implementation project:

  1. In the Model View, select an implementation project.
  2. Right-click and choose Transform code from design project on the context menu.
  3. In the Choose Source Project dialog box, select the desired design project.
  4. Check the Use name mapping files for code generation checkbox if required.
  5. Click Transform.
Result: implementation code of the class diagrams that existed in the design project are added to the target implementation project. The diagrams are also added to the target project. The diagram roots are preserved.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!