public class JavaOverrideImplementMemberChooser extends MemberChooser<PsiMethodMember>
MemberChooser.ContainerNode, MemberChooser.ElementNode, MemberChooser.ElementNodeImpl, MemberChooser.MemberNode, MemberChooser.MemberNodeImpl, MemberChooser.OrderComparator, MemberChooser.ParentNode, MemberChooser.ShowContainersAction
DialogWrapper.CancelAction, DialogWrapper.DialogStyle, DialogWrapper.DialogWrapperAction, DialogWrapper.DialogWrapperExitAction, DialogWrapper.DoNotAskOption, DialogWrapper.IdeModalityType, DialogWrapper.OkAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_COMBINED_OVERRIDE_IMPLEMENT |
static java.lang.String |
PROP_OVERRIDING_SORTED_OVERRIDE_IMPLEMENT |
myAllowEmptySelection, myComparator, myContainerNodes, myElements, myElementToNodeMap, myNodeToParentMap, myOptionControls, mySelectedElements, myTree
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
Modifier and Type | Method and Description |
---|---|
static JavaOverrideImplementMemberChooser |
create(PsiElement aClass,
boolean toImplement,
java.util.Collection<? extends CandidateInfo> candidates,
java.util.Collection<? extends CandidateInfo> secondary) |
protected void |
doOKAction()
This method is invoked by default implementation of "OK" action.
|
protected void |
fillToolbarActions(DefaultActionGroup group) |
protected boolean |
isInsertOverrideAnnotationSelected() |
protected void |
onAlphabeticalSortingEnabled(AnActionEvent event) |
areElementsSelected, calcData, changeSortComparator, convertElementText, createActions, createCenterPanel, createMemberNode, createNorthPanel, createSouthPanel, createTree, customizeOptionsPanel, defaultExpandTree, disableAlphabeticalSorting, dispose, doSort, getAllContainersNodeName, getDimensionServiceKey, getOptionControls, getPreferredFocusedComponent, getRootNode, getSelectedElements, getSelectedElements, getShowContainersAction, getSpeedSearchComparator, getTreeCellRenderer, installSpeedSearch, isContainerNode, isCopyJavadoc, isInsertOverrideAnnotation, resetElements, resetElements, resetElementsWithDefaultComparator, restoreTree, selectElements, setCopyJavadocVisible, setShowClasses, supportsNestedContainers
addKeyListener, addMouseListener, addMouseListener, canRecordDialogId, centerRelativeToParent, cleanupRootPane, cleanupWindowListeners, clickDefaultButton, close, close, createButtonsPanel, createCancelAction, createContentPane, createContentPaneBorder, createDefaultActions, createDefaultBorder, createDoNotAskCheckbox, createHelpButton, createJButtonForAction, createJButtonForAction, createLeftSideActions, createPeer, createPeer, createPeer, createPeer, createPeer, createPeer, createRootLayout, createSouthAdditionalPanel, createTitlePane, disposeIfNeeded, doCancelAction, doCancelAction, doHelpAction, doValidate, doValidateAll, extractMnemonic, findInstance, findInstanceFromFocus, getButton, getCancelAction, getContentPane, getContentPanel, getDimensionKey, getDisposable, getDoNotShowMessage, getErrorTextAlignment, getExitCode, getHelpAction, getHelpId, getHorizontalStretch, getInitialLocation, getLocation, getOKAction, getOwner, getPeer, 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, setHelpTooltip, setHorizontalStretch, setInitialLocationCallback, setLocation, setLocation, setModal, setOKActionEnabled, setOKButtonIcon, setOKButtonMnemonic, setOKButtonText, setOKButtonTooltip, setResizable, setSize, setTitle, setUndecorated, setValidationDelay, setVerticalStretch, shouldAddErrorNearButtons, shouldCloseOnCross, show, showAndGet, showAndGetOk, startTrackingValidation, toBack, toBeShown, toFront, unregisterKeyboardActions, updateErrorInfo, validate
public static final java.lang.String PROP_COMBINED_OVERRIDE_IMPLEMENT
public static final java.lang.String PROP_OVERRIDING_SORTED_OVERRIDE_IMPLEMENT
public static JavaOverrideImplementMemberChooser create(PsiElement aClass, boolean toImplement, java.util.Collection<? extends CandidateInfo> candidates, java.util.Collection<? extends CandidateInfo> secondary)
protected void onAlphabeticalSortingEnabled(AnActionEvent event)
onAlphabeticalSortingEnabled
in class MemberChooser<PsiMethodMember>
protected void doOKAction()
DialogWrapper
OK_EXIT_CODE
. This is convenient place to override functionality of "OK" action.
Note that the method does nothing if "OK" action isn't enabled.doOKAction
in class DialogWrapper
protected void fillToolbarActions(DefaultActionGroup group)
fillToolbarActions
in class MemberChooser<PsiMethodMember>
protected boolean isInsertOverrideAnnotationSelected()
isInsertOverrideAnnotationSelected
in class MemberChooser<PsiMethodMember>