]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8324 Updated special cases in widget set
authorArtur Signell <artur@vaadin.com>
Tue, 31 Jan 2012 12:01:05 +0000 (14:01 +0200)
committerArtur Signell <artur@vaadin.com>
Tue, 31 Jan 2012 13:09:27 +0000 (15:09 +0200)
src/com/vaadin/terminal/gwt/client/WidgetSet.java

index 4f3e510f9af930205c1fa052c36760576b695192..617c354fa8568b8b05b4e6641e3cd95e04e28ce6 100644 (file)
@@ -9,10 +9,11 @@ import com.google.gwt.user.client.ui.Widget;
 import com.vaadin.terminal.gwt.client.ui.VFilterSelectPaintable;
 import com.vaadin.terminal.gwt.client.ui.VListSelectPaintable;
 import com.vaadin.terminal.gwt.client.ui.VSplitPanelHorizontal;
-import com.vaadin.terminal.gwt.client.ui.VSplitPanelVertical;
 import com.vaadin.terminal.gwt.client.ui.VUnknownComponentPaintable;
+import com.vaadin.terminal.gwt.client.ui.VVerticalSplitPanelPaintable;
 import com.vaadin.terminal.gwt.client.ui.VView;
 import com.vaadin.terminal.gwt.client.ui.VWindow;
+import com.vaadin.terminal.gwt.client.ui.VWindowPaintable;
 
 public class WidgetSet {
 
@@ -78,7 +79,7 @@ public class WidgetSet {
         // add our historical quirks
 
         if (widgetClass == VView.class && uidl.hasAttribute("sub")) {
-            return VWindow.class;
+            return VWindowPaintable.class;
         } else if (widgetClass == VFilterSelectPaintable.class) {
             if (uidl.hasAttribute("type")) {
                 final String type = uidl.getStringAttribute("type").intern();
@@ -88,7 +89,7 @@ public class WidgetSet {
             }
         } else if (widgetClass == VSplitPanelHorizontal.class
                 && uidl.hasAttribute("vertical")) {
-            return VSplitPanelVertical.class;
+            return VVerticalSplitPanelPaintable.class;
         }
 
         return widgetClass;
@@ -136,7 +137,7 @@ public class WidgetSet {
         if (fullyqualifiedName.equals("com.vaadin.ui.Select")) {
             loadImplementation(VListSelectPaintable.class);
         } else if (fullyqualifiedName.equals("com.vaadin.ui.SplitPanel")) {
-            loadImplementation(VSplitPanelVertical.class);
+            loadImplementation(VVerticalSplitPanelPaintable.class);
         }
 
         return implementationByServerSideClassName;