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, registerStepListenerpublic ProjectSettingsStep(WizardContext context)
public java.lang.String getHelpId()
getHelpId in class ModuleWizardSteppublic void updateStep()
ModuleWizardStepupdateStep in class ModuleWizardSteppublic void onStepLeaving()
onStepLeaving 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 userpublic 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 javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent in interface StepgetPreferredFocusedComponent in class StepAdapterpublic void updateDataModel()
ModuleWizardStepupdateDataModel in class ModuleWizardSteppublic java.lang.String getName()
getName in class ModuleWizardSteppublic WizardContext getContext()
getContext in interface SettingsSteppublic void addSettingsField(java.lang.String label,
javax.swing.JComponent field)
addSettingsField in interface SettingsSteppublic void addSettingsComponent(javax.swing.JComponent component)
addSettingsComponent in interface SettingsSteppublic void addExpertPanel(javax.swing.JComponent panel)
addExpertPanel in interface SettingsSteppublic void addExpertField(java.lang.String label,
javax.swing.JComponent field)
addExpertField in interface SettingsSteppublic javax.swing.JTextField getModuleNameField()
getModuleNameField in interface SettingsSteppublic ModuleNameLocationSettings getModuleNameLocationSettings()
getModuleNameLocationSettings in interface SettingsSteppublic void setPath(java.lang.String path)
public void setNameValue(java.lang.String name)
public ModuleWizardStep getSettingsStep()
public javax.swing.Icon getIcon()
getIcon in interface StepgetIcon in class StepAdapternull.public void setModuleName(java.lang.String moduleName)
public void bindModuleSettings()