ListActions returns all available actions of a Nesting. The method is available within the context of the ViewModel for customizing the display of actions within the UI.
OCL Expression[<a href="/index.php?title=Documentation:ListActions&veaction=edit§ion=1" class="mw-editsection-visualeditor" title="Edit section: OCL Expression" data-bs-title="Documentation:ListActions">edit</a> | <a href="/index.php?title=Documentation:ListActions&action=edit§ion=1" title="Edit section: OCL Expression" data-bs-title="Documentation:ListActions">edit source</a>]
selfVM.ListActions(<nameofNesting>)
Argument[<a href="/index.php?title=Documentation:ListActions&veaction=edit§ion=2" class="mw-editsection-visualeditor" title="Edit section: Argument" data-bs-title="Documentation:ListActions">edit</a> | <a href="/index.php?title=Documentation:ListActions&action=edit§ion=2" title="Edit section: Argument" data-bs-title="Documentation:ListActions">edit source</a>]
nameofNesting
: String
String name of Nesting. Use <a href="/Documentation:Nestings" title="Documentation:Nestings" data-bs-title="Documentation:Nestings">selfVM.Nesting</a> to set the nesting name for better error checking when the name of a nesting is changed.
Return Type
Collection(ActionInstance)
List of the Action objects
ActionInstance Attributes[<a href="/index.php?title=Documentation:ListActions&veaction=edit§ion=3" class="mw-editsection-visualeditor" title="Edit section: ActionInstance Attributes" data-bs-title="Documentation:ListActions">edit</a> | <a href="/index.php?title=Documentation:ListActions&action=edit§ion=3" title="Edit section: ActionInstance Attributes" data-bs-title="Documentation:ListActions">edit source</a>]
ActionName
: String
Name of the action.
Enabled
: Boolean
true if action is enabled.
Group
: String
Name of menu group for action
Hint
: String
Extra information showed when your mouse is over the Action UI widget. Hint is available for both enabled and disabled Action.
IsNavigating
: Boolean
true if action navigates to another ViewModel
NestingName
: String
Name of ViewModel Nesting
Presentation
: String
String representation of ViewModel
See also:[<a href="/index.php?title=Documentation:ListActions&veaction=edit§ion=4" class="mw-editsection-visualeditor" title="Edit section: See also:" data-bs-title="Documentation:ListActions">edit</a> | <a href="/index.php?title=Documentation:ListActions&action=edit§ion=4" title="Edit section: See also:" data-bs-title="Documentation:ListActions">edit source</a>]
- <a href="/Documentation:SelfVM" title="Documentation:SelfVM" data-bs-title="Documentation:SelfVM">SelfVM</a>
- <a href="/Documentation:Nestings" title="Documentation:Nestings" data-bs-title="Documentation:Nestings">Nestings</a>