public abstract class PullUpDialogBase<Storage extends AbstractMemberInfoStorage<Member,Class,MemberInfo>,MemberInfo extends MemberInfoBase<Member>,Member extends PsiElement,Class extends PsiElement> extends RefactoringDialog
DialogWrapper.CancelAction, DialogWrapper.DialogStyle, DialogWrapper.DialogWrapperAction, DialogWrapper.DialogWrapperExitAction, DialogWrapper.DoNotAskOption, DialogWrapper.IdeModalityType, DialogWrapper.OkAction
Modifier and Type | Field and Description |
---|---|
protected Class |
myClass |
protected MemberInfoModel<Member,MemberInfo> |
myMemberInfoModel |
protected java.util.List<MemberInfo> |
myMemberInfos |
protected Storage |
myMemberInfoStorage |
protected MemberSelectionPanelBase<Member,MemberInfo,AbstractMemberSelectionTable<Member,MemberInfo>> |
myMemberSelectionPanel |
protected java.util.List<Class> |
mySuperClasses |
myProject
CANCEL_EXIT_CODE, CLOSE_EXIT_CODE, DEFAULT_ACTION, DIALOG_CONTENT_PANEL_PROPERTY, ERROR_FOREGROUND_COLOR, FOCUSED_ACTION, IS_VISUAL_PADDING_COMPENSATED_ON_COMPONENT_LEVEL_KEY, myCancelAction, myCheckBoxDoNotShowDialog, myDisposable, myHelpAction, myOKAction, myPerformAction, myPreferredFocusedComponent, NEXT_USER_EXIT_CODE, OK_EXIT_CODE
Constructor and Description |
---|
PullUpDialogBase(Project project,
Class aClass,
java.util.List<Class> superClasses,
Storage memberInfoStorage,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCustomElementsToCentralPanel(javax.swing.JPanel panel) |
protected javax.swing.JComponent |
createCenterPanel()
Factory method.
|
protected abstract MemberInfoModel<Member,MemberInfo> |
createMemberInfoModel() |
protected abstract AbstractMemberSelectionTable<Member,MemberInfo> |
createMemberSelectionTable(java.util.List<MemberInfo> infos) |
protected javax.swing.JComponent |
createNorthPanel()
Factory method.
|
protected abstract Class |
getPreselection() |
java.util.List<MemberInfo> |
getSelectedMemberInfos() |
Class |
getSuperClass() |
protected abstract void |
initClassCombo(javax.swing.JComboBox classCombo) |
protected void |
updateMemberInfo() |
addOpenInEditorCheckbox, areButtonsValid, canRun, closeOKAction, createActions, createDefaultActions, doAction, doOKAction, doRefactorAction, getPreviewAction, getProject, getRefactorAction, getRefactoringId, hasHelpAction, hasPreviewButton, invokeRefactoring, isOpenInEditor, isPreviewUsages, setHelpTooltip, setPreviewResults, show, validateButtons
addKeyListener, addMouseListener, addMouseListener, canRecordDialogId, centerRelativeToParent, cleanupRootPane, cleanupWindowListeners, clickDefaultButton, close, close, createButtonsPanel, createCancelAction, createContentPane, createContentPaneBorder, createDefaultBorder, createDoNotAskCheckbox, createHelpButton, createJButtonForAction, createJButtonForAction, createLeftSideActions, createPeer, createPeer, createPeer, createPeer, createPeer, createPeer, createRootLayout, createSouthAdditionalPanel, createSouthPanel, createTitlePane, dispose, disposeIfNeeded, doCancelAction, doCancelAction, doHelpAction, doValidate, doValidateAll, extractMnemonic, findInstance, findInstanceFromFocus, getButton, getCancelAction, getContentPane, getContentPanel, getDimensionKey, getDimensionServiceKey, getDisposable, getDoNotShowMessage, getErrorTextAlignment, getExitCode, getHelpAction, getHelpId, getHorizontalStretch, getInitialLocation, getLocation, getOKAction, getOwner, getPeer, getPreferredFocusedComponent, getPreferredSize, getRootPane, getSize, getStyle, getTitle, getTypeAheadTimeoutMs, getValidationThreadToUse, getVerticalStretch, getWindow, hasErrors, init, initValidation, isAutoAdjustable, isCenterStrictedToPreferredSize, isDisposed, isModal, isModalProgress, isMoveHelpButtonLeft, isNorthStrictedToPreferredSize, isOK, isOKActionEnabled, isProgressDialog, isResizable, isShowing, isSouthStrictedToPreferredSize, isToDispatchTypeAhead, isTypeAheadEnabled, isVisible, layoutButtonsPanel, pack, postponeValidation, processDoNotAskOnOk, repaint, setAutoAdjustable, setButtonsAlignment, setButtonsMargin, setCancelButtonIcon, setCancelButtonText, setCrossClosesWindow, setDoNotAskOption, setErrorInfoAll, setErrorText, setErrorText, setHorizontalStretch, setInitialLocationCallback, setLocation, setLocation, setModal, setOKActionEnabled, setOKButtonIcon, setOKButtonMnemonic, setOKButtonText, setOKButtonTooltip, setResizable, setSize, setTitle, setUndecorated, setValidationDelay, setVerticalStretch, shouldAddErrorNearButtons, shouldCloseOnCross, showAndGet, showAndGetOk, startTrackingValidation, toBack, toBeShown, toFront, unregisterKeyboardActions, updateErrorInfo, validate
protected MemberSelectionPanelBase<Member extends PsiElement,MemberInfo extends MemberInfoBase<Member>,AbstractMemberSelectionTable<Member extends PsiElement,MemberInfo extends MemberInfoBase<Member>>> myMemberSelectionPanel
protected MemberInfoModel<Member extends PsiElement,MemberInfo extends MemberInfoBase<Member>> myMemberInfoModel
protected final Class extends PsiElement myClass
protected final java.util.List<Class extends PsiElement> mySuperClasses
protected final Storage extends AbstractMemberInfoStorage<Member,Class,MemberInfo> myMemberInfoStorage
protected java.util.List<MemberInfo extends MemberInfoBase<Member>> myMemberInfos
public Class getSuperClass()
public java.util.List<MemberInfo> getSelectedMemberInfos()
protected javax.swing.JComponent createNorthPanel()
DialogWrapper
null
value. In this case there will be no input panel.createNorthPanel
in class DialogWrapper
protected abstract void initClassCombo(javax.swing.JComboBox classCombo)
protected abstract Class getPreselection()
protected void updateMemberInfo()
protected javax.swing.JComponent createCenterPanel()
DialogWrapper
null
value. In this case there will be no options panel.createCenterPanel
in class DialogWrapper
protected void addCustomElementsToCentralPanel(javax.swing.JPanel panel)
protected abstract AbstractMemberSelectionTable<Member,MemberInfo> createMemberSelectionTable(java.util.List<MemberInfo> infos)
protected abstract MemberInfoModel<Member,MemberInfo> createMemberInfoModel()