org.beanfabrics.swt.samples.login
Class LoginDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.beanfabrics.swt.samples.login.LoginDialog
- All Implemented Interfaces:
- View<LoginPM>
public class LoginDialog
- extends org.eclipse.swt.widgets.Dialog
- implements View<LoginPM>
The LoginDialog
is a dialog for entering user credentials.
Field Summary |
protected java.lang.Object |
result
|
protected org.eclipse.swt.widgets.Shell |
shlLogin
|
Constructor Summary |
LoginDialog(org.eclipse.swt.widgets.Shell parent,
int style)
Create the dialog. |
Methods inherited from class org.eclipse.swt.widgets.Dialog |
checkSubclass, getParent, getStyle, getText, setText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
result
protected java.lang.Object result
shlLogin
protected org.eclipse.swt.widgets.Shell shlLogin
LoginDialog
public LoginDialog(org.eclipse.swt.widgets.Shell parent,
int style)
- Create the dialog.
- Parameters:
parent
- style
-
open
public java.lang.Object open()
- Open the dialog.
- Returns:
- the result
getPresentationModel
public LoginPM getPresentationModel()
- Description copied from interface:
View
- Returns the
PresentationModel
of this view.
- Specified by:
getPresentationModel
in interface View<LoginPM>
- Returns:
- the
PresentationModel
setPresentationModel
public void setPresentationModel(LoginPM pModel)
- Description copied from interface:
View
- Sets the
PresentationModel
of this view.
- Specified by:
setPresentationModel
in interface View<LoginPM>
- Parameters:
pModel
- the PresentationModel