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