public abstract class SelectImportedProjectsStep<T> extends ProjectImportWizardStep
| Modifier and Type | Field and Description |
|---|---|
protected ElementsChooser<T> |
fileChooser |
EMPTY_ARRAY| Constructor and Description |
|---|
SelectImportedProjectsStep(WizardContext context) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
getComponent() |
ProjectImportBuilder<T> |
getContext() |
protected javax.swing.Icon |
getElementIcon(T item) |
protected abstract java.lang.String |
getElementText(T item) |
protected boolean |
isElementEnabled(T element) |
void |
onStepLeaving() |
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. |
getBuilder, getIcon, getWizardContext, suggestProjectNameAndPathcreateFieldPanel, disposeUIResources, getHelpId, getName, isStepVisible, onWizardFinished, toString_commit, _init, fireStateChanged, getPreferredFocusedComponent, registerStepListenerprotected final ElementsChooser<T> fileChooser
public SelectImportedProjectsStep(WizardContext context)
protected javax.swing.Icon getElementIcon(T item)
protected abstract java.lang.String getElementText(T item)
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.protected boolean isElementEnabled(T element)
public void updateStep()
ModuleWizardStepupdateStep 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 void updateDataModel()
ModuleWizardStepupdateDataModel in class ModuleWizardSteppublic void onStepLeaving()
onStepLeaving in class ModuleWizardSteppublic ProjectImportBuilder<T> getContext()