Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/GWT_Sandbox/NAS-Video/src/org/litesoft/GWT/client/view/ResetPasswordDialogFactory.java

Diff revisions: vs.
  @@ -1,23 +1,23 @@
1 - package org.litesoft.GWT.client.view;
2 -
3 - import org.litesoft.core.*;
4 - import org.litesoft.security.*;
5 -
6 - import com.google.gwt.core.client.*;
7 - import com.google.gwt.user.client.*;
8 -
9 - public class ResetPasswordDialogFactory<T extends SecurityUserView<T>> implements LoginPasswordResetDialogViewFactory
10 - {
11 - @Override
12 - public DialogView createDialog( ClientContext pClientContext, final Command pOnSuccess )
13 - {
14 - return new ChangePassword<T>( "Reset Password" )
15 - {
16 - @Override protected void submitSucceeded()
17 - {
18 - super.submitSucceeded();
19 - Scheduler.get().scheduleDeferred( pOnSuccess );
20 - }
21 - };
22 - }
23 - }
1 + package org.litesoft.GWT.client.view;
2 +
3 + import org.litesoft.core.*;
4 + import org.litesoft.security.*;
5 +
6 + import com.google.gwt.core.client.*;
7 + import com.google.gwt.user.client.*;
8 +
9 + public class ResetPasswordDialogFactory<T extends SecurityUserView<T>> implements LoginPasswordResetDialogViewFactory
10 + {
11 + @Override
12 + public DialogView createDialog( ClientContext pClientContext, final Command pOnSuccess )
13 + {
14 + return new ChangePassword<T>( "Reset Password" )
15 + {
16 + @Override protected void submitSucceeded()
17 + {
18 + super.submitSucceeded();
19 + Scheduler.get().scheduleDeferred( pOnSuccess );
20 + }
21 + };
22 + }
23 + }