public abstract class ActionManagerEx extends ActionManager
Constructor and Description |
---|
ActionManagerEx() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addActionPopupMenuListener(ActionPopupMenuListener listener,
Disposable parentDisposable)
Allows to receive notifications when popup menus created from action groups are shown and hidden.
|
abstract ActionToolbar |
createActionToolbar(java.lang.String place,
ActionGroup group,
boolean horizontal,
boolean decorateButtons) |
abstract void |
fireAfterActionPerformed(AnAction action,
DataContext dataContext,
AnActionEvent event) |
abstract void |
fireBeforeActionPerformed(AnAction action,
DataContext dataContext,
AnActionEvent event) |
void |
fireBeforeActionPerformed(java.lang.String actionId,
java.awt.event.InputEvent event) |
abstract void |
fireBeforeEditorTyping(char c,
DataContext dataContext) |
static ActionManagerEx |
getInstanceEx() |
static javax.swing.KeyStroke |
getKeyStroke(java.lang.String s)
Similar to
KeyStroke.getKeyStroke(String) but allows keys in lower case. |
abstract java.lang.String |
getLastPreformedActionId()
For logging purposes
|
abstract java.lang.String [] |
getPluginActions(PluginId pluginId) |
abstract java.lang.String |
getPrevPreformedActionId() |
abstract java.util.Comparator<java.lang.String> |
getRegistrationOrderComparator()
Comparator compares action ids (String) on order of action registration.
|
abstract boolean |
isActionPopupStackEmpty() |
abstract boolean |
isTransparentOnlyActionsUpdateNow() |
abstract void |
queueActionPerformedEvent(AnAction action,
DataContext context,
AnActionEvent event) |
addAnActionListener, addAnActionListener, addTimerListener, addTransparentTimerListener, createActionPopupMenu, createActionToolbar, createButtonToolbar, getAction, getActionIds, getActionOrStub, getComponentName, getId, getInstance, getKeyboardShortcut, isGroup, registerAction, registerAction, removeAnActionListener, removeTimerListener, removeTransparentTimerListener, replaceAction, tryToExecute, unregisterAction
public static ActionManagerEx getInstanceEx()
public abstract ActionToolbar createActionToolbar(java.lang.String place, ActionGroup group, boolean horizontal, boolean decorateButtons)
public abstract void fireBeforeActionPerformed(AnAction action, DataContext dataContext, AnActionEvent event)
public abstract void fireAfterActionPerformed(AnAction action, DataContext dataContext, AnActionEvent event)
public abstract void fireBeforeEditorTyping(char c, DataContext dataContext)
public abstract java.lang.String getLastPreformedActionId()
public abstract java.lang.String getPrevPreformedActionId()
public abstract java.util.Comparator<java.lang.String> getRegistrationOrderComparator()
public static javax.swing.KeyStroke getKeyStroke(java.lang.String s)
KeyStroke.getKeyStroke(String)
but allows keys in lower case.
I.e. "control x" is accepted and interpreted as "control X".public abstract java.lang.String [] getPluginActions(PluginId pluginId)
public abstract void queueActionPerformedEvent(AnAction action, DataContext context, AnActionEvent event)
public abstract boolean isActionPopupStackEmpty()
public abstract boolean isTransparentOnlyActionsUpdateNow()
public void fireBeforeActionPerformed(java.lang.String actionId, java.awt.event.InputEvent event)
public abstract void addActionPopupMenuListener(ActionPopupMenuListener listener, Disposable parentDisposable)