Jump to: navigation, search

Scout/Concepts/Action

< Scout‎ | Concepts
Revision as of 11:38, 3 November 2011 by Claudio.guglielmo.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitter
Bugzilla
Bugzilla


Generic type for Menus or ViewButtons

  • implements: I obj.pngIAction
  • extends: C obj.pngAbstractAction

Description

Note.png
TODO
Add a description


HG Action.png


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


See Also