public final class Separator extends AnAction implements DumbAware, LightEditCompatible
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
Separator() |
Separator(java.lang.String text) |
Separator(java.util.function.Supplier<java.lang.String> dynamicText) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
static Separator |
create() |
static Separator |
create(java.lang.String text) |
static Separator |
getInstance() |
java.lang.String |
getText() |
java.lang.String |
toString() |
addTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, unregisterCustomShortcutSet, update, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
public Separator()
public Separator(java.lang.String text)
public Separator(java.util.function.Supplier<java.lang.String> dynamicText)
public static Separator getInstance()
public static Separator create()
public static Separator create(java.lang.String text)
public java.lang.String getText()
public void actionPerformed(AnActionEvent e)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation place