Faceted Project Framework
Version 1.3

org.eclipse.wst.common.project.facet.ui
Class AbstractFacetWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.wst.common.project.facet.ui.AbstractFacetWizardPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage, IFacetWizardPage

public abstract class AbstractFacetWizardPage
extends WizardPage
implements IFacetWizardPage

Author:
Konstantin Komissarchik

Field Summary
protected  IWizardContext context
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
AbstractFacetWizardPage(String name)
           
 
Method Summary
 void setWizardContext(IWizardContext context)
          The framework will call this method in order to provide the wizard context to the wizard page.
 void transferStateToConfig()
          This method is called after the user has pressed the Finish button.
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.wst.common.project.facet.ui.IFacetWizardPage
setConfig
 
Methods inherited from interface org.eclipse.jface.wizard.IWizardPage
canFlipToNextPage, getName, getNextPage, getPreviousPage, getWizard, isPageComplete, setPreviousPage, setWizard
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Field Detail

context

protected IWizardContext context
Constructor Detail

AbstractFacetWizardPage

public AbstractFacetWizardPage(String name)
Method Detail

setWizardContext

public final void setWizardContext(IWizardContext context)
Description copied from interface: IFacetWizardPage
The framework will call this method in order to provide the wizard context to the wizard page. The wizard context can be used to find out about other actions being configured by the wizard.

Specified by:
setWizardContext in interface IFacetWizardPage
Parameters:
context - the wizard context

transferStateToConfig

public void transferStateToConfig()
Description copied from interface: IFacetWizardPage
This method is called after the user has pressed the Finish button. It allows the wizard page to transfer user selection into the config object. Alternative, instead of using this method, the wizard page could update the model on the fly as the user is making changes.

Specified by:
transferStateToConfig in interface IFacetWizardPage

Faceted Project Framework
Version 1.3

Copyright (c) 2008 BEA Systems, Inc. and others. All rights reserved.