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