public class CustomizeIDEWizardDialog extends DialogWrapper implements java.awt.event.ActionListener
DialogWrapper.CancelAction, DialogWrapper.DialogStyle, DialogWrapper.DialogWrapperAction, DialogWrapper.DialogWrapperExitAction, DialogWrapper.DoNotAskOption, DialogWrapper.IdeModalityType, DialogWrapper.OkAction
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 |
---|
CustomizeIDEWizardDialog(CustomizeIDEWizardStepsProvider stepsProvider) |
CustomizeIDEWizardDialog(CustomizeIDEWizardStepsProvider stepsProvider,
StartupUtil.AppStarter appStarter,
boolean beforeSplash,
boolean afterSplash) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected boolean |
canRecordDialogId()
If dialog open/close events should be recorded in user event log, it can be used to understand how often this dialog is used.
|
protected java.awt.event.ActionListener |
createCancelAction()
Return
null if we should ignore |
protected javax.swing.JComponent |
createCenterPanel()
Factory method.
|
protected javax.swing.JComponent |
createSouthPanel()
Creates panel located at the south of the content pane.
|
protected void |
dispose()
Dispose the wrapped and releases all resources allocated be the wrapper to help
more efficient garbage collection.
|
void |
doCancelAction()
This method is invoked by default implementation of "Cancel" action.
|
protected void |
doOKAction()
This method is invoked by default implementation of "OK" action.
|
void |
show()
Show the dialog.
|
boolean |
showIfNeeded() |
addKeyListener, addMouseListener, addMouseListener, centerRelativeToParent, cleanupRootPane, cleanupWindowListeners, clickDefaultButton, close, close, createActions, createButtonsPanel, createContentPane, createContentPaneBorder, createDefaultActions, createDefaultBorder, createDoNotAskCheckbox, createHelpButton, createJButtonForAction, createJButtonForAction, createLeftSideActions, createNorthPanel, createPeer, createPeer, createPeer, createPeer, createPeer, createPeer, createRootLayout, createSouthAdditionalPanel, createTitlePane, disposeIfNeeded, 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, setHelpTooltip, 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
public CustomizeIDEWizardDialog(CustomizeIDEWizardStepsProvider stepsProvider)
public CustomizeIDEWizardDialog(CustomizeIDEWizardStepsProvider stepsProvider, StartupUtil.AppStarter appStarter, boolean beforeSplash, boolean afterSplash)
public final void show()
DialogWrapper
show
in class DialogWrapper
DialogWrapper.showAndGet()
public final boolean showIfNeeded()
protected void dispose()
DialogWrapper
dispose
.dispose
in class DialogWrapper
protected javax.swing.JComponent createCenterPanel()
DialogWrapper
null
value. In this case there will be no options panel.createCenterPanel
in class DialogWrapper
protected javax.swing.JComponent createSouthPanel()
DialogWrapper
createActions()
and createJButtonForAction(Action)
methods to construct the panel.createSouthPanel
in class DialogWrapper
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
protected java.awt.event.ActionListener createCancelAction()
DialogWrapper
null
if we should ignore createCancelAction
in class DialogWrapper
public void doCancelAction()
DialogWrapper
CANCEL_EXIT_CODE
. This is convenient place to override functionality of "Cancel" action.
Note that the method does nothing if "Cancel" action isn't enabled.doCancelAction
in class DialogWrapper
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 boolean canRecordDialogId()
DialogWrapper
canRecordDialogId
in class DialogWrapper