litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/view/ChangePasswordFactory.java
|
@@ -1,21 +1,21 @@ |
1 |
|
- |
package org.litesoft.GWT.client.view; |
2 |
|
- |
|
3 |
|
- |
import org.litesoft.core.*; |
4 |
|
- |
import org.litesoft.security.*; |
5 |
|
- |
import org.litesoft.uispecification.*; |
6 |
|
- |
|
7 |
|
- |
public class ChangePasswordFactory<T extends SecurityUserView<T>> extends DialogViewFactory { |
8 |
|
- |
private String mSection; |
9 |
|
- |
private ViewDef mViewDef; |
10 |
|
- |
|
11 |
|
- |
public ChangePasswordFactory( String pSection, ViewDef pViewDef ) { |
12 |
|
- |
super( pViewDef ); |
13 |
|
- |
mSection = pSection; |
14 |
|
- |
mViewDef = pViewDef; |
15 |
|
- |
} |
16 |
|
- |
|
17 |
|
- |
@Override |
18 |
|
- |
public DialogView createDialog( ClientContext pClientContext, Object pParams ) { |
19 |
|
- |
return new ChangePassword<T>( mSection, mViewDef ); |
20 |
|
- |
} |
21 |
|
- |
} |
|
1 |
+ |
package org.litesoft.GWT.client.view; |
|
2 |
+ |
|
|
3 |
+ |
import org.litesoft.core.*; |
|
4 |
+ |
import org.litesoft.security.*; |
|
5 |
+ |
import org.litesoft.uispecification.*; |
|
6 |
+ |
|
|
7 |
+ |
public class ChangePasswordFactory<T extends SecurityUserView<T>> extends DialogViewFactory { |
|
8 |
+ |
private String mSection; |
|
9 |
+ |
private ViewDef mViewDef; |
|
10 |
+ |
|
|
11 |
+ |
public ChangePasswordFactory( String pSection, ViewDef pViewDef ) { |
|
12 |
+ |
super( pViewDef ); |
|
13 |
+ |
mSection = pSection; |
|
14 |
+ |
mViewDef = pViewDef; |
|
15 |
+ |
} |
|
16 |
+ |
|
|
17 |
+ |
@Override |
|
18 |
+ |
public DialogView createDialog( ClientContext pClientContext, Object pParams ) { |
|
19 |
+ |
return new ChangePassword<T>( mSection, mViewDef ); |
|
20 |
+ |
} |
|
21 |
+ |
} |