Creating a derived tag definition
1. Create a Tag Definition.
To Create a Tag Definition:
a. Right-click the Model, Package or Stereotype you want to own the Tag Definition, and select New > Tag Definition.
Or:
Select New > UML > Profiles > Tag Definition.
b. Name the Tag Definition as required.
If you want the display name of the Tag Definition in Modeler to be different from its real name: on the General tab of the Tag Definition's property pages, type the display name in the Name Alias box.
2. On the Tag Definition's Property Pages, click the Type tab.
3. Select the required Data Type (you cannot select Rich Text for a derived Tag Definition).
4. Select the Derived check box.
5. Click the Derivation Script tab, and then type the derivation script.
If you want to change the text in a larger window with the Text tab available, click the Editor button. For more information about working with scripts, see:
6. Click the Usage tab, and then click the Publish button.