Administration Tools

org.topcased.service.updatesiteproject
Class FeatureUpdateSiteProjectPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.topcased.service.updatesiteproject.FeatureUpdateSiteProjectPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class FeatureUpdateSiteProjectPage
extends org.eclipse.jface.wizard.WizardPage


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
FeatureUpdateSiteProjectPage(UpdateSiteProjectWizard wizard, java.lang.String pageName)
          Constructor
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 boolean finish()
           
 boolean updateError()
          Updates the error message on the top of the page following the differents missing information which are required (feature name and version, image path, CPL-V10 path and HTML licence path)
 
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
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

FeatureUpdateSiteProjectPage

public FeatureUpdateSiteProjectPage(UpdateSiteProjectWizard wizard,
                                    java.lang.String pageName)
Constructor

Parameters:
wizard - the parent wizard
pageName - the page name
Method Detail

finish

public boolean finish()
Returns:
boolean, true if the page is completed, false otherwise

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
See Also:
IDialogPage.createControl(org.eclipse.swt.widgets.Composite)

updateError

public boolean updateError()
Updates the error message on the top of the page following the differents missing information which are required (feature name and version, image path, CPL-V10 path and HTML licence path)

Returns:
true if there are no error, false otherwise

Administration Tools

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.