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, registerStepListenerprotected final ProjectJdksConfigurable myProjectJdksConfigurable
public ProjectJdkStep(WizardContext context)
public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent in interface StepgetPreferredFocusedComponent in class StepAdapterpublic java.lang.String getHelpId()
getHelpId in class ModuleWizardSteppublic 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.public void updateStep()
ModuleWizardStepupdateStep in class ModuleWizardSteppublic void updateDataModel()
ModuleWizardStepupdateDataModel in class ModuleWizardSteppublic Sdk getJdk()
public javax.swing.Icon getIcon()
getIcon in interface StepgetIcon in class StepAdapternull.public 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 java.lang.String getName()
getName in class ModuleWizardSteppublic void disposeUIResources()
disposeUIResources in class ModuleWizardSteppublic void setProjectDescriptor(ProjectDescriptor projectDescriptor)