public class InlineAction extends BasePlatformRefactoringAction
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
InlineAction() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getActionName(DataContext dataContext) |
protected RefactoringActionHandler |
getHandler(Language language,
PsiElement element) |
protected RefactoringActionHandler |
getRefactoringHandler(RefactoringSupportProvider provider) |
protected boolean |
isAvailableForLanguage(Language language) |
boolean |
isAvailableInEditorOnly() |
protected boolean |
isAvailableOnElementInEditorAndFile(PsiElement element,
Editor editor,
PsiFile file,
DataContext context) |
boolean |
isEnabledOnElements(PsiElement [] elements) |
getHandler, getRefactoringHandler, isHidden
actionPerformed, disableOnCompiledElement, findRefactoringTargetInEditor, getElementAtCaret, getPsiElementArray, hasAvailableHandler, isAvailableForFile, isAvailableOnElementInEditorAndFile, isEnabledOnDataContext, update
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 boolean isAvailableInEditorOnly()
isAvailableInEditorOnly
in class BaseRefactoringAction
protected boolean isAvailableOnElementInEditorAndFile(PsiElement element, Editor editor, PsiFile file, DataContext context)
isAvailableOnElementInEditorAndFile
in class BasePlatformRefactoringAction
public boolean isEnabledOnElements(PsiElement [] elements)
isEnabledOnElements
in class BasePlatformRefactoringAction
protected RefactoringActionHandler getRefactoringHandler(RefactoringSupportProvider provider)
getRefactoringHandler
in class BasePlatformRefactoringAction
protected RefactoringActionHandler getHandler(Language language, PsiElement element)
getHandler
in class BasePlatformRefactoringAction
protected boolean isAvailableForLanguage(Language language)
isAvailableForLanguage
in class BasePlatformRefactoringAction
protected java.lang.String getActionName(DataContext dataContext)
getActionName
in class BaseRefactoringAction