litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/event/IncubatorHandlerRegistrationAdaptor2.java
|
@@ -4,20 +4,18 @@ |
4 |
4 |
|
import com.google.gwt.event.shared.*; |
5 |
5 |
|
|
6 |
6 |
|
@SuppressWarnings("deprecation") |
7 |
|
- |
public class IncubatorHandlerRegistrationAdaptor2 implements HandlerRegistration |
8 |
|
- |
{ |
|
7 |
+ |
public class IncubatorHandlerRegistrationAdaptor2 implements HandlerRegistration { |
9 |
8 |
|
private final HandlerRegistration mHandlerRegistration; |
10 |
9 |
|
private final com.google.gwt.gen2.event.shared.HandlerRegistration mIncubatorHandlerRegistration; |
11 |
10 |
|
|
12 |
|
- |
public <H extends EventHandler> IncubatorHandlerRegistrationAdaptor2( HandlerRegistration pHandlerRegistration, com.google.gwt.gen2.event.shared.HandlerRegistration pIncubatorHandlerRegistration ) |
13 |
|
- |
{ |
|
11 |
+ |
public <H extends EventHandler> IncubatorHandlerRegistrationAdaptor2( HandlerRegistration pHandlerRegistration, |
|
12 |
+ |
com.google.gwt.gen2.event.shared.HandlerRegistration pIncubatorHandlerRegistration ) { |
14 |
13 |
|
mHandlerRegistration = pHandlerRegistration; |
15 |
14 |
|
mIncubatorHandlerRegistration = pIncubatorHandlerRegistration; |
16 |
15 |
|
} |
17 |
16 |
|
|
18 |
17 |
|
@Override |
19 |
|
- |
public void removeHandler() |
20 |
|
- |
{ |
|
18 |
+ |
public void removeHandler() { |
21 |
19 |
|
mHandlerRegistration.removeHandler(); |
22 |
20 |
|
mIncubatorHandlerRegistration.removeHandler(); |
23 |
21 |
|
} |