Skip to main content
Jump to: navigation, search

Scout/Concepts/Action


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitterG+
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

Copyright © Eclipse Foundation, Inc. All Rights Reserved.