|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.rse.connectorservice.ssh.KeyboardInteractiveDialog
A dialog for keyboad-interactive authentication for the ssh2 connection.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.jface.window.Window |
|---|
Window.IExceptionHandler |
| Field Summary | |
|---|---|
protected String |
destination
|
protected String |
domain
|
protected boolean[] |
echo
|
protected String |
instruction
|
protected String |
lang
|
protected String |
name
|
protected String[] |
prompt
|
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
|---|
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, 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 |
| Fields inherited from class org.eclipse.jface.window.Window |
|---|
CANCEL, OK |
| Constructor Summary | |
|---|---|
KeyboardInteractiveDialog(Shell parentShell,
String connectionId,
String destination,
String name,
String instruction,
String[] prompt,
boolean[] echo)
Creates a nwe KeyboardInteractiveDialog. |
|
| Method Summary | |
|---|---|
protected void |
cancelPressed()
Notifies that the cancel button of this dialog has been pressed. |
protected void |
configureShell(Shell newShell)
|
void |
create()
|
protected Control |
createDialogArea(Composite parent)
|
protected void |
createPasswordFields(Composite parent)
Creates the widgets that represent the entry area. |
String[] |
getResult()
Returns the entered values, or null if the user canceled. |
protected void |
okPressed()
Notifies that the ok button of this dialog has been pressed. |
| Methods inherited from class org.eclipse.jface.dialogs.TrayDialog |
|---|
close, closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String domain
protected String destination
protected String name
protected String instruction
protected String lang
protected String[] prompt
protected boolean[] echo
| Constructor Detail |
public KeyboardInteractiveDialog(Shell parentShell,
String connectionId,
String destination,
String name,
String instruction,
String[] prompt,
boolean[] echo)
parentShell - the parent shellconnectionId - an id for the connectiondestination - the locationname - the nameinstruction - the instructionprompt - the titles for textfieldsecho - '*' should be used or not| Method Detail |
protected void configureShell(Shell newShell)
Window.configureShell(org.eclipse.swt.widgets.Shell)public void create()
Window.create()protected Control createDialogArea(Composite parent)
Dialog.createDialogArea(org.eclipse.swt.widgets.Composite)protected void createPasswordFields(Composite parent)
parent - the parent of the widgetspublic String[] getResult()
protected void okPressed()
The default implementation of this framework method sets
this dialog's return code to Window.OK
and closes the dialog. Subclasses may override.
protected void cancelPressed()
The default implementation of this framework method sets
this dialog's return code to Window.CANCEL
and closes the dialog. Subclasses may override.
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||