com.sri.emo.wizard.creation
Class EmoCreationWizardFactory
java.lang.Object
com.sri.emo.wizard.selection.EmoSelectionWizardFactory
com.sri.emo.wizard.branch.EmoBranchingWizardFactory
com.sri.emo.wizard.creation.CreationBuilder
com.sri.emo.wizard.creation.EmoCreationWizardFactory
- All Implemented Interfaces:
- WizardFactory, WizardFactorySPI
public class EmoCreationWizardFactory
- extends CreationBuilder
Constructs Completion Wizards.
- Version:
- 1.0
- Author:
- Michael Rimov
| Methods inherited from class com.sri.emo.wizard.selection.EmoSelectionWizardFactory |
addFinalStepToConstructedSteps, buildBackLink, buildCancelLink, buildFinishLink, buildNextLink, cloneTransition, constructMonitor, fromMemento, getWizardController, getWizardId, getWizDefinition, toMemento |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmoCreationWizardFactory
public EmoCreationWizardFactory(CreationRepository completionRepository)
- Constructs a given wizard.
- Parameters:
completionRepository - the CompletionRepository to draw the various
wizards from.
commonTransitionConstruction
protected Transition commonTransitionConstruction(int id)
- Override of base class to change controller
- Overrides:
commonTransitionConstruction in class EmoSelectionWizardFactory
- Parameters:
id - int
- Returns:
- Transition
constructWizard
protected Wizard constructWizard(WizDefinition definition,
BranchList steps)
throws DBException
- Constructs the wizard itself.
- Parameters:
definition - the WizDefinition dbobject for this wizard.steps - the List of steps that were constructed previously in
the constructSteps function.
- Returns:
- fully constructed Wizard instance.
- Throws:
DBException - upon database exception error.
buildWizard
public Wizard buildWizard()
throws WizardException
- Constructs a new wizard instance and returns it.
- Specified by:
buildWizard in interface WizardFactory- Overrides:
buildWizard in class EmoSelectionWizardFactory
- Returns:
- Wizard instance
- Throws:
WizardException - upon error building it.
Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.