To create the COBOL-dependent layer, you first define a transformation configuration.
The configuration specifies parameters of the transformation and is then used to launch the transformation. To create a transformation configuration, complete the following steps:
- In the modeling window, click .
- The New Transformation Configuration window opens. In this window, you can select the transformation.
- Under Forward transformation, highlight Abstract UML to COBOL-oriented UML.
- Click Finish.
Figure 1. The Modeling - Main - Eclipse Platform window
Figure 2. The Name and Transformation window
Next, select the source and the target of the transformation. The source of the transformation is the language-independent model (the file has an emx extension). Since the transformation creates a new model, you should create a new target container (the file must also have an .emx extension). The wizard creates a .tc file. You will use the .tc file to launch the transformation. To launch the transformation, complete the following steps:
- Using the context menu, highlight the .tc file and click .
- This creates the COBOL-dependent model. In the Project Explorer view under the Models section of your project, you will find the new model produced by the transformation.
Figure 3. The Project Explorer tab