public static class AnActionButton.AnActionButtonWrapper extends AnActionButton implements ActionWithDelegate<AnAction>
AnActionButton.ActionButtonListener, AnActionButton.AnActionButtonWrapper, AnActionButton.AnActionEventWrapper, AnActionButton.CheckedAnActionButtonAnAction.TransparentUpdateACTIONS_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, updateaddTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbarclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPresentableNamepublic AnActionButtonWrapper(Presentation presentation, AnAction action)
public void actionPerformed(AnActionEvent e)
AnActionactionPerformed in class AnActione - Carries information on the invocation placepublic void updateButton(AnActionEvent e)
updateButton in class AnActionButtonpublic boolean isDumbAware()
isDumbAware in interface PossiblyDumbAwarepublic AnAction getDelegate()
getDelegate in interface ActionWithDelegate<AnAction>