com.sri.emo.wizard.wizardgateway
Class AddWizardHandler

java.lang.Object
  extended by com.sri.emo.wizard.wizardgateway.AddWizardHandler
Direct Known Subclasses:
DoAddWizard, PromptAddWizard

public abstract class AddWizardHandler
extends Object

Base class for the 'prompt add' 'do add' Wizard Gateway interfaces.

Author:
Michael Rimov

Field Summary
(package private) static String COMPLETION_WIZARD
          The key name for completion wizards.
(package private) static String PARAM_WIZARD_TYPE
          The name of the parameter that gets the 'wizard type'
(package private) static String SELECTION_WIZARD
          The key name for selection wizards.
 
Constructor Summary
AddWizardHandler(Controller owner)
          Default constructor.
 
Method Summary
protected  Controller getControllerForKey(String key)
          Grab the controller based on the key.
protected  Controller getOwner()
          Retrieve the owning controller of this state handler.
protected  String getStateNameForKey(String key)
          Grab the state name based on the key.
protected  List getWizardTypeList()
          Grab a common list among types of handlers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_WIZARD_TYPE

static final String PARAM_WIZARD_TYPE
The name of the parameter that gets the 'wizard type'

See Also:
Constant Field Values

SELECTION_WIZARD

static final String SELECTION_WIZARD
The key name for selection wizards.

See Also:
Constant Field Values

COMPLETION_WIZARD

static final String COMPLETION_WIZARD
The key name for completion wizards.

See Also:
Constant Field Values
Constructor Detail

AddWizardHandler

public AddWizardHandler(Controller owner)
Default constructor.

Parameters:
owner - The owning controller.
Method Detail

getOwner

protected Controller getOwner()
Retrieve the owning controller of this state handler.

Returns:
Controller

getWizardTypeList

protected List getWizardTypeList()
Grab a common list among types of handlers.

Returns:
List

getControllerForKey

protected Controller getControllerForKey(String key)
                                  throws ControllerException
Grab the controller based on the key.

Parameters:
key - String
Returns:
Controller
Throws:
ControllerException

getStateNameForKey

protected String getStateNameForKey(String key)
Grab the state name based on the key.

Parameters:
key - String
Returns:
String


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