diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-11-24 13:54:55 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2016-11-29 07:54:37 +0000 |
commit | 907e24164fe6ce5389475c5b1a6b5b74992c3637 (patch) | |
tree | 943e6ab51909a15d159e4e7e6fc46e968e3f7923 | |
parent | f586bc155f7aa18cefd7b09f68ed2bf975e24174 (diff) | |
download | vaadin-framework-907e24164fe6ce5389475c5b1a6b5b74992c3637.tar.gz vaadin-framework-907e24164fe6ce5389475c5b1a6b5b74992c3637.zip |
Unify usage of HandlerRegistration #19267
All Vaadin components use the old HandlerRegistration except Grid
renderers and ServerConnector. Since most Vaadin components extend GWT
components we can't change to the bindary version until GWT does, so the
only way we can unify the usage is using the old version.
Change-Id: I82a5b66df977fe0e7bcab7e981332d0cf7e0bdbf
7 files changed, 7 insertions, 7 deletions
diff --git a/client/src/main/java/com/vaadin/client/ServerConnector.java b/client/src/main/java/com/vaadin/client/ServerConnector.java index 51ebdde914..9ab076305c 100644 --- a/client/src/main/java/com/vaadin/client/ServerConnector.java +++ b/client/src/main/java/com/vaadin/client/ServerConnector.java @@ -19,7 +19,7 @@ import java.util.Collection; import java.util.List; import com.google.gwt.event.shared.GwtEvent; -import com.google.web.bindery.event.shared.HandlerRegistration; +import com.google.gwt.event.shared.HandlerRegistration; import com.vaadin.client.communication.StateChangeEvent.StateChangeHandler; import com.vaadin.shared.Connector; import com.vaadin.shared.communication.ClientRpc; diff --git a/client/src/main/java/com/vaadin/client/connectors/ButtonRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/ButtonRendererConnector.java index fad8918c92..2c353e484a 100644 --- a/client/src/main/java/com/vaadin/client/connectors/ButtonRendererConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/ButtonRendererConnector.java @@ -15,7 +15,7 @@ */ package com.vaadin.client.connectors; -import com.google.web.bindery.event.shared.HandlerRegistration; +import com.google.gwt.event.shared.HandlerRegistration; import com.vaadin.client.renderers.ButtonRenderer; import com.vaadin.client.renderers.ClickableRenderer.RendererClickHandler; import com.vaadin.shared.ui.Connect; diff --git a/client/src/main/java/com/vaadin/client/connectors/CheckBoxRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/CheckBoxRendererConnector.java index 9e052e917c..8a2317c0a4 100644 --- a/client/src/main/java/com/vaadin/client/connectors/CheckBoxRendererConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/CheckBoxRendererConnector.java @@ -15,7 +15,7 @@ */ package com.vaadin.client.connectors; -import com.google.web.bindery.event.shared.HandlerRegistration; +import com.google.gwt.event.shared.HandlerRegistration; import com.vaadin.client.renderers.CheckBoxRenderer; import com.vaadin.client.renderers.ClickableRenderer.RendererClickHandler; import com.vaadin.shared.ui.Connect; diff --git a/client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java index f6f6607683..bed09ca75c 100644 --- a/client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java @@ -15,7 +15,7 @@ */ package com.vaadin.client.connectors; -import com.google.web.bindery.event.shared.HandlerRegistration; +import com.google.gwt.event.shared.HandlerRegistration; import com.vaadin.client.MouseEventDetailsBuilder; import com.vaadin.client.connectors.grid.AbstractGridRendererConnector; import com.vaadin.client.renderers.ClickableRenderer.RendererClickEvent; diff --git a/client/src/main/java/com/vaadin/client/connectors/ImageRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/ImageRendererConnector.java index 7949eeab3c..7ebeb33638 100644 --- a/client/src/main/java/com/vaadin/client/connectors/ImageRendererConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/ImageRendererConnector.java @@ -15,7 +15,7 @@ */ package com.vaadin.client.connectors; -import com.google.web.bindery.event.shared.HandlerRegistration; +import com.google.gwt.event.shared.HandlerRegistration; import com.vaadin.client.communication.JsonDecoder; import com.vaadin.client.metadata.TypeDataStore; import com.vaadin.client.renderers.ClickableRenderer.RendererClickHandler; diff --git a/client/src/main/java/com/vaadin/client/renderers/ClickableRenderer.java b/client/src/main/java/com/vaadin/client/renderers/ClickableRenderer.java index 95eff8ba5e..02668b182e 100644 --- a/client/src/main/java/com/vaadin/client/renderers/ClickableRenderer.java +++ b/client/src/main/java/com/vaadin/client/renderers/ClickableRenderer.java @@ -24,9 +24,9 @@ import com.google.gwt.event.dom.client.DomEvent; import com.google.gwt.event.dom.client.MouseEvent; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.HandlerManager; +import com.google.gwt.event.shared.HandlerRegistration; import com.google.gwt.user.client.ui.Composite; import com.google.gwt.user.client.ui.Widget; -import com.google.web.bindery.event.shared.HandlerRegistration; import com.vaadin.client.WidgetUtil; import com.vaadin.client.widget.escalator.Cell; import com.vaadin.client.widget.escalator.RowContainer; diff --git a/client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java b/client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java index 3770c28446..af212c16f4 100644 --- a/client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java +++ b/client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java @@ -37,6 +37,7 @@ import com.google.gwt.event.dom.client.ScrollEvent; import com.google.gwt.event.dom.client.ScrollHandler; import com.google.gwt.event.logical.shared.ResizeEvent; import com.google.gwt.event.logical.shared.ResizeHandler; +import com.google.gwt.event.shared.HandlerRegistration; import com.google.gwt.http.client.URL; import com.google.gwt.user.client.Command; import com.google.gwt.user.client.DOM; @@ -47,7 +48,6 @@ import com.google.gwt.user.client.Window; import com.google.gwt.user.client.Window.Location; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.Widget; -import com.google.web.bindery.event.shared.HandlerRegistration; import com.vaadin.client.ApplicationConnection; import com.vaadin.client.ApplicationConnection.ApplicationStoppedEvent; import com.vaadin.client.ComponentConnector; |