public abstract class AbstractLoginDialog
extends org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGEblockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS| Constructor and Description |
|---|
AbstractLoginDialog(org.eclipse.swt.widgets.Shell parentShell,
ILoginDialogController controller)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ILoginDialogController |
getController() |
String |
getPassword()
Returns the password.
|
Usersession |
getSelectedUsersession()
Returns the selected session.
|
boolean |
isPasswordModified()
Whether the password has been modified.
|
boolean |
isSavePassword()
Whether the password should be saved.
|
void |
setPassword(String password)
Set the password.
|
void |
setPasswordModified(boolean passwordModified)
Sets whether the password has been modified.
|
void |
setPasswordSaved(boolean shouldSave)
Whether the password should be saved.
|
void |
setSelectedSession(Usersession selectedSession)
Sets the selected
Usersession. |
getErrorMessage, getMessage, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImagecloseTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenTextgetDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManagerpublic AbstractLoginDialog(org.eclipse.swt.widgets.Shell parentShell,
ILoginDialogController controller)
parentShell - the parent shellcontroller - the login dialog controller responsible for opening up the
login dialogpublic Usersession getSelectedUsersession()
public void setSelectedSession(Usersession selectedSession)
Usersession.selectedSession - the selected Usersessionpublic String getPassword()
public void setPassword(String password)
password - the password to be setpublic boolean isSavePassword()
true, if the password is saved, false otherwisepublic void setPasswordSaved(boolean shouldSave)
shouldSave - true, if the password should be saved, false otherwisepublic boolean isPasswordModified()
true, if the password has been modified, false otherwisepublic void setPasswordModified(boolean passwordModified)
passwordModified - true if the password has been modified, false otherwisepublic ILoginDialogController getController()
Copyright © 2017. All rights reserved.