When the Tags tab applies to a stereotype,
it specifies the tag definition for all elements that use the given
stereotype.
Procedure
- Create the profile to
hold the tag if it does not exist.
- If it does not exist, define a stereotype
for the profile and select <<New>.
The Features window opens.
- Select the Tags tab
to display the window.
- The Quick Add fields
let you define the name for the tag and its default value quickly
and click Add.
- You might want to enter a more detailed
description of the tag in the area above Quick Add.
- Click OK.
Results
The new tag is added to the Tags tab.
In addition, it is added to the browser.
This sample
tag is listed as Profile::Component::<TagName> (in
this example, Avionics::Component::RiskFactor) because
it was defined under the stereotype of the profile. You would use
this tag for components with the corresponding stereotype. For example,
if you have a component named System with the SafetyCritical stereotype,
its Tag tab would include the tag Avionics::SafetyCritical::RiskFactor.
Note: To create a tag using the browser, right-click the
stereotype and select . You can rename the tag if
you want.