Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Scout/Concepts/Action"
Dev.jmini.fr (Talk | contribs) (→Description: + HG) |
m (Category changed) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ScoutPage|cat= | + | {{ScoutPage|cat=Component Model}} |
Generic type for {{ScoutLink|Concepts|Menu|Menus}} or {{ScoutLink|Concepts|ViewButton|ViewButtons}} | Generic type for {{ScoutLink|Concepts|Menu|Menus}} or {{ScoutLink|Concepts|ViewButton|ViewButtons}} | ||
Line 10: | Line 10: | ||
[[Image:HG Action.png]] | [[Image:HG Action.png]] | ||
− | + | * {{ScoutLink|Concepts|KeyStroke}} | |
− | + | * {{ScoutLink|Concepts|Menu}} | |
− | {{ | + | * {{ScoutLink|Concepts|ToolButton}} |
+ | * {{ScoutLink|Concepts|ViewButton}} | ||
Line 18: | Line 19: | ||
''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''. | ''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''. | ||
− | {{ | + | === Defining the action === |
+ | Theses properties define the appearance of the action: | ||
+ | * {{ScoutProp|IconId}} | ||
+ | * {{ScoutProp|Text}} | ||
+ | * {{ScoutProp|TooltipText}} | ||
+ | * {{ScoutProp|Separator}} | ||
+ | * {{ScoutProp|KeyStroke}} | ||
+ | * {{ScoutProp|ToggleAction}} | ||
+ | |||
+ | === Defining the state === | ||
+ | Several properties control the state of the action (e.g. if the action is visible and enabled). | ||
+ | |||
+ | Main properties: | ||
+ | * {{ScoutProp|Visible}} | ||
+ | * {{ScoutProp|Enabled}} | ||
+ | |||
+ | Considering or not the context when the state is computed: | ||
+ | * {{ScoutProp|InheritAccessibility}} | ||
+ | |||
+ | These properties defines where the action is: | ||
+ | * {{ScoutProp|SingleSelectionAction}} | ||
+ | * {{ScoutProp|MultiSelectionAction}} | ||
+ | * {{ScoutProp|EmptySpaceAction}} | ||
+ | * {{ScoutProp|NonSelectionAction}} | ||
Line 24: | Line 48: | ||
''Defined with {{ScoutLink|Concepts|Exec_Methods|execXxxxxx()}} methods''. | ''Defined with {{ScoutLink|Concepts|Exec_Methods|execXxxxxx()}} methods''. | ||
− | {{ | + | * {{ScoutEvent|InitAction}} |
+ | * {{ScoutEvent|PrepareAction}} | ||
+ | * {{ScoutEvent|Action}} | ||
+ | * {{ScoutEvent|ToggleAction}} | ||
== See Also == | == See Also == | ||
* {{ScoutLink|Concepts|Client Plug-In|Client Plug-In}} | * {{ScoutLink|Concepts|Client Plug-In|Client Plug-In}} |
Revision as of 11:38, 3 November 2011
The Scout documentation has been moved to https://eclipsescout.github.io/.
Generic type for The Scout documentation has been moved to https://eclipsescout.github.io/. or The Scout documentation has been moved to https://eclipsescout.github.io/.
- implements: The Scout documentation has been moved to https://eclipsescout.github.io/.
- extends: The Scout documentation has been moved to https://eclipsescout.github.io/.
Contents
Description
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Properties
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
Defining the action
Theses properties define the appearance of the action:
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Defining the state
Several properties control the state of the action (e.g. if the action is visible and enabled).
Main properties:
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Considering or not the context when the state is computed:
- The Scout documentation has been moved to https://eclipsescout.github.io/.
These properties defines where the action is:
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Events
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
See Also
- The Scout documentation has been moved to https://eclipsescout.github.io/.