com.intellij.ide.wizard
Class AbstractWizard
java.lang.Object
com.intellij.openapi.ui.DialogWrapper
com.intellij.ide.wizard.AbstractWizard
public abstract class AbstractWizard
- extends DialogWrapper
|
Field Summary |
protected java.util.ArrayList<Step> |
mySteps
|
| Methods inherited from class com.intellij.openapi.ui.DialogWrapper |
addKeyListener, addMouseListener, addMouseListener, centerRelativeToParent, clickDefaultButton, close, createActions, createContentPane, createContentPaneBorder, createDefaultActions, createJButtonForAction, createLeftSideActions, createNorthPanel, createTitlePane, dispose, doCancelAction, doHelpAction, doOKAction, getCancelAction, getContentPane, getDimensionKey, getDimensionServiceKey, getExitCode, getHelpAction, getHorizontalStretch, getInitialLocation, getLocation, getOKAction, getOwner, getPreferredFocusedComponent, getPreferredSize, getRootPane, getSize, getTitle, getVerticalStretch, getWindow, isModalProgress, isOK, isOKActionEnabled, isProgressDialog, isResizable, isShowing, isVisible, pack, repaint, setButtonsAlignment, setButtonsMargin, setCancelButtonIcon, setCancelButtonText, setCrossClosesWindow, setHorizontalStretch, setLocation, setLocation, setModal, setOKActionEnabled, setOKButtonIcon, setOKButtonText, setResizable, setSize, setTitle, setUndecorated, setVerticalStretch, shouldCloseOnCross, show, toBack, toFront, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mySteps
protected final java.util.ArrayList<Step> mySteps
AbstractWizard
public AbstractWizard(java.lang.String title,
java.awt.Component dialogParent)
AbstractWizard
public AbstractWizard(java.lang.String title,
Project project)
createSouthPanel
protected javax.swing.JComponent createSouthPanel()
- Description copied from class:
DialogWrapper
- This is factory method. It creates the panel located at the south of the content pane. By default that
panel contains dialog's buttons. This default implementation uses
createActions()
and createJButtonForAction(Action) methods to construct the panel.
- Overrides:
createSouthPanel in class DialogWrapper
createCenterPanel
protected javax.swing.JComponent createCenterPanel()
- Description copied from class:
DialogWrapper
- Factory method. It creates panel with dialog options. Options panel is located at the
center of the dialog's content pane. The implementation can return
null
value. In this case there will be no options panel.
- Specified by:
createCenterPanel in class DialogWrapper
getCurrentStep
public int getCurrentStep()
getCurrentStepObject
protected Step getCurrentStepObject()
addStep
public void addStep(Step step)
init
protected void init()
- Overrides:
init in class DialogWrapper
doPreviousAction
protected void doPreviousAction()
doNextAction
protected void doNextAction()
getNextStep
protected int getNextStep(int step)
- override this to provide alternate step order
getPreviousStep
protected int getPreviousStep(int step)
- override this to provide alternate step order
updateStep
protected void updateStep()
getNextButton
protected javax.swing.JButton getNextButton()
getPreviousButton
protected javax.swing.JButton getPreviousButton()
getFinishButton
protected javax.swing.JButton getFinishButton()
getCurrentStepComponent
public java.awt.Component getCurrentStepComponent()
helpAction
protected void helpAction()
getNumberOfSteps
protected int getNumberOfSteps()
getHelpID
protected abstract java.lang.String getHelpID()
isCurrentStep
protected boolean isCurrentStep(Step step)