Subversion Repository Public Repository

litesoft

Diff Revisions 496 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/view/ResetPasswordDialogFactory.java

Diff revisions: vs.
  @@ -6,15 +6,12 @@
6 6 import com.google.gwt.core.client.*;
7 7 import com.google.gwt.user.client.*;
8 8
9 - public class ResetPasswordDialogFactory<T extends SecurityUserView<T>> implements LoginPasswordResetDialogViewFactory
10 - {
9 + public class ResetPasswordDialogFactory<T extends SecurityUserView<T>> implements LoginPasswordResetDialogViewFactory {
11 10 @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 - {
11 + public DialogView createDialog( ClientContext pClientContext, final Command pOnSuccess ) {
12 + return new ChangePassword<T>( "Reset Password" ) {
13 + @Override
14 + protected void submitSucceeded() {
18 15 super.submitSucceeded();
19 16 Scheduler.get().scheduleDeferred( pOnSuccess );
20 17 }