litesoft
@ 948
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / client / foundation / util / WindowCloseImpl.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
package com.temp.client.foundation.util; import com.google.gwt.event.shared.*; import com.google.gwt.user.client.*; /** * Default implementation of {@link WindowClose}, based on {@link Window}. */ public class WindowCloseImpl implements WindowClose { @Override public HandlerRegistration addWindowClosingHandler( Window.ClosingHandler handler ) { return Window.addWindowClosingHandler( handler ); } @Override public boolean confirm( String message ) { return Window.confirm( message ); } } |