Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.litesoft.GWT.client.event;

import com.google.gwt.event.shared.*;
import com.google.gwt.event.shared.GwtEvent.*;

@SuppressWarnings("deprecation")
public class IncubatorHandlerRegistrationAdaptor extends DefaultHandlerRegistration
{
    private final com.google.gwt.gen2.event.shared.HandlerRegistration mIncubatorHandlerRegistration;
    
    public <H extends EventHandler> IncubatorHandlerRegistrationAdaptor(HandlerManager pManager, Type<H> pType,
            H pHandler, com.google.gwt.gen2.event.shared.HandlerRegistration pIncubatorHandlerRegistration)
    {
        super(pManager, pType, pHandler);
        mIncubatorHandlerRegistration = pIncubatorHandlerRegistration;
    }

    @Override
    public void removeHandler()
    {
        super.removeHandler();
        mIncubatorHandlerRegistration.removeHandler();
    }
}

Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/event/IncubatorHandlerRegistrationAdaptor.java

Diff revisions: vs.
Revision Author Commited Message
2 GeorgeS picture GeorgeS Sun 07 Feb, 2010 12:50:58 +0000