com.sri.emo.wizard.selection
Class ChainedSelectionWizard

java.lang.Object
  extended by com.sri.emo.wizard.AbstractWizard
      extended by com.sri.emo.wizard.defaults.SequentialWizard
          extended by com.sri.emo.wizard.selection.EmoSelectionWizard
              extended by com.sri.emo.wizard.selection.ChainedSelectionWizard
All Implemented Interfaces:
Wizard, Serializable

public class ChainedSelectionWizard
extends EmoSelectionWizard

The chained selection wizard clones nodes like the selection wizard does. However, Instead of redirecting towards editing

Version:
1.0
Author:
Michael Rimov
See Also:
Serialized Form

Constructor Summary
ChainedSelectionWizard(WizardMonitor wizMonitor, WizardPage[] steps)
          Constructs a chained selection wizard.
 
Method Summary
 Object processFinish(WizardPage src, Serializable data, Map additionalParams)
          Overrides the normal EmoSelectionWizard processing by cloning the node myself and then either redirecting to an appropriate completion wizard and
 
Methods inherited from class com.sri.emo.wizard.selection.EmoSelectionWizard
onNextPage
 
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

ChainedSelectionWizard

public ChainedSelectionWizard(WizardMonitor wizMonitor,
                              WizardPage[] steps)
Constructs a chained selection wizard.

Parameters:
wizMonitor - WizardMonitor
steps - WizardPage[]
Method Detail

processFinish

public Object processFinish(WizardPage src,
                            Serializable data,
                            Map additionalParams)
                     throws WizardException
Overrides the normal EmoSelectionWizard processing by cloning the node myself and then either redirecting to an appropriate completion wizard and

Specified by:
processFinish in interface Wizard
Overrides:
processFinish in class EmoSelectionWizard
Parameters:
src - WizardPage the source of the event.
data - Serializable the data entered in the previous wizard page.
additionalParams - Map this wizard expects ExpressoRequest and ExpressoResponse to be loaded into the additional params.
Returns:
Object Actaully ignored. Redirects are actually issued by this function or a return to the display page is issued if there were errors.
Throws:
WizardException - for any sort of error.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.