Class LoginDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.saatsch.framework.jmmo.basegame.client.swt.CredentialsDialog
-
- org.saatsch.framework.jmmo.basegame.client.swt.LoginDialog
-
public class LoginDialog extends CredentialsDialog
the login dialog- Author:
- saatsch
-
-
Field Summary
-
Fields inherited from class org.saatsch.framework.jmmo.basegame.client.swt.CredentialsDialog
cmpButtons, dialogReturnValue, shell, txtPass, txtUser
-
-
Constructor Summary
Constructors Constructor Description LoginDialog(org.eclipse.swt.widgets.Shell parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateContent()java.util.Optional<Credentials>open()Open the dialog.-
Methods inherited from class org.saatsch.framework.jmmo.basegame.client.swt.CredentialsDialog
createOkButton, ok
-
-
-
-
Method Detail
-
open
public java.util.Optional<Credentials> open()
Open the dialog.- Returns:
- the entered credentials, or empty if no credentials where provided (e.g. in case dialog was closed).
-
createContent
protected void createContent()
- Overrides:
createContentin classCredentialsDialog
-
-