org.topcased.service.updatesiteproject
Class ConnectUpdateSiteProjectPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
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
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
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 |
ConnectUpdateSiteProjectPage
public ConnectUpdateSiteProjectPage(UpdateSiteProjectWizard wizard,
java.lang.String pageName)
- Constructor
- Parameters:
wizard
- the parent wizardpageName
- the name of the page
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
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.