litesoft
Diff Revisions
954
vs
955
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/view/AbstractNewUserDialog.java
|
@@ -1,11 +1,9 @@ |
1 |
1 |
|
package org.litesoft.GWT.client.view; |
2 |
2 |
|
|
3 |
3 |
|
import org.litesoft.GWT.client.*; |
4 |
|
- |
import org.litesoft.GWT.client.context.*; |
5 |
4 |
|
import org.litesoft.GWT.client.widgets.*; |
6 |
5 |
|
import org.litesoft.GWT.forms.client.*; |
7 |
6 |
|
import org.litesoft.GWT.forms.client.components.*; |
8 |
|
- |
import org.litesoft.core.*; |
9 |
7 |
|
import org.litesoft.security.*; |
10 |
8 |
|
|
11 |
9 |
|
import com.google.gwt.core.client.*; |
|
@@ -14,16 +12,12 @@ |
14 |
12 |
|
|
15 |
13 |
|
import static org.litesoft.uispecification.FormWidgetCtrl.*; |
16 |
14 |
|
|
17 |
|
- |
public abstract class AbstractNewUserDialog<T extends SecurityUserView<T>> extends DialogView { |
|
15 |
+ |
public abstract class AbstractNewUserDialog<T extends SecurityUserView<T>> extends AbstractSecurityDialogView<T> { |
18 |
16 |
|
protected String mLogonEmail; |
19 |
17 |
|
protected String mPhoneNumber; |
20 |
18 |
|
protected T mUserView; |
21 |
19 |
|
protected QBEinputPanelAccessorFactory<T> mUserFieldsPanelFactory; |
22 |
20 |
|
|
23 |
|
- |
protected FormEngine mFE; |
24 |
|
- |
protected SecurityUserViewDataProvider<T> mDataProvider; |
25 |
|
- |
protected SecurityUserViewMetaData<T> mUserViewMetaData; |
26 |
|
- |
|
27 |
21 |
|
public AbstractNewUserDialog( CO pCO, String pLogonEmail, String pPhoneNumber, T pUserView, QBEinputPanelAccessorFactory<T> pUserFieldsPanelFactory ) { |
28 |
22 |
|
super( pCO, Opaqueness.Semi ); |
29 |
23 |
|
mLogonEmail = pLogonEmail; |
|
@@ -31,11 +25,6 @@ |
31 |
25 |
|
mUserView = pUserView; |
32 |
26 |
|
mUserFieldsPanelFactory = pUserFieldsPanelFactory; |
33 |
27 |
|
|
34 |
|
- |
ClientContext zContext = ClientContext.get(); |
35 |
|
- |
|
36 |
|
- |
mDataProvider = zContext.get( SecurityUserViewDataProvider.class ); |
37 |
|
- |
mUserViewMetaData = zContext.get( SecurityUserViewMetaData.class ); |
38 |
|
- |
|
39 |
28 |
|
createFormEngine(); |
40 |
29 |
|
} |
41 |
30 |
|
|