public class ReplaceConstructorWithFactoryAction extends BaseJavaRefactoringAction
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
ReplaceConstructorWithFactoryAction() |
Modifier and Type | Method and Description |
---|---|
protected RefactoringActionHandler |
getHandler(DataContext dataContext) |
protected boolean |
isAvailableInEditorOnly() |
protected boolean |
isAvailableOnElementInEditorAndFile(PsiElement element,
Editor editor,
PsiFile file,
DataContext context) |
protected 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 boolean isAvailableInEditorOnly()
isAvailableInEditorOnly
in class BaseRefactoringAction
protected boolean isEnabledOnElements(PsiElement [] elements)
isEnabledOnElements
in class BaseRefactoringAction
protected boolean isAvailableOnElementInEditorAndFile(PsiElement element, Editor editor, PsiFile file, DataContext context)
isAvailableOnElementInEditorAndFile
in class BaseRefactoringAction
protected RefactoringActionHandler getHandler(DataContext dataContext)
getHandler
in class BaseRefactoringAction