public abstract class AbstractStepWithProgress<Result> extends ModuleWizardStep
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractStepWithProgress.MyProgressIndicator |
EMPTY_ARRAY| Constructor and Description |
|---|
AbstractStepWithProgress(java.lang.String promptStopSearching) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Result |
calculate() |
protected abstract javax.swing.JComponent |
createResultsPanel() |
javax.swing.JComponent |
getComponent() |
protected abstract java.lang.String |
getProgressText() |
protected abstract void |
onFinished(Result result,
boolean canceled) |
void |
onStepLeaving() |
void |
performStep() |
protected abstract boolean |
shouldRunProgress() |
void |
updateStep()
Update UI from ModuleBuilder and WizardContext
|
boolean |
validate()
Validates user input before
ModuleWizardStep.updateDataModel() is called. |
createFieldPanel, disposeUIResources, getHelpId, getName, isStepVisible, onWizardFinished, toString, updateDataModel_commit, _init, fireStateChanged, getIcon, getPreferredFocusedComponent, registerStepListenerpublic AbstractStepWithProgress(java.lang.String promptStopSearching)
public final javax.swing.JComponent getComponent()
getComponent in interface StepgetComponent in class ModuleWizardStepJComponent that represents step's UI in the wizard. This
method should not return null.protected abstract javax.swing.JComponent createResultsPanel()
protected abstract java.lang.String getProgressText()
protected abstract boolean shouldRunProgress()
protected abstract Result calculate()
protected abstract void onFinished(Result result, boolean canceled)
public void performStep()
public void updateStep()
ModuleWizardStepupdateStep in class ModuleWizardSteppublic boolean validate()
throws ConfigurationException
ModuleWizardStepModuleWizardStep.updateDataModel() is called.validate in class ModuleWizardSteptrue if input is valid, false otherwiseConfigurationException - if input is not valid and needs user attention. Exception message will be displayed to userpublic void onStepLeaving()
onStepLeaving in class ModuleWizardStep