org.springframework.richclient.application.setup
Class SetupWizard

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.wizard.AbstractWizard
          extended by org.springframework.richclient.application.setup.SetupWizard
All Implemented Interfaces:
ActionCommandExecutor, TitleConfigurable, Wizard

public class SetupWizard
extends AbstractWizard
implements ActionCommandExecutor

Author:
Claudio Romano, Keith Donald

Field Summary
 
Fields inherited from class org.springframework.richclient.wizard.AbstractWizard
DEFAULT_IMAGE_KEY
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
SetupWizard()
           
 
Method Summary
 void addPages()
          This implementation of Wizard.addPages() does nothing.
protected  boolean cancelConfirmed()
           
 void execute()
          Performs the action.
protected  String getCancelMessage()
           
protected  String getCancelTitle()
           
 boolean onCancel()
          Subclasses can override this method to perform processing when the wizard receives a cancel request.
 boolean onFinish()
          Subclasses must implement this method to perform any processing when the wizard receives a finish request.
 void setLicenseTextLocation(Resource location)
           
 
Methods inherited from class org.springframework.richclient.wizard.AbstractWizard
addForm, addPage, addPage, addWizardListener, canFinish, fireCancelPerformed, fireFinishedPerformed, getContainer, getDefaultPageImage, getId, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitle, needsPreviousAndNextButtons, performCancel, performFinish, removePage, removeWizardListener, setAutoConfigureChildPages, setContainer, setForcePreviousAndNextButtons, setTitle
 
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupWizard

public SetupWizard()
Method Detail

setLicenseTextLocation

public void setLicenseTextLocation(Resource location)

execute

public void execute()
Description copied from interface: ActionCommandExecutor
Performs the action.

Specified by:
execute in interface ActionCommandExecutor

addPages

public void addPages()
Description copied from class: AbstractWizard
This implementation of Wizard.addPages() does nothing. Subclasses should override this method if extra pages need to be added before the wizard is displayed. New pages should be added by calling AbstractWizard.addPage(WizardPage).

Specified by:
addPages in interface Wizard
Overrides:
addPages in class AbstractWizard

onFinish

public boolean onFinish()
Description copied from class: AbstractWizard
Subclasses must implement this method to perform any processing when the wizard receives a finish request.

Specified by:
onFinish in class AbstractWizard
Returns:
true to indicate that the finish request was accepted, false to indicate that it was refused.

onCancel

public boolean onCancel()
Description copied from class: AbstractWizard
Subclasses can override this method to perform processing when the wizard receives a cancel request. This default implementation always returns true.

Overrides:
onCancel in class AbstractWizard

cancelConfirmed

protected boolean cancelConfirmed()

getCancelTitle

protected String getCancelTitle()

getCancelMessage

protected String getCancelMessage()


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.