Administration Tools

org.topcased.service.updatesiteproject
Class ConnectUpdateSiteProjectPage

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

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

This WizardPage save all informations necessary to a FTP or SSH connection


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ConnectUpdateSiteProjectPage(UpdateSiteProjectWizard wizard, java.lang.String pageName)
          Constructor
 
Method Summary
 boolean canFlipToNextPage()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 boolean finish()
           
 org.eclipse.swt.widgets.Text getAddrTxt()
           
 org.eclipse.swt.widgets.Combo getConnectCob()
           
 org.eclipse.swt.widgets.Text getLoginTxt()
           
 org.eclipse.jface.wizard.IWizardPage getNextPage()
           
 org.eclipse.swt.widgets.Text getPortTxt()
           
 int getProtocol()
           
 org.eclipse.swt.widgets.Combo getProtocolCob()
           
 ConnectUpdateSiteProjectTreatment getTreatment()
           
 org.eclipse.swt.widgets.Text getUSPath()
           
 void setAddrTxt(org.eclipse.swt.widgets.Text addrTxt)
           
 void updateConnectionInformations()
          Update the informations of the connection
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, 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

ConnectUpdateSiteProjectPage

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

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

getTreatment

public ConnectUpdateSiteProjectTreatment getTreatment()

getAddrTxt

public org.eclipse.swt.widgets.Text getAddrTxt()
Returns:
Returns the addrTxt.

setAddrTxt

public void setAddrTxt(org.eclipse.swt.widgets.Text addrTxt)
Parameters:
addrTxt - The addrTxt to set.

getConnectCob

public org.eclipse.swt.widgets.Combo getConnectCob()
Returns:
Returns the connectCob.

getLoginTxt

public org.eclipse.swt.widgets.Text getLoginTxt()
Returns:
Returns the loginTxt.

getPortTxt

public org.eclipse.swt.widgets.Text getPortTxt()
Returns:
Returns the portTxt.

getProtocolCob

public org.eclipse.swt.widgets.Combo getProtocolCob()
Returns:
Returns the protocolCob.

getUSPath

public org.eclipse.swt.widgets.Text getUSPath()

createControl

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

finish

public boolean finish()
Returns:
true if the button 'Next' can be clicked, false otherwise

updateConnectionInformations

public void updateConnectionInformations()
Update the informations of the connection


getProtocol

public int getProtocol()
Returns:
the connection's protocol used

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()

getNextPage

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

Administration Tools

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