Scout/Concepts/Action
Scout |
Wiki Home |
Website |
Download • Git |
Community |
Forums • Blog • Twitter • G+ |
Bugzilla |
Bugzilla |
Generic type for Menus or ViewButtons
Contents
Description
Properties
Defined with getConfiguredXxxxxx() methods.
Defining the action
Theses properties define the appearance of the action:
- IconId
- Text
- TooltipText
- Separator
- KeyStroke
- ToggleAction
Defining the state
Several properties control the state of the action (e.g. if the action is visible and enabled).
Main properties:
- Visible
- Enabled
Considering or not the context when the state is computed:
- InheritAccessibility
These properties defines where the action is:
- SingleSelectionAction
- MultiSelectionAction
- EmptySpaceAction
- NonSelectionAction
Events
Defined with execXxxxxx() methods.
- InitAction
- PrepareAction
- Action
- ToggleAction