<metaname="copyright"content="Copyright (c) IBM Corporation and others 2002, 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
<p>The <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizardPage.html">AbstractSystemWizardPage</A></samp> abstract base class extends the
JFace <samp>WizardPage</samp> class to offer the following benefits to subclasses:</p>
<ol>
<li>Designed to work in conjunction with <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html">AbstractSystemWizard</A></samp>,
propogating settings from the wizard to the individual wizard pages.
<li>Supports using the overall wizard page title as set
by <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html#setWizardPageTitle(java.lang.String)">setWizardPageTitle(String)</A></samp>
in <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html">AbstractSystemWizard</A></samp>,
if no title specified in the constructor.
<li>Supports a <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizardPage.html#setHelp(java.lang.String)">setHelp(String)</A></samp> method to set the wizard page's overall contextual help
<li>Implements <samp><A
href="../messages/uiMessageAPI.html#ISystemMessageLine">ISystemMessageLine</A></samp> so supports setting error messages as
<samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizardPage.html#addFillerLine(org.eclipse.swt.widgets.Composite, int)">addFillerLine(Composite,int)</A></samp> and
<p>The <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html">AbstractSystemWizard</A></samp> abstract base class extends the JFace <samp>Wizard</samp>
class to offer the following benefits to subclasses:</p>
<ol>
<li>Designed to work in conjunction with the <samp><Ahref="../../../org/eclipse/rse/ui/actions/SystemBaseWizardAction.html">SystemBaseWizardAction</A></samp>,
and <samp><Ahref="../../../org/eclipse/rse/ui/dialogs/SystemWizardDialog.html">SystemWizardDialog</A></samp> classes, propogating settings
from these to the wizard, and further propogating those to the individual wizard pages.
<li>The overall wizard title and image can be set via the constructor or setter methods.
<li>Supports setting an input object, and getting an output object. This is exploited by the
<samp><Ahref="../../../org/eclipse/rse/ui/actions/SystemBaseWizardAction.html">SystemBaseWizardAction</A></samp> class, when this wizard is launched from a subclass of that action class.
<li>Supports setting a wizard page title via <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html#setWizardPageTitle(java.lang.String)">setWizardPageTitle(String)</A></samp>, that all
<samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizardPage.html">AbstractSystemWizardPage</A></samp> pages will use by default for
their title, if the non-title constructor is used for that page.
<li>If being hosted by a <samp><Ahref="../../../org/eclipse/rse/ui/dialogs/SystemWizardDialog.html">SystemWizardDialog</A></samp>, supports dynamically
updating the wizard size via <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html#updateSize()">updateSize()</A></samp>,
if dynamic content is added to a wizard page, causing the page to grow beyond its initial size.
<li>Supports a <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html#setHelp(java.lang.String)">setHelp(String)</A></samp> method to set the overall wizard's contextual help. This is propogated to each
<samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizardPage.html">AbstractSystemWizardPage</A></samp> as it is added.
<li>Supports setting the viewer that launched this wizard, as wizards often need to know this so they can update the UI upon Finish.
<li>Supports a <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html#wasCancelled()">wasCancelled()</A></samp> method so callers can easily test if the wizard was cancelled by the user.
<li>Supports a <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html#setMinimumPageSize(int, int)">setMinimumPageSize(int,int)</A></samp> method to set the minimum width and height of the wizard.
<li>Supports a <samp><Ahref="../../../org/eclipse/rse/ui/wizards/AbstractSystemWizard.html#setPageError(org.eclipse.jface.wizard.IWizardPage)">setPageError(IWizardPage)</A></samp> method that can be called in performFinish when an error is detected on a
non-current page. This issues a message telling the user there is an error on another page.