Administration Tools

org.topcased.service.updatesite
Class TreeUpdateSiteWizardPage

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

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

This WizardPage displays the tree of the features/plugins


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
TreeUpdateSiteWizardPage(UpdateSiteWizard wizard, java.lang.String pageName)
          Constructor
 
Method Summary
 boolean canFlipToNextPage()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Create the controls on the page
 void disableAll()
          Disable all the controls of the page, except the progressBar, its associated text
 void disableProgressBar()
          Disable the progressBar and its associated text
 void enableAll()
          Enable all the controls of the page, except the progressBar, its associated text
 void enableProgressBar()
          Enable the progressBar and its associated text
 boolean finish()
          Return the state of the page, if the button 'Next' can be clicked
 void initProgressBar(int min, int max)
          Initialize the size of the progressBar
 void setInfoAboutProgressBar(java.lang.String labelInfo)
          Set the informations just on the top of the progressBar Add 1 at the selection of the progressBar
 void setInfoPlugFeatText(java.lang.String text)
          Set the text in the information bar on the lower part of the page
 void setTextInfoPlugFeat(java.lang.String infoPlugFeat)
           
 void updateTree()
          Redraw the tree, with the features choosen
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
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

TreeUpdateSiteWizardPage

public TreeUpdateSiteWizardPage(UpdateSiteWizard wizard,
                                java.lang.String pageName)
Constructor

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

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Create the controls on the page

Parameters:
parent -

setInfoPlugFeatText

public void setInfoPlugFeatText(java.lang.String text)
Set the text in the information bar on the lower part of the page

Parameters:
text -

finish

public boolean finish()
Return the state of the page, if the button 'Next' can be clicked

Returns:
boolean

updateTree

public void updateTree()
Redraw the tree, with the features choosen


setTextInfoPlugFeat

public void setTextInfoPlugFeat(java.lang.String infoPlugFeat)
Parameters:
infoPlugFeat - The infoPlugFeat text to set.

canFlipToNextPage

public boolean canFlipToNextPage()
Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
canFlipToNextPage in class org.eclipse.jface.wizard.WizardPage
Returns:
boolean

disableAll

public void disableAll()
Disable all the controls of the page, except the progressBar, its associated text


enableAll

public void enableAll()
Enable all the controls of the page, except the progressBar, its associated text


initProgressBar

public void initProgressBar(int min,
                            int max)
Initialize the size of the progressBar

Parameters:
min -
max -

setInfoAboutProgressBar

public void setInfoAboutProgressBar(java.lang.String labelInfo)
Set the informations just on the top of the progressBar Add 1 at the selection of the progressBar

Parameters:
labelInfo -

disableProgressBar

public void disableProgressBar()
Disable the progressBar and its associated text


enableProgressBar

public void enableProgressBar()
Enable the progressBar and its associated text


Administration Tools

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