An element type describes a class of elements, including their properties and applicable actions.
Every element must belong to an element type at run time. You assign it via the Match Name. In addition, each element type has a match name attribute, under which a unique name for the type must be defined. A tool that creates a new element must return this name under a designated property.
You can configure element types hierarchically so that they can be displayed in a Tree View. This is done using the Get Children attribute.
Depending on function packages installed and used in an AWM model, it is possible to create a linked element type. See Linked Element Types for the Eclipse Function Package for more information.
Attribute | Type | Description |
---|---|---|
ID * | ID * | The ID of the element type. |
Get_All_Properties [O] | ActionDescriptor | Relationship to an action that returns all the property values of an element. See Get All Properties action for more information. |
Icon [O] | Icon | The icon of the element type. |
Matchname * | String | The name by which the element type can be determined. |
ID_Definition * | ID Definition | The ID definition of the element type. This definition describes the properties of the element type that uniquely identify an element within an application. See ID definition for more information. |
Get_Children | Action Descriptor | Reference to an action that returns the children elements. If you expand an element in the Tree View, this action displays the next hierarchical level of elements. |
Relationship | Cardinality | Description |
---|---|---|
Has_Action | 0..* | Relationship to an action descriptor. Element-Actions can be executed from the context menu of the corresponding element. |
Has_Property | 1..* | Relationship to a property that stands for an attribute of the element. |
Has_Filter | 0..* | Relationship to a filter type. A Filter dialog box can be executed from the context menu of the corresponding element. |