]> source.dussan.org Git - vaadin-framework.git/commitdiff
Helper to ease migration of Vaadin 6 components
authorArtur Signell <artur@vaadin.com>
Thu, 12 Apr 2012 10:36:57 +0000 (13:36 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 12 Apr 2012 10:36:57 +0000 (13:36 +0300)
src/com/vaadin/terminal/gwt/client/ui/Vaadin6Connector.java [new file with mode: 0644]

diff --git a/src/com/vaadin/terminal/gwt/client/ui/Vaadin6Connector.java b/src/com/vaadin/terminal/gwt/client/ui/Vaadin6Connector.java
new file mode 100644 (file)
index 0000000..bcee1ff
--- /dev/null
@@ -0,0 +1,14 @@
+package com.vaadin.terminal.gwt.client.ui;
+
+import com.vaadin.terminal.gwt.client.ApplicationConnection;
+import com.vaadin.terminal.gwt.client.Paintable;
+import com.vaadin.terminal.gwt.client.UIDL;
+
+public abstract class Vaadin6Connector extends AbstractComponentConnector
+        implements Paintable {
+
+    public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
+        ((Paintable) getWidget()).updateFromUIDL(uidl, client);
+    }
+
+}