public class ProjectJdkStep extends ModuleWizardStep
Modifier and Type | Field and Description |
---|---|
protected ProjectJdksConfigurable |
myProjectJdksConfigurable |
EMPTY_ARRAY
Constructor and Description |
---|
ProjectJdkStep(WizardContext context) |
Modifier and Type | Method and Description |
---|---|
void |
disposeUIResources() |
javax.swing.JComponent |
getComponent() |
java.lang.String |
getHelpId() |
javax.swing.Icon |
getIcon() |
Sdk |
getJdk() |
java.lang.String |
getName() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
void |
setProjectDescriptor(ProjectDescriptor projectDescriptor) |
void |
updateDataModel()
Commits data from UI into ModuleBuilder and WizardContext
|
void |
updateStep()
Update UI from ModuleBuilder and WizardContext
|
boolean |
validate()
Validates user input before
ModuleWizardStep.updateDataModel() is called. |
createFieldPanel, isStepVisible, onStepLeaving, onWizardFinished, toString
_commit, _init, fireStateChanged, registerStepListener
protected final ProjectJdksConfigurable myProjectJdksConfigurable
public ProjectJdkStep(WizardContext context)
public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent
in interface Step
getPreferredFocusedComponent
in class StepAdapter
public java.lang.String getHelpId()
getHelpId
in class ModuleWizardStep
public javax.swing.JComponent getComponent()
getComponent
in interface Step
getComponent
in class ModuleWizardStep
JComponent
that represents step's UI in the wizard. This
method should not return null
.public void updateStep()
ModuleWizardStep
updateStep
in class ModuleWizardStep
public void updateDataModel()
ModuleWizardStep
updateDataModel
in class ModuleWizardStep
public Sdk getJdk()
public javax.swing.Icon getIcon()
getIcon
in interface Step
getIcon
in class StepAdapter
null
.public boolean validate() throws ConfigurationException
ModuleWizardStep
ModuleWizardStep.updateDataModel()
is called.validate
in class ModuleWizardStep
true
if input is valid, false
otherwiseConfigurationException
- if input is not valid and needs user attention. Exception message will be displayed to userpublic java.lang.String getName()
getName
in class ModuleWizardStep
public void disposeUIResources()
disposeUIResources
in class ModuleWizardStep
public void setProjectDescriptor(ProjectDescriptor projectDescriptor)