Creating a generation template in a TDK 3G model (TDK)
This topic provides information for customizing a TDK 3G model - TDK 3G models were previously provided for generating the ACS Code Generator DLLs, but now TDK code generation transformation patterns modes are used.
|
Do not create Operations within the Generator, Support or TDK Generator Framework packages - if you do so, your changes will be lost should you update the TDK Code Generation Transformation Patterns model with improvements provided in a future release of Modeler.
|
To create a generation template in a TDK 3G model:
1. In
Modeler, create a new
ACS Code Generator DLL in the
TDK 3G model.
How?
2. Right-click the GenClass class you created, point to New, point to UML, point to Behavior, and then click Operation.
3. Type the name of the new generation template, and the press the Enter key.
4. Right-click the Operation you created, point to > , and then click GenModule.
5. Open the Property Pages of the generation template (Operation) you have created.
6. In the Property Pages, click the Body tab.
7. Type the text of the generation template in the Body property.