org.openoffice.ide.eclipse.core.model.language
Class LanguageWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.openoffice.ide.eclipse.core.model.language.LanguageWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public abstract class LanguageWizardPage
extends org.eclipse.jface.wizard.WizardPage

This abstract class has to be implemented to add a language specific configuration page in the project wizard.

Implementations should be aware that the fillData(UnoFactoryData) method can be called even if the page content has not been created.

Author:
cedricbosdo

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
LanguageWizardPage()
          Constructor.
 
Method Summary
abstract  UnoFactoryData fillData(UnoFactoryData pData)
           
abstract  void setProjectInfos(UnoFactoryData pData)
          Fills the page with the project creation informations.
 
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.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

LanguageWizardPage

public LanguageWizardPage()
Constructor.

Method Detail

setProjectInfos

public abstract void setProjectInfos(UnoFactoryData pData)
Fills the page with the project creation informations.

Parameters:
pData - the data describing the informations to set.

fillData

public abstract UnoFactoryData fillData(UnoFactoryData pData)
Parameters:
pData - to fill with the language specific data.
Returns:
the given data with the completed properties, null if the provided data is null