public abstract class AbstractProjectWizard extends AbstractWizard<ModuleWizardStep>
AbstractWizard.TallImageComponent
DialogWrapper.CancelAction, DialogWrapper.DialogStyle, DialogWrapper.DialogWrapperAction, DialogWrapper.DialogWrapperExitAction, DialogWrapper.DoNotAskOption, DialogWrapper.IdeModalityType, DialogWrapper.OkAction
Modifier and Type | Field and Description |
---|---|
protected WizardContext |
myWizardContext |
myContentPanel, myCurrentStep, myIcon, mySteps
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 |
---|
AbstractProjectWizard(java.lang.String title,
Project project,
java.awt.Component dialogParent) |
AbstractProjectWizard(java.lang.String title,
Project project,
java.lang.String defaultPath) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
addStepComponent(java.awt.Component component) |
protected boolean |
canGoNext() |
protected boolean |
commitStepData(ModuleWizardStep step) |
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.
|
boolean |
doFinishAction() |
void |
doNextAction() |
protected void |
doOKAction()
This method is invoked by default implementation of "OK" action.
|
protected void |
doPreviousAction() |
ProjectBuilder |
getBuilder(Project project) |
protected java.lang.String |
getHelpID() |
java.lang.String |
getModuleFilePath() |
java.lang.String |
getNewCompileOutput() |
java.lang.String |
getNewProjectFilePath() |
Sdk |
getNewProjectJdk() |
static Sdk |
getNewProjectJdk(WizardContext context) |
protected int |
getNextStep(int step)
override this to provide alternate step order
|
protected int |
getPreviousStep(int step)
override this to provide alternate step order
|
ProjectBuilder |
getProjectBuilder() |
java.lang.String |
getProjectName() |
static Sdk |
getProjectSdkByDefault(WizardContext context) |
abstract StepSequence |
getSequence() |
StorageScheme |
getStorageScheme() |
boolean |
isLast() |
protected boolean |
isLastStep() |
void |
setDelegate(WizardDelegate delegate) |
protected void |
updateStep() |
addStep, addStep, canFinish, createCenterPanel, createSouthPanel, doHelpAction, getCancelButton, getContentComponent, getCurrentStep, getCurrentStepComponent, getCurrentStepObject, getFinishButton, getHelpButton, getNextButton, getNextStep, getNextStepObject, getNumberOfSteps, getPreferredFocusedComponent, getPreviousButton, getPreviousStep, getStepCount, helpAction, init, isFirstStep, updateButtons, updateButtons, updateStep, updateWizardButtons
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, disposeIfNeeded, doCancelAction, 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, validate
protected final WizardContext myWizardContext
public AbstractProjectWizard(java.lang.String title, Project project, java.lang.String defaultPath)
public AbstractProjectWizard(java.lang.String title, Project project, java.awt.Component dialogParent)
protected java.lang.String addStepComponent(java.awt.Component component)
addStepComponent
in class AbstractWizard<ModuleWizardStep>
public abstract StepSequence getSequence()
public static Sdk getNewProjectJdk(WizardContext context)
public static Sdk getProjectSdkByDefault(WizardContext context)
public java.lang.String getNewProjectFilePath()
public StorageScheme getStorageScheme()
public ProjectBuilder getProjectBuilder()
public java.lang.String getProjectName()
public Sdk getNewProjectJdk()
public java.lang.String getNewCompileOutput()
public ProjectBuilder getBuilder(Project project)
protected void updateStep()
updateStep
in class AbstractWizard<ModuleWizardStep>
protected void dispose()
DialogWrapper
dispose
.dispose
in class DialogWrapper
protected final 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
public boolean doFinishAction()
protected boolean commitStepData(ModuleWizardStep step)
public void doNextAction()
doNextAction
in class AbstractWizard<ModuleWizardStep>
protected java.lang.String getHelpID()
getHelpID
in class AbstractWizard<ModuleWizardStep>
public boolean isLast()
public java.lang.String getModuleFilePath()
protected void doPreviousAction()
doPreviousAction
in class AbstractWizard<ModuleWizardStep>
protected boolean canGoNext()
canGoNext
in class AbstractWizard<ModuleWizardStep>
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 boolean isLastStep()
isLastStep
in class AbstractWizard<ModuleWizardStep>
protected final int getNextStep(int step)
AbstractWizard
getNextStep
in class AbstractWizard<ModuleWizardStep>
step
- indexprotected final int getPreviousStep(int step)
AbstractWizard
getPreviousStep
in class AbstractWizard<ModuleWizardStep>
step
- indexpublic void setDelegate(WizardDelegate delegate)