Package com.sri.emo.wizard

This package provides framework for wizard creation as well as EMO specific bindings.


Interface Summary
IWizardManager Common interface for all wizard managers regardless of wizard type.
Link Link to something else.
PageMetadata Metadata for any wizard page.
Wizard The interface for generic wizards.
WizardFactory Interface for building a Wizard.
WizardMementoConverter This interface is for controllers to allow Wizards to be transformed between usable wizards and opaque serializable objects that are meant to be as 'slim' as possible.
WizardMonitor Monitor that often delegates to logging packages, but can be extended for more useful monitoring.
WizardPage Interface for a wizard page.
WizardRepository Location where all instances of Wizards may be retrieved.
WizDefinitionRepository Repository Interface for wizard definitions.

Class Summary
AbstractWizard Base class for wizard implementations.
ValidValueWithComment ValidValueWithComment extends Expresso's idea of a Name/Value pair by being able to add an optional 3rd 'field' which is a comment field.

Exception Summary
WizardException Exception for wizard-based exceptions.

Package com.sri.emo.wizard Description

This package provides framework for wizard creation as well as EMO specific bindings.


The following picture is a UML diagram showing the key interfaces and key methods of the Wizard package:

Wizard UML

The key classes and their roles are:


Creating your own Wizard

Creating your own wizard involves several items:

  1. Create your own Wizard Subclass. A good starting point is defaults.SequentialWizard
  2. Create your own Expresso Controller. (may be optional) WizardController takes care of much of the needed handling of the wizard during execution.
  3. Create your own editing controller (optional).
  4. Hook into WizDefinition through the basic titles and labels and use the AdditionalInfo interface to be able to add your own persistence on top of WizDefinition.

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