public class CommentByLineCommentAction extends MultiCaretCodeInsightAction implements DumbAware, LightEditCompatible
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
CommentByLineCommentAction() |
Modifier and Type | Method and Description |
---|---|
protected MultiCaretCodeInsightActionHandler |
getHandler() |
protected boolean |
isValidFor(Project project,
Editor editor,
Caret caret,
PsiFile file)
During action status update this method is invoked for each caret in editor.
|
actionPerformed, actionPerformedImpl, beforeActionPerformedUpdate, getCommandName, update
addTextOverride, applyTextOverride, 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
protected MultiCaretCodeInsightActionHandler getHandler()
getHandler
in class MultiCaretCodeInsightAction
protected boolean isValidFor(Project project, Editor editor, Caret caret, PsiFile file)
MultiCaretCodeInsightAction
true
, action is considered enabled.isValidFor
in class MultiCaretCodeInsightAction