litesoft
@ 948
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
package org.litesoft.GWT.client.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 ); } } |