Attributes Tab
In the Attributes tab, the value of an existing attribute in the matrix can be changed.
To add, remove, or rename attributes, click Edit Attributes
. The Attributes dialog box displays.
Attributes can be edited manually, or loaded from attribute definition files, per-element type.
To load attributes from .def files, set the General preference "Attribute Definitions Directory" to the directory of the .def file, and press the 'Load Attributes' button in the elements' Attributes form.
The format of these attriburte definition file is :
First line:
{
Last line:
}Header section:
#header:"<description-of-file>"
#attr description:Attribute definition section:
{ #name:"<attr-name>"
#type:<attr-type>
#value:"<attr-value>"
#enforced:<yes-or-no>
}Enumerated attribute definition:
Attribute definition section:
{ #name:"<attr-name>"
#type:attr_enumerated
#legal values:
"<attr-value-1>"
["<attr-value-2>"...]
#value:"<attr-value>"
#enforced:<yes-or-no>
}Boolean attribute definition:
{ #name:"<attr-name>"
#type:attr_boolean
#value:<true-or-false>
#enforced:<yes-or-no>
}Dictionary of identifiers:
<description-of-file> - free text;
<attr-name> - free text;
<attr-value> - free text;
<yes-or-no> - Legal values: yes/no;
<true-or-false> - Legal values: true/false;
<attr-type> - Legal values: attr_integer, attr_real, attr_string, attr_enumerated, attr_boolean.Mapping of Statemate element types to attribute definition files :