Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Assign a Tagged Value to an Item
You can assign Tagged Values to several model features, as listed in the Model Elements and Features with Tagged Values topic.
To add a Tagged Value follow the steps below:
- If necessary, create user-defined tags using a predefined Tagged Value Type.
- Select the model feature to associate with the defined Tagged Value.
- Ensure that the Tagged Values window is visible (select the View | Tagged Values menu option, or press [Ctrl]+[Shift]+[6]).
Alternatively, open the Properties dialog for the object and select the Tagged Values tab. - Either click on the New Tags button or press [Ctrl]+[N]. The Tagged Value dialog displays.
- In the Tag field, type the tag name or click on the drop-down arrow and select the appropriate tag to assign to the item.
Note: |
Direct entry of predefined Tagged Values is only available for predefined tags of type string. |
- If appropriate, type a specific value for the tag in the Value field.
- To confirm selection of the Tagged Value, click on the OK button.
Modify Tagged Values with the Tagged Values Window
Once a Tagged Value has been assigned to the model feature it is possible to edit the values from the Tagged Values window. To edit the Tagged Values follow the steps below:
- Click on the View | Tagged Values menu option, or press [Ctrl]+[Shift]+[6]. The Tagged Values window displays.
- Click on the model feature for which to edit the Tagged Values. The window shows all of the tags for the selected feature, each with their current value.
- Edit the fields as appropriate. The information entered can only reflect the value types that have been defined by the tag's Tagged Value Type.
There are four types of value field for a Tagged Value:
- 'Open' fields, in which you can type any appropriate value
- 'Drop-down list' fields, where you click on the drop-down arrow to select from a discrete list of possible values such as M or F, or Win, Lose or Draw
- 'Spin' fields, where you click on up or down arrows in the field to increase or decrease the value within certain limits
- 'Further detail' fields, where you click on an ellipsis ([...]) in the field to display a dialog in which you enter information (such as notes) or indicate a source of further information (such as a classifier).
The example below shows a value being modified, using a drop-down list.
Note: |
To override a Tagged Value defined in a parent element, edit the value in the from <parentname> compartment of the Tagged Values window. Once this has been done the tag is moved into the selected element's Tagged Values; this does not affect the Tagged Values defined in the parent element. |