public class RenameElementAction extends BaseRefactoringAction
AnAction.TransparentUpdateACTIONS_KEY, EMPTY_ARRAY| Constructor and Description |
|---|
RenameElementAction() |
| Modifier and Type | Method and Description |
|---|---|
RefactoringActionHandler |
getHandler(DataContext dataContext) |
protected boolean |
hasAvailableHandler(DataContext dataContext) |
protected boolean |
isAvailableForLanguage(Language language) |
boolean |
isAvailableInEditorOnly() |
protected boolean |
isAvailableOnElementInEditorAndFile(PsiElement element,
Editor editor,
PsiFile file,
DataContext context) |
protected boolean |
isEnabledOnDataContext(DataContext dataContext) |
boolean |
isEnabledOnElements(PsiElement [] elements) |
actionPerformed, disableOnCompiledElement, findRefactoringTargetInEditor, getActionName, getElementAtCaret, getPsiElementArray, isAvailableForFile, isAvailableOnElementInEditorAndFile, isHidden, updateaddTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbarclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDumbAwarepublic boolean isAvailableInEditorOnly()
isAvailableInEditorOnly in class BaseRefactoringActionpublic boolean isEnabledOnElements(PsiElement [] elements)
isEnabledOnElements in class BaseRefactoringActionpublic RefactoringActionHandler getHandler(DataContext dataContext)
getHandler in class BaseRefactoringActionprotected boolean hasAvailableHandler(DataContext dataContext)
hasAvailableHandler in class BaseRefactoringActionprotected boolean isEnabledOnDataContext(DataContext dataContext)
isEnabledOnDataContext in class BaseRefactoringActionprotected boolean isAvailableForLanguage(Language language)
isAvailableForLanguage in class BaseRefactoringActionprotected boolean isAvailableOnElementInEditorAndFile(PsiElement element, Editor editor, PsiFile file, DataContext context)
isAvailableOnElementInEditorAndFile in class BaseRefactoringAction