Package docking.action
Interface ComponentBasedDockingAction
- All Superinterfaces:
DockingActionIf
,HelpDescriptor
An interface to signal that the implementing action works with an individual Java
Component
. Standard Docking Actions are either global tool-based actions or local
ComponentProvider
actions. This interface allows us to have the concept of an
action that is effectively local to a specific Java component.-
Field Summary
Fields inherited from interface docking.action.DockingActionIf
DESCRIPTION_PROPERTY, ENABLEMENT_PROPERTY, GLOBALCONTEXT_PROPERTY, KEYBINDING_DATA_PROPERTY, MENUBAR_DATA_PROPERTY, POPUP_MENU_DATA_PROPERTY, TOOLBAR_DATA_PROPERTY
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidComponentContext
(ActionContext context) Returns true if the given context contains this action's componentMethods inherited from interface docking.action.DockingActionIf
actionPerformed, addPropertyChangeListener, createButton, createMenuComponent, createMenuItem, dispose, getContextClass, getDefaultKeyBindingData, getDescription, getFullName, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getOwnerDescription, getPopupMenuData, getToolBarData, isAddToPopup, isEnabled, isEnabledForContext, isValidContext, removePropertyChangeListener, setContextClass, setEnabled, setKeyBindingData, setUnvalidatedKeyBindingData, shouldAddToWindow, supportsDefaultContext
Methods inherited from interface help.HelpDescriptor
getHelpInfo, getHelpObject
-
Method Details
-
isValidComponentContext
Returns true if the given context contains this action's component- Parameters:
context
- the context- Returns:
- true if the given context contains this action's component
-