Specifying mapping file information in submap mapping rules
In model-to-model transformations,
you can specify the mapping declaration, also called a map, that a
submap mapping rule invokes. A submap rule can apply a mapping declaration
that exists in a separate mapping file.
Before you begin
Procedure
- In the editor area, right-click the submap mapping rule; then click Show in Properties.
- In the Properties view, click the Details tab.
- In the File field, specify the name of the mapping file that contains the mapping declaration to apply.
- Click Browse to find the .mapping file in the projects in your workspace; then click the appropriate mapping file and click OK.
- In the Map field, from the list, select the mapping declaration to apply.
- Optional: To create a mapping declaration in the mapping file that is open in the mapping area, click New. In the New Map window, specify a name for the new mapping declaration and click OK. The new mapping declaration appears in the Outline view.
- Click .