public interface ContextAction
ContextAction
s are executed once the user selects the appropriate UI
elements in the view and triggers the registered action.
The name of the action (as returned by getName()
) is likely to be
user-visible and should be localized.
The following information is specific to the current release and may change in a future release.
The swing client uses ContextAction
s to mostly implement menus. Some
of these menus are shown when a user right-clicks on a widget, but some are
associated with a window.
MenuAction
,
VMContextAction
Modifier and Type | Method and Description |
---|---|
LocalizedString |
getDescription()
A user-visible description for this action
|
LocalizedString |
getName()
A user-visible name for this action
|
LocalizedString getName()
LocalizedString getDescription()
Copyright © 2014. All rights reserved.