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