Administration Tools

org.topcased.service.updatesiteproject
Class BrowseUpdateSiteProjectPage

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

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

This WizardPage browse the updateSite in order to add features in a target directory It gives the possibility to copy/unjar the selected features.


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
BrowseUpdateSiteProjectPage(UpdateSiteProjectWizard wizard, java.lang.String pageName)
          Constructor
 
Method Summary
 boolean canFlipToNextPage()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 boolean finish()
           
 java.lang.String getDirectory()
           
 void update()
           
 
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

BrowseUpdateSiteProjectPage

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

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

createControl

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

getDirectory

public java.lang.String getDirectory()
Returns:
the directory selected for the project location

finish

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

canFlipToNextPage

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

update

public void update()

Administration Tools

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