public class SourcePathsStep extends AbstractStepWithProgress<java.util.List<JavaModuleSourceRoot>>
AbstractStepWithProgress.MyProgressIndicatorEMPTY_ARRAY| Constructor and Description |
|---|
SourcePathsStep(SourcePathsBuilder builder,
javax.swing.Icon icon,
java.lang.String helpId) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<JavaModuleSourceRoot> |
calculate() |
static java.util.Collection<JavaModuleSourceRoot> |
calculateSourceRoots(java.lang.String contentRootPath) |
protected javax.swing.JComponent |
createResultsPanel() |
java.lang.String |
getHelpId() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getName() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
protected java.lang.String |
getProgressText() |
protected void |
onFinished(java.util.List<JavaModuleSourceRoot> foundPaths,
boolean canceled) |
protected boolean |
shouldRunProgress() |
protected java.lang.String |
suggestSourceDirectoryName() |
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, isStepVisible, onWizardFinished, toString_commit, _init, fireStateChanged, registerStepListenerpublic SourcePathsStep(SourcePathsBuilder builder, javax.swing.Icon icon, java.lang.String helpId)
protected javax.swing.JComponent createResultsPanel()
createResultsPanel in class AbstractStepWithProgress<java.util.List<JavaModuleSourceRoot>>protected java.lang.String suggestSourceDirectoryName()
public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent in interface StepgetPreferredFocusedComponent in class StepAdapterpublic void updateDataModel()
ModuleWizardStepupdateDataModel in class ModuleWizardSteppublic boolean validate()
throws ConfigurationException
ModuleWizardStepModuleWizardStep.updateDataModel() is called.validate in class AbstractStepWithProgress<java.util.List<JavaModuleSourceRoot>>true if input is valid, false otherwiseConfigurationException - if input is not valid and needs user attention. Exception message will be displayed to userprotected boolean shouldRunProgress()
shouldRunProgress in class AbstractStepWithProgress<java.util.List<JavaModuleSourceRoot>>protected void onFinished(java.util.List<JavaModuleSourceRoot> foundPaths, boolean canceled)
onFinished in class AbstractStepWithProgress<java.util.List<JavaModuleSourceRoot>>protected java.util.List<JavaModuleSourceRoot> calculate()
calculate in class AbstractStepWithProgress<java.util.List<JavaModuleSourceRoot>>public static java.util.Collection<JavaModuleSourceRoot> calculateSourceRoots(java.lang.String contentRootPath)
protected java.lang.String getProgressText()
getProgressText in class AbstractStepWithProgress<java.util.List<JavaModuleSourceRoot>>public javax.swing.Icon getIcon()
getIcon in interface StepgetIcon in class StepAdapternull.public java.lang.String getHelpId()
getHelpId in class ModuleWizardSteppublic java.lang.String getName()
getName in class ModuleWizardStep