public class ProjectNameStep extends ModuleWizardStep
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JPanel |
myAdditionalContentPanel |
protected WizardMode |
myMode |
protected NamePathComponent |
myNamePathComponent |
protected WizardContext |
myWizardContext |
EMPTY_ARRAY| Constructor and Description |
|---|
ProjectNameStep(WizardContext wizardContext,
WizardMode mode) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
getComponent() |
java.lang.String |
getHelpId() |
javax.swing.Icon |
getIcon() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
java.lang.String |
getProjectFileDirectory() |
java.lang.String |
getProjectName() |
boolean |
isStepVisible() |
void |
updateDataModel()
Commits data from UI into ModuleBuilder and WizardContext
|
boolean |
validate()
Validates user input before
ModuleWizardStep.updateDataModel() is called. |
createFieldPanel, disposeUIResources, getName, onStepLeaving, onWizardFinished, toString, updateStep_commit, _init, fireStateChanged, registerStepListenerprotected final javax.swing.JPanel myAdditionalContentPanel
protected NamePathComponent myNamePathComponent
protected final WizardContext myWizardContext
protected final WizardMode myMode
public ProjectNameStep(WizardContext wizardContext, WizardMode mode)
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 boolean isStepVisible()
isStepVisible in class ModuleWizardSteppublic void updateDataModel()
ModuleWizardStepupdateDataModel in class ModuleWizardSteppublic javax.swing.Icon getIcon()
getIcon in interface StepgetIcon in class StepAdapternull.public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent in interface StepgetPreferredFocusedComponent in class StepAdapterpublic java.lang.String getHelpId()
getHelpId in class ModuleWizardSteppublic java.lang.String getProjectFileDirectory()
public java.lang.String getProjectName()
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 user