public class WrapWithCustomTemplateAction extends AnAction
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
WrapWithCustomTemplateAction(CustomLiveTemplate template,
Editor editor,
PsiFile file,
java.util.Set<java.lang.Character> usedMnemonicsSet) |
WrapWithCustomTemplateAction(CustomLiveTemplate template,
Editor editor,
PsiFile file,
java.util.Set<java.lang.Character> usedMnemonicsSet,
java.lang.Runnable afterExecutionCallback) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
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 WrapWithCustomTemplateAction(CustomLiveTemplate template, Editor editor, PsiFile file, java.util.Set<java.lang.Character> usedMnemonicsSet)
public WrapWithCustomTemplateAction(CustomLiveTemplate template, Editor editor, PsiFile file, java.util.Set<java.lang.Character> usedMnemonicsSet, java.lang.Runnable afterExecutionCallback)
public void actionPerformed(AnActionEvent e)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation placepublic void perform()