public abstract class DumbAwareAction extends AnAction implements DumbAware
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
DumbAwareAction() |
protected |
DumbAwareAction(javax.swing.Icon icon) |
protected |
DumbAwareAction(java.lang.String text) |
protected |
DumbAwareAction(java.lang.String text,
java.lang.String description,
javax.swing.Icon icon) |
protected |
DumbAwareAction(java.util.function.Supplier<java.lang.String> dynamicText) |
protected |
DumbAwareAction(java.util.function.Supplier<java.lang.String> dynamicText,
javax.swing.Icon icon) |
protected |
DumbAwareAction(java.util.function.Supplier<java.lang.String> dynamicText,
java.util.function.Supplier<java.lang.String> dynamicDescription,
javax.swing.Icon icon) |
Modifier and Type | Method and Description |
---|---|
static DumbAwareAction |
create(Consumer<? super AnActionEvent> actionPerformed) |
static DumbAwareAction |
create(java.lang.String text,
Consumer<? super AnActionEvent> actionPerformed) |
actionPerformed, 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, update, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
protected DumbAwareAction()
protected DumbAwareAction(javax.swing.Icon icon)
protected DumbAwareAction(java.lang.String text)
protected DumbAwareAction(java.util.function.Supplier<java.lang.String> dynamicText)
protected DumbAwareAction(java.lang.String text, java.lang.String description, javax.swing.Icon icon)
protected DumbAwareAction(java.util.function.Supplier<java.lang.String> dynamicText, java.util.function.Supplier<java.lang.String> dynamicDescription, javax.swing.Icon icon)
protected DumbAwareAction(java.util.function.Supplier<java.lang.String> dynamicText, javax.swing.Icon icon)
public static DumbAwareAction create(Consumer<? super AnActionEvent> actionPerformed)
public static DumbAwareAction create(java.lang.String text, Consumer<? super AnActionEvent> actionPerformed)