org.eclipse.ecf.ui.wizards
Class AbstractConnectWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ecf.ui.wizards.AbstractConnectWizardPage
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
public abstract class AbstractConnectWizardPage
- extends org.eclipse.jface.wizard.WizardPage
A abstract WizardPage subclass that can be customized to request
arbitrary login information from the user for connecting to an
IContainer
.
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, 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 |
AbstractConnectWizardPage
protected AbstractConnectWizardPage(java.lang.String pageName)
AbstractConnectWizardPage
protected AbstractConnectWizardPage(java.lang.String pageName,
java.net.URI uri)
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
shouldRequestUsername
public abstract boolean shouldRequestUsername()
- Returns whether the created
IContainer
needs a username for
authentication purposes upon connecting. A text control will be displayed
on the wizard dialog to allow the user to input a username.
- Returns:
- true if a username is required to connect to the
selected IContainer, false otherwise
shouldRequestPassword
public abstract boolean shouldRequestPassword()
- Checks
- Returns:
- boolean true if page should request password
getExampleID
public abstract java.lang.String getExampleID()
getDefaultConnectText
protected java.lang.String getDefaultConnectText()
getProviderTitle
protected java.lang.String getProviderTitle()
getProviderDescription
protected java.lang.String getProviderDescription()
getConnectID
public java.lang.String getConnectID()
getUsername
public java.lang.String getUsername()
getPassword
public java.lang.String getPassword()
updateStatus
public void updateStatus(java.lang.String message)