public class ModulesDetectionStep extends AbstractStepWithProgress<java.util.List<ModuleDescriptor>>
AbstractStepWithProgress.MyProgressIndicator
EMPTY_ARRAY
Constructor and Description |
---|
ModulesDetectionStep(ProjectStructureDetector detector,
ProjectFromSourcesBuilder builder,
ProjectDescriptor projectDescriptor,
ModuleInsight insight,
javax.swing.Icon icon,
java.lang.String helpId) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ModuleDescriptor> |
calculate() |
protected javax.swing.JComponent |
createResultsPanel() |
java.lang.String |
getHelpId() |
javax.swing.Icon |
getIcon() |
protected java.lang.String |
getProgressText() |
protected void |
onFinished(java.util.List<ModuleDescriptor> moduleDescriptors,
boolean canceled) |
protected boolean |
shouldRunProgress() |
void |
updateDataModel()
Commits data from UI into ModuleBuilder and WizardContext
|
boolean |
validate()
Validates user input before
ModuleWizardStep.updateDataModel() is called. |
getComponent, onStepLeaving, performStep, updateStep
createFieldPanel, disposeUIResources, getName, isStepVisible, onWizardFinished, toString
_commit, _init, fireStateChanged, getPreferredFocusedComponent, registerStepListener
public ModulesDetectionStep(ProjectStructureDetector detector, ProjectFromSourcesBuilder builder, ProjectDescriptor projectDescriptor, ModuleInsight insight, javax.swing.Icon icon, java.lang.String helpId)
public void updateDataModel()
ModuleWizardStep
updateDataModel
in class ModuleWizardStep
protected javax.swing.JComponent createResultsPanel()
createResultsPanel
in class AbstractStepWithProgress<java.util.List<ModuleDescriptor>>
protected java.lang.String getProgressText()
getProgressText
in class AbstractStepWithProgress<java.util.List<ModuleDescriptor>>
protected boolean shouldRunProgress()
shouldRunProgress
in class AbstractStepWithProgress<java.util.List<ModuleDescriptor>>
protected java.util.List<ModuleDescriptor> calculate()
calculate
in class AbstractStepWithProgress<java.util.List<ModuleDescriptor>>
public boolean validate() throws ConfigurationException
ModuleWizardStep
ModuleWizardStep.updateDataModel()
is called.validate
in class AbstractStepWithProgress<java.util.List<ModuleDescriptor>>
true
if input is valid, false
otherwiseConfigurationException
- if input is not valid and needs user attention. Exception message will be displayed to userprotected void onFinished(java.util.List<ModuleDescriptor> moduleDescriptors, boolean canceled)
onFinished
in class AbstractStepWithProgress<java.util.List<ModuleDescriptor>>
public java.lang.String getHelpId()
getHelpId
in class ModuleWizardStep
public javax.swing.Icon getIcon()
getIcon
in interface Step
getIcon
in class StepAdapter
null
.