public class SurroundElementWithAction extends LayoutTreeActionBase
AnAction.TransparentUpdate
myArtifactEditor
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
SurroundElementWithAction(ArtifactEditorEx artifactEditor) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
protected boolean |
isEnabled() |
update
create, create
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, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
public SurroundElementWithAction(ArtifactEditorEx artifactEditor)
protected boolean isEnabled()
isEnabled
in class LayoutTreeActionBase
public void actionPerformed(AnActionEvent e)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation place