When
you create a UML model, you can apply a profile to the model to control how
the transformation generates code or artifacts. Adding a profile enables you
to model additional elements that you cannot model with UML elements.
You must
be in the Modeling perspective.
To
apply the transformation profile:
- In the Project Explorer view,
double-click a model.
- In the Properties view,
on the Profiles tab, click Add Profile.
- In the Select Profile dialog
box, click Deployed Profile.
- From the Deployed Profile list, select C++
Transformation.
- Click OK.
- Click .
After you apply the UML-to-C++ transformation profile, you can apply
the stereotypes in this profile to model elements.