public class ProjectSettingsStep extends ModuleWizardStep implements SettingsStep
EMPTY_ARRAY
Constructor and Description |
---|
ProjectSettingsStep(WizardContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addExpertField(java.lang.String label,
javax.swing.JComponent field) |
void |
addExpertPanel(javax.swing.JComponent panel) |
void |
addSettingsComponent(javax.swing.JComponent component) |
void |
addSettingsField(java.lang.String label,
javax.swing.JComponent field) |
void |
bindModuleSettings() |
javax.swing.JComponent |
getComponent() |
WizardContext |
getContext() |
java.lang.String |
getHelpId() |
javax.swing.Icon |
getIcon() |
javax.swing.JTextField |
getModuleNameField() |
ModuleNameLocationSettings |
getModuleNameLocationSettings() |
java.lang.String |
getName() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
ModuleWizardStep |
getSettingsStep() |
void |
onStepLeaving() |
void |
setModuleName(java.lang.String moduleName) |
void |
setNameValue(java.lang.String name) |
void |
setPath(java.lang.String path) |
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, disposeUIResources, isStepVisible, onWizardFinished, toString
_commit, _init, fireStateChanged, registerStepListener
public ProjectSettingsStep(WizardContext context)
public java.lang.String getHelpId()
getHelpId
in class ModuleWizardStep
public void updateStep()
ModuleWizardStep
updateStep
in class ModuleWizardStep
public void onStepLeaving()
onStepLeaving
in class ModuleWizardStep
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 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 javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent
in interface Step
getPreferredFocusedComponent
in class StepAdapter
public void updateDataModel()
ModuleWizardStep
updateDataModel
in class ModuleWizardStep
public java.lang.String getName()
getName
in class ModuleWizardStep
public WizardContext getContext()
getContext
in interface SettingsStep
public void addSettingsField(java.lang.String label, javax.swing.JComponent field)
addSettingsField
in interface SettingsStep
public void addSettingsComponent(javax.swing.JComponent component)
addSettingsComponent
in interface SettingsStep
public void addExpertPanel(javax.swing.JComponent panel)
addExpertPanel
in interface SettingsStep
public void addExpertField(java.lang.String label, javax.swing.JComponent field)
addExpertField
in interface SettingsStep
public javax.swing.JTextField getModuleNameField()
getModuleNameField
in interface SettingsStep
public ModuleNameLocationSettings getModuleNameLocationSettings()
getModuleNameLocationSettings
in interface SettingsStep
public void setPath(java.lang.String path)
public void setNameValue(java.lang.String name)
public ModuleWizardStep getSettingsStep()
public javax.swing.Icon getIcon()
getIcon
in interface Step
getIcon
in class StepAdapter
null
.public void setModuleName(java.lang.String moduleName)
public void bindModuleSettings()