public static class AnActionButton.AnActionButtonWrapper extends AnActionButton implements ActionWithDelegate<AnAction>
AnActionButton.ActionButtonListener, AnActionButton.AnActionButtonWrapper, AnActionButton.AnActionEventWrapper, AnActionButton.CheckedAnActionButton
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
AnActionButtonWrapper(Presentation presentation,
AnAction action) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
AnAction |
getDelegate() |
boolean |
isDumbAware() |
void |
updateButton(AnActionEvent e) |
addActionButtonListener, addCustomUpdater, fromAction, getContextComponent, getDataContext, getPreferredPopupPoint, getShortcut, isEnabled, isVisible, removeActionButtonListener, setContextComponent, setEnabled, setShortcut, setVisible, update
addTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPresentableName
public AnActionButtonWrapper(Presentation presentation, AnAction action)
public void actionPerformed(AnActionEvent e)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation placepublic void updateButton(AnActionEvent e)
updateButton
in class AnActionButton
public boolean isDumbAware()
isDumbAware
in interface PossiblyDumbAware
public AnAction getDelegate()
getDelegate
in interface ActionWithDelegate<AnAction>