org.pentaho.platform.dataaccess.datasource.wizard.steps
Class StageDataStep
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.platform.dataaccess.datasource.wizard.steps.AbstractWizardStep<DatasourceModel>
org.pentaho.platform.dataaccess.datasource.wizard.steps.StageDataStep
- All Implemented Interfaces:
- IModelInfoValidationListener, IWizardStep, org.pentaho.ui.xul.XulEventSource
public class StageDataStep
- extends AbstractWizardStep<DatasourceModel>
- implements IModelInfoValidationListener
Fields inherited from class org.pentaho.platform.dataaccess.datasource.wizard.steps.AbstractWizardStep |
DISABLED_PROPERTY_NAME, FINISHABLE_PROPERTY_NAME, PREVIEWABLE_PROPERTY_NAME, SPACER_IMAGE_SRC, STEP_GRID_ID, STEP_IMAGE_SRC, STEP_ROWS_ID, VALID_PROPERTY_NAME, XUL_IMAGE_TYPE, XUL_LABEL_TYPE, XUL_ROW_TYPE |
Method Summary |
void |
createPresentationComponent(org.pentaho.ui.xul.XulDomContainer mainWizardContainer)
|
String |
getStepName()
|
void |
onCsvInValid()
|
void |
onCsvValid()
|
void |
onModelInfoInvalid()
|
void |
onModelInfoValid()
|
void |
setBindings()
setBindings()
Allows concrete implementations to set their bindings for enclosed properties
and Xul defined elements. |
void |
stepActivatingForward()
stepActivatingForward()
Called if the step that is activating is higher in the list than the current one (next). |
void |
stepActivatingReverse()
stepActivatingReverse()
Called if the step that is activatig is lower in the list than the current active one (back) |
boolean |
stepDeactivatingForward()
Called on a step just before it becomes deactivated (before the next active step is shown)
on response to moving forward in the step list (next). |
boolean |
stepDeactivatingReverse()
Called on a step just before it become deactivated (before the next active step is shown)
on response to moving backward in the step list (back) |
Methods inherited from class org.pentaho.platform.dataaccess.datasource.wizard.steps.AbstractWizardStep |
getBindingFactory, getDocument, getModel, isDisabled, isFinishable, isValid, setBindingFactory, setDisabled, setDocument, setFinishable, setModel, setStepImageVisible |
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
StageDataStep
public StageDataStep(org.pentaho.ui.xul.binding.BindingFactory bf,
DatasourceMessages messages)
getStepName
public String getStepName()
- Specified by:
getStepName
in interface IWizardStep
- Returns:
- a string (must be localized) that describes this step
setBindings
public void setBindings()
- Description copied from interface:
IWizardStep
- setBindings()
Allows concrete implementations to set their bindings for enclosed properties
and Xul defined elements.
- Specified by:
setBindings
in interface IWizardStep
createPresentationComponent
public void createPresentationComponent(org.pentaho.ui.xul.XulDomContainer mainWizardContainer)
throws org.pentaho.ui.xul.XulException
- Specified by:
createPresentationComponent
in interface IWizardStep
- Overrides:
createPresentationComponent
in class AbstractWizardStep<DatasourceModel>
- Throws:
org.pentaho.ui.xul.XulException
- Creates the presentation layer associated with this IWizardStep. This is usually
done by loading an overlay into the main_wzard_panel.xul
stepActivatingForward
public void stepActivatingForward()
- Description copied from interface:
IWizardStep
- stepActivatingForward()
Called if the step that is activating is higher in the list than the current one (next).
- Specified by:
stepActivatingForward
in interface IWizardStep
- Overrides:
stepActivatingForward
in class AbstractWizardStep<DatasourceModel>
stepActivatingReverse
public void stepActivatingReverse()
- Description copied from interface:
IWizardStep
- stepActivatingReverse()
Called if the step that is activatig is lower in the list than the current active one (back)
- Specified by:
stepActivatingReverse
in interface IWizardStep
- Overrides:
stepActivatingReverse
in class AbstractWizardStep<DatasourceModel>
onCsvValid
public void onCsvValid()
- Specified by:
onCsvValid
in interface IModelInfoValidationListener
onCsvInValid
public void onCsvInValid()
- Specified by:
onCsvInValid
in interface IModelInfoValidationListener
onModelInfoValid
public void onModelInfoValid()
- Specified by:
onModelInfoValid
in interface IModelInfoValidationListener
onModelInfoInvalid
public void onModelInfoInvalid()
- Specified by:
onModelInfoInvalid
in interface IModelInfoValidationListener
stepDeactivatingForward
public boolean stepDeactivatingForward()
- Description copied from interface:
IWizardStep
- Called on a step just before it becomes deactivated (before the next active step is shown)
on response to moving forward in the step list (next).
- Specified by:
stepDeactivatingForward
in interface IWizardStep
- Overrides:
stepDeactivatingForward
in class AbstractWizardStep<DatasourceModel>
- Returns:
- boolean indicating that this step should be allowed to become deactive
stepDeactivatingReverse
public boolean stepDeactivatingReverse()
- Description copied from interface:
IWizardStep
- Called on a step just before it become deactivated (before the next active step is shown)
on response to moving backward in the step list (back)
- Specified by:
stepDeactivatingReverse
in interface IWizardStep
- Overrides:
stepDeactivatingReverse
in class AbstractWizardStep<DatasourceModel>
- Returns:
- boolean indicating that this step should be allowed to become deactive