🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators ListActions

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

selfVM.ListActions(<nameofNesting>)

Argument

nameofNesting: String

String name of the Nesting. Use selfVM.Nesting 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

ActionName: String

Name of the action.

Enabled: Boolean

true if the action is enabled.

Group: String

Name of the menu group for the action.

Hint: String

Extra information shown when your mouse is over the Action UI widget. Hint is available for both enabled and disabled Actions.

IsNavigating: Boolean

true if the action navigates to another ViewModel.

NestingName: String

Name of the ViewModel Nesting.

Presentation: String

String representation of the ViewModel.

See also: