public class WizardDialog<T extends WizardModel> extends DialogWrapper
DialogWrapper.CancelAction, DialogWrapper.DialogStyle, DialogWrapper.DialogWrapperAction, DialogWrapper.DialogWrapperExitAction, DialogWrapper.DoNotAskOption, DialogWrapper.IdeModalityType, DialogWrapper.OkAction| Modifier and Type | Field and Description |
|---|---|
static com.intellij.ui.wizard.WizardCallback |
EMPTY |
protected T |
myModel |
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 |
|---|
WizardDialog(boolean canBeParent,
boolean tryApplicationModal,
T model) |
WizardDialog(boolean canBeParent,
T model) |
WizardDialog(java.awt.Component parent,
boolean canBeParent,
T model) |
WizardDialog(Project project,
boolean canBeParent,
T model) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.JComponent |
createCenterPanel()
Factory method.
|
protected javax.swing.JComponent |
createSouthPanel()
Creates panel located at the south of the content pane.
|
javax.swing.JComponent |
getPreferredFocusedComponent() |
protected java.awt.Dimension |
getWindowPreferredSize() |
protected void |
init() |
boolean |
isWizardGoalAchieved() |
void |
onStepChanged() |
void |
onWizardGoalAchieved() |
void |
onWizardGoalDropped() |
addKeyListener, addMouseListener, addMouseListener, canRecordDialogId, centerRelativeToParent, cleanupRootPane, cleanupWindowListeners, clickDefaultButton, close, close, createActions, createButtonsPanel, createCancelAction, createContentPane, createContentPaneBorder, createDefaultActions, createDefaultBorder, createDoNotAskCheckbox, createHelpButton, createJButtonForAction, createJButtonForAction, createLeftSideActions, createNorthPanel, createPeer, createPeer, createPeer, createPeer, createPeer, createPeer, createRootLayout, createSouthAdditionalPanel, createTitlePane, dispose, disposeIfNeeded, doCancelAction, doCancelAction, doHelpAction, doOKAction, doValidate, doValidateAll, extractMnemonic, findInstance, findInstanceFromFocus, getButton, getCancelAction, getContentPane, getContentPanel, getDimensionKey, getDimensionServiceKey, getDisposable, getDoNotShowMessage, getErrorTextAlignment, getExitCode, getHelpAction, getHelpId, getHorizontalStretch, getInitialLocation, getLocation, getOKAction, getOwner, getPeer, getPreferredSize, getRootPane, getSize, getStyle, getTitle, getTypeAheadTimeoutMs, getValidationThreadToUse, getVerticalStretch, getWindow, hasErrors, 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, validateprotected final T extends WizardModel myModel
public static final com.intellij.ui.wizard.WizardCallback EMPTY
public WizardDialog(boolean canBeParent,
T model)
public WizardDialog(boolean canBeParent,
boolean tryApplicationModal,
T model)
public WizardDialog(java.awt.Component parent,
boolean canBeParent,
T model)
protected javax.swing.JComponent createCenterPanel()
DialogWrappernull
value. In this case there will be no options panel.createCenterPanel in class DialogWrapperprotected void init()
init in class DialogWrapperprotected javax.swing.JComponent createSouthPanel()
DialogWrappercreateActions()
and createJButtonForAction(Action) methods to construct the panel.createSouthPanel in class DialogWrapperpublic void onStepChanged()
public void onWizardGoalDropped()
public void onWizardGoalAchieved()
public boolean isWizardGoalAchieved()
protected java.awt.Dimension getWindowPreferredSize()
public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent in class DialogWrapper