litesoft
@ 947
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
// This Source Code is in the Public Domain per: http://unlicense.org 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(); } } |