public class ProjectNameStep extends ModuleWizardStep
EMPTY_ARRAY
Constructor and Description |
---|
ProjectNameStep(WizardContext wizardContext) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
getComponent() |
java.lang.String |
getHelpId() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getName() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
java.lang.String |
getProjectFileDirectory() |
java.lang.String |
getProjectFilePath() |
java.lang.String |
getProjectName() |
boolean |
isStepVisible() |
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, onStepLeaving, onWizardFinished, toString
_commit, _init, fireStateChanged, registerStepListener
public ProjectNameStep(WizardContext wizardContext)
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 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 getProjectFilePath()
public java.lang.String getProjectFileDirectory()
public java.lang.String getProjectName()
public java.lang.String getName()
getName
in class ModuleWizardStep
public boolean isStepVisible()
isStepVisible
in class ModuleWizardStep