ListActions
No edit summary
Line 26: Line 26:


'''Group: String'''
'''Group: String'''
Name of menu group for action


'''Hint: String'''
'''Hint: String'''


IsNavigating: Boolean
 
'''IsNavigating: Boolean'''
 
true if action navigates to another ViewModel


'''NestingName: String'''  
'''NestingName: String'''  

Revision as of 11:36, 16 September 2024

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 Nesting. Use selfVM.Nesting to set nesting name for better error checking when name of nesting is changed.

Return Type

Collection(ActionInstance)

List of the Action objects

ActionInstance Attributes

ActionName: String

Name of the action.

Enabled: Boolean

true if action is enabled.

Group: String

Name of menu group for action

Hint: String


IsNavigating: Boolean

true if action navigates to another ViewModel

NestingName: String

Name of ViewModel Nesting

Presentation: String

String representation of ViewModel

See also:

This page was edited 0 days ago on 09/19/2024. What links here