org.topcased.service.updatesite
Class ConnectUpdateSiteWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.topcased.service.updatesite.ConnectUpdateSiteWizardPage
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.events.KeyListener, org.eclipse.swt.internal.SWTEventListener
public class ConnectUpdateSiteWizardPage
- extends org.eclipse.jface.wizard.WizardPage
- implements org.eclipse.swt.events.KeyListener
This WizardPage allows the user to enter personal information in order to be connected to a remote or local UpdateSite.
The personal information is stored inside a hidden file based in the workspace. All kind of information is kept except confidential information such as user password.
This enables to be connected faster the next times.
| 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, 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 |
ConnectUpdateSiteWizardPage
public ConnectUpdateSiteWizardPage(UpdateSiteWizard wizard,
java.lang.String pageName)
- Constructor
- Parameters:
wizard - the parent wizardpageName - the name of the page
getTreatment
public ConnectUpdateSiteWizardTreatment getTreatment()
getLoginTxt
public org.eclipse.swt.widgets.Text getLoginTxt()
- Returns:
- Returns the loginTxt.
getAddrTxt
public org.eclipse.swt.widgets.Text getAddrTxt()
- Returns:
- Returns the addrTxt.
getPortTxt
public org.eclipse.swt.widgets.Text getPortTxt()
- Returns:
- Returns the portTxt.
getProtocolCob
public org.eclipse.swt.widgets.Combo getProtocolCob()
- Returns:
- Returns the protocolCob.
getProtocol
public int getProtocol()
- Returns:
- the connection's protocol used
getConnectCob
public org.eclipse.swt.widgets.Combo getConnectCob()
- Returns:
- Returns the connectCob.
getUSPath
public org.eclipse.swt.widgets.Text getUSPath()
- Getter on the Update Site path
- Returns:
- Returns the US path.
updateConnectionInformations
public void updateConnectionInformations()
- Update the informations of the connection
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage
isPageComplete
public boolean isPageComplete()
- Specified by:
isPageComplete in interface org.eclipse.jface.wizard.IWizardPage- Overrides:
isPageComplete in class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage
public boolean canFlipToNextPage()
- Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage- Overrides:
canFlipToNextPage in class org.eclipse.jface.wizard.WizardPage
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
keyPressed
public void keyPressed(org.eclipse.swt.events.KeyEvent e)
- Specified by:
keyPressed in interface org.eclipse.swt.events.KeyListener
keyReleased
public void keyReleased(org.eclipse.swt.events.KeyEvent e)
- Specified by:
keyReleased in interface org.eclipse.swt.events.KeyListener
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.