com.sri.emo.wizard.completion
Class CompletionBuilder

java.lang.Object
  extended by com.sri.emo.wizard.selection.EmoSelectionWizardFactory
      extended by com.sri.emo.wizard.completion.CompletionBuilder
All Implemented Interfaces:
WizardFactory, WizardFactorySPI
Direct Known Subclasses:
CompletionMementoConverter, EmoCompletionFactory

 class CompletionBuilder
extends EmoSelectionWizardFactory

Base class for things that build Completion Wizards. This can either be Factories or Memento converters.

Version:
1.0
Author:
Michael Rimov

Field Summary
protected  ExpressoLink back
          Back Link.
protected  ExpressoLink cancel
          Cancel link.
protected  ExpressoLink finish
          Finish link.
protected  ExpressoLink next
          Next page link
protected  CompletionRepository repository
          The completion repository to use for querying the wizard.
 
Fields inherited from class com.sri.emo.wizard.selection.EmoSelectionWizardFactory
DEFAULT_CONTROLLER
 
Constructor Summary
CompletionBuilder(CompletionRepository completionRepository)
          Constructs a completion builder.
 
Method Summary
protected  CompletionBean getDefinition()
           
 void setWizardId(int newId)
          To be set by the factory.
 
Methods inherited from class com.sri.emo.wizard.selection.EmoSelectionWizardFactory
addFinalStepToConstructedSteps, buildBackLink, buildCancelLink, buildFinishLink, buildNextLink, buildWizard, cloneTransition, commonTransitionConstruction, constructMonitor, constructWizard, fromMemento, getWizardController, getWizardId, getWizDefinition, toMemento
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repository

protected final CompletionRepository repository
The completion repository to use for querying the wizard.


finish

protected ExpressoLink finish
Finish link.


next

protected ExpressoLink next
Next page link


back

protected ExpressoLink back
Back Link.


cancel

protected ExpressoLink cancel
Cancel link.

Constructor Detail

CompletionBuilder

public CompletionBuilder(CompletionRepository completionRepository)
Constructs a completion builder.

Parameters:
completionRepository - CompletionRepository
Method Detail

setWizardId

public void setWizardId(int newId)
To be set by the factory.

Specified by:
setWizardId in interface WizardFactorySPI
Overrides:
setWizardId in class EmoSelectionWizardFactory
Parameters:
newId - int

getDefinition

protected CompletionBean getDefinition()


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