Previous Topic Next topic Print topic


Relationship: Element Has Action

Using the Element has Action relationship, an element type can be assigned actions that can be executed on elements of this type. Action descriptors referenced using this relationship appear in the context menu of all elements of this element type, but could also be deactivated there. An action enabled condition determines when an action should activate. See Enabled Condition for more information.

Attribute Type Description
TargetID * ActionDescriptor The reference to the action descriptor.
ActionEnabledCondition ActionEnabledCondition This complex attribute lets you define rules for when the action is activated. Non-activated actions are disabled, and can not be executed by the user.
Default_Action [U] Boolean Defines whether this action should be carried out by a double-click on the element. Only one action of an element type can be declared as the Default_Action.  

The default value is false.

Label [O] String Labeling of the action in the context menu. If no label is stated, the label of the referenced action descriptor will be used.
Separator_After Boolean Determines whether to insert a separation line behind the context menu entry.

The default value is false.

SeqNo Integer The Position Number of the action in the context menu of an element.
Show_In_Table_View Boolean Determines whether the referenced action should display in the Team Developer Table View context menu.
Show_In_Tree_View Boolean Determines whether the referenced action should display in the Team Developer Tree View context menu.
Previous Topic Next topic Print topic