|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.wizard.AbstractWizard com.sri.emo.wizard.defaults.SequentialWizard com.sri.emo.wizard.selection.EmoSelectionWizard
public class EmoSelectionWizard
Overrides Sequential Wizard to allow processing of the EMO Decision Matrix for processing finish.
The Selection Wizard has the following processess:
Constructor Summary | |
---|---|
EmoSelectionWizard(WizardMonitor wizMonitor,
WizardPage[] steps)
Constructor that the Wizard Factory uses to instantiate the sequential wizard. |
Method Summary | |
---|---|
protected boolean |
onNextPage(WizardPage previousPage,
WizardPage nextPage,
Serializable previousPageData)
This particular implementation performs some pre-processing for some special pages. |
Object |
processFinish(WizardPage src,
Serializable data,
Map additionalParams)
This version returns a Node instance if one has been found. |
Methods inherited from class com.sri.emo.wizard.defaults.SequentialWizard |
---|
backupToPage, checkAgainstIllegalJump, convertKeyToPageId, equals, findWizardPageIndex, getAllData, getAllSteps, getCurrentPageIndex, getInitialPage, getPageById, getStepHistory, getTotalPages, hashCode, isNeedingRollback, next, previous, rollbackBacktrace, toString |
Methods inherited from class com.sri.emo.wizard.AbstractWizard |
---|
begin, destroy, getBackTrace, getCurrentPage, getId, getMonitor, getSummary, getTitle, setCurrentPage, setId, setSummary, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EmoSelectionWizard(WizardMonitor wizMonitor, WizardPage[] steps)
wizMonitor
- WizardMonitor the Wizard Monitor to use for events.steps
- WizardPage[] the wizard pages to execute in sequence.Method Detail |
---|
public Object processFinish(WizardPage src, Serializable data, Map additionalParams) throws WizardException
Processes the final finish and returns some sort of data that can be whatever is desired.
processFinish
in interface Wizard
processFinish
in class SequentialWizard
src
- WizardPage the source of the event.data
- Serializable the data given during wht wizard post.additionalParams
- anything that the underlying wizard needs. The
values are set by the Application Controller.
Node
object
that represents the node the Decision Matrix returned or null if
there was no equivilant data found.
WizardException
- upon error.protected boolean onNextPage(WizardPage previousPage, WizardPage nextPage, Serializable previousPageData) throws WizardException
Template method that gets called after the next page has been determined in the sequence.
onNextPage
in class SequentialWizard
nextPage
- WizardPage the next page that is about to be displayed.previousPageData
- Serializable the previously entered data from
the last page where the user clicked 'next'.previousPage
- The previousPage that was displayted
WizardException
- upon error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |