public class InvokeTemplateAction extends AnAction
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
InvokeTemplateAction(TemplateImpl template,
Editor editor,
Project project,
java.util.Set<java.lang.Character> usedMnemonicsSet) |
InvokeTemplateAction(TemplateImpl template,
Editor editor,
Project project,
java.util.Set<java.lang.Character> usedMnemonicsSet,
java.lang.Runnable afterInvocationCallback) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
static java.lang.String |
extractMnemonic(java.lang.String caption,
java.util.Set<? super java.lang.Character> usedMnemonics) |
TemplateImpl |
getTemplate() |
void |
perform() |
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
public InvokeTemplateAction(TemplateImpl template, Editor editor, Project project, java.util.Set<java.lang.Character> usedMnemonicsSet)
public InvokeTemplateAction(TemplateImpl template, Editor editor, Project project, java.util.Set<java.lang.Character> usedMnemonicsSet, java.lang.Runnable afterInvocationCallback)
public static java.lang.String extractMnemonic(java.lang.String caption, java.util.Set<? super java.lang.Character> usedMnemonics)
public TemplateImpl getTemplate()
public void actionPerformed(AnActionEvent e)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation placepublic void perform()