public class ModulesDetectionStep extends AbstractStepWithProgress<java.util.List<ModuleDescriptor>>
AbstractStepWithProgress.MyProgressIndicatorEMPTY_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, updateStepcreateFieldPanel, disposeUIResources, getName, isStepVisible, onWizardFinished, toString_commit, _init, fireStateChanged, getPreferredFocusedComponent, registerStepListenerpublic ModulesDetectionStep(ProjectStructureDetector detector, ProjectFromSourcesBuilder builder, ProjectDescriptor projectDescriptor, ModuleInsight insight, javax.swing.Icon icon, java.lang.String helpId)
public void updateDataModel()
ModuleWizardStepupdateDataModel in class ModuleWizardStepprotected 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
ModuleWizardStepModuleWizardStep.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 ModuleWizardSteppublic javax.swing.Icon getIcon()
getIcon in interface StepgetIcon in class StepAdapternull.