public class SdkSettingsStep extends ModuleWizardStep
| Modifier and Type | Field and Description |
|---|---|
protected JdkComboBox |
myJdkComboBox |
protected ProjectSdksModel |
myModel |
protected WizardContext |
myWizardContext |
EMPTY_ARRAY| Constructor and Description |
|---|
SdkSettingsStep(SettingsStep settingsStep,
ModuleBuilder moduleBuilder,
Condition<? super SdkTypeId> sdkTypeIdFilter) |
SdkSettingsStep(SettingsStep settingsStep,
ModuleBuilder moduleBuilder,
Condition<? super SdkTypeId> sdkTypeIdFilter,
Condition<? super Sdk> sdkFilter) |
SdkSettingsStep(WizardContext context,
ModuleBuilder moduleBuilder,
Condition<? super SdkTypeId> sdkTypeIdFilter,
Condition<? super Sdk> sdkFilter) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
getComponent() |
protected java.lang.String |
getNoSdkMessage() |
protected java.lang.String |
getSdkFieldLabel(Project project) |
boolean |
isEmpty() |
protected void |
onSdkSelected(Sdk sdk) |
void |
updateDataModel()
Commits data from UI into ModuleBuilder and WizardContext
|
boolean |
validate()
Validates user input before
ModuleWizardStep.updateDataModel() is called. |
createFieldPanel, disposeUIResources, getHelpId, getName, isStepVisible, onStepLeaving, onWizardFinished, toString, updateStep_commit, _init, fireStateChanged, getIcon, getPreferredFocusedComponent, registerStepListenerprotected final JdkComboBox myJdkComboBox
protected final WizardContext myWizardContext
protected final ProjectSdksModel myModel
public SdkSettingsStep(SettingsStep settingsStep, ModuleBuilder moduleBuilder, Condition<? super SdkTypeId> sdkTypeIdFilter)
public SdkSettingsStep(SettingsStep settingsStep, ModuleBuilder moduleBuilder, Condition<? super SdkTypeId> sdkTypeIdFilter, Condition<? super Sdk> sdkFilter)
public SdkSettingsStep(WizardContext context, ModuleBuilder moduleBuilder, Condition<? super SdkTypeId> sdkTypeIdFilter, Condition<? super Sdk> sdkFilter)
protected void onSdkSelected(Sdk sdk)
public boolean isEmpty()
protected java.lang.String getSdkFieldLabel(Project project)
public 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 updateDataModel()
ModuleWizardStepupdateDataModel in class ModuleWizardSteppublic 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 userprotected java.lang.String getNoSdkMessage()