litesoft
@ 669
litesoft / trunk / GWT_Sandbox / MultiModuleSingleSrc / main / src / org / litesoft / sandbox / multimodule / client / common / util / WindowCloseImpl.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
package org.litesoft.sandbox.multimodule.client.common.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 ); } } |