litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/util/WindowCloseImpl.java
|
@@ -1,19 +1,19 @@ |
1 |
|
- |
package org.litesoft.GWT.client.util; |
2 |
|
- |
|
3 |
|
- |
import com.google.gwt.event.shared.*; |
4 |
|
- |
import com.google.gwt.user.client.*; |
5 |
|
- |
|
6 |
|
- |
/** |
7 |
|
- |
* Default implementation of {@link WindowClose}, based on {@link Window}. |
8 |
|
- |
*/ |
9 |
|
- |
public class WindowCloseImpl implements WindowClose { |
10 |
|
- |
@Override |
11 |
|
- |
public HandlerRegistration addWindowClosingHandler( Window.ClosingHandler handler ) { |
12 |
|
- |
return Window.addWindowClosingHandler( handler ); |
13 |
|
- |
} |
14 |
|
- |
|
15 |
|
- |
@Override |
16 |
|
- |
public boolean confirm( String message ) { |
17 |
|
- |
return Window.confirm( message ); |
18 |
|
- |
} |
19 |
|
- |
} |
|
1 |
+ |
package org.litesoft.GWT.client.util; |
|
2 |
+ |
|
|
3 |
+ |
import com.google.gwt.event.shared.*; |
|
4 |
+ |
import com.google.gwt.user.client.*; |
|
5 |
+ |
|
|
6 |
+ |
/** |
|
7 |
+ |
* Default implementation of {@link WindowClose}, based on {@link Window}. |
|
8 |
+ |
*/ |
|
9 |
+ |
public class WindowCloseImpl implements WindowClose { |
|
10 |
+ |
@Override |
|
11 |
+ |
public HandlerRegistration addWindowClosingHandler( Window.ClosingHandler handler ) { |
|
12 |
+ |
return Window.addWindowClosingHandler( handler ); |
|
13 |
+ |
} |
|
14 |
+ |
|
|
15 |
+ |
@Override |
|
16 |
+ |
public boolean confirm( String message ) { |
|
17 |
+ |
return Window.confirm( message ); |
|
18 |
+ |
} |
|
19 |
+ |
} |