Previous Topic Next topic Print topic


Relationship: Element Has Property

Use the Element has Property relationship to reference the properties of an element type.

Element properties can be seen both in the columns of the Element Table view and in the Properties view when an element has been selected, as shown in the following graphic. They are also essential for implementing actions on elements, as they can be used as parameters for tools. See Special properties for more information.

Element Properties in the Properties View
Attribute Type Description
TargetID * Property References the property.
PropertyEnabledCondition PropertyEnabledCondition This complex attribute lets you define rules for when the element's property should be shown in the Eclipse Property view.
Category [O] String The category under which the property displays in the Properties view.
Element Name [U] Boolean Determines whether the property's value contains the element name. Among other things, the element name is used as editor title.
Label [O] String Labels the property in the Properties view. If no label is stated, the property name is used.
SeqNo Integer Position number of the property in the Properties view. Sequence numbers that appear twice result in a random arrangement of the properties in the Property view.
Note: The category is always the higher priority in the arrangement of a property in the Properties view.
Sort_Direction

[O][Tree View]

Selection Sorts the elements of this type according to the referenced property.

Valid values include:

  • NONE
  • Ascending
  • Descending

The default value is NONE.

TreeView_Label

[O][Tree View]

Boolean Determines whether the property's value should be used as the element label in the Tree View.  

At least one relationship of the element type should have this attribute set to true. If more labels are modeled, their values are concatenated and separated by a dash (-) .  

The default value is false.

Previous Topic Next topic Print topic