]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove support for interpreting VView with a "sub" attribute as VWindow
authorLeif Åstrand <leif@vaadin.com>
Wed, 28 Dec 2011 10:49:01 +0000 (12:49 +0200)
committerLeif Åstrand <leif@vaadin.com>
Wed, 28 Dec 2011 10:49:01 +0000 (12:49 +0200)
src/com/vaadin/terminal/gwt/client/VUIDLBrowser.java

index 95d2fd0b5f4c3bf080b17466199b171bad119d30..142fbe293a991a56c46d3badf7a660bfd541a49c 100644 (file)
@@ -25,7 +25,6 @@ import com.google.gwt.event.dom.client.MouseOutHandler;
 import com.google.gwt.user.client.ui.RootPanel;
 import com.google.gwt.user.client.ui.Widget;
 import com.vaadin.terminal.gwt.client.ui.VUnknownComponent;
-import com.vaadin.terminal.gwt.client.ui.VView;
 import com.vaadin.terminal.gwt.client.ui.VWindow;
 
 public class VUIDLBrowser extends SimpleTree {
@@ -103,9 +102,6 @@ public class VUIDLBrowser extends SimpleTree {
             if (widgetClassByDecodedTag == VUnknownComponent.class) {
                 return conf.getUnknownServerClassNameByEncodedTagName(name)
                         + "(NO CLIENT IMPLEMENTATION FOUND)";
-            } else if (widgetClassByDecodedTag == VView.class
-                    && uidl.hasAttribute("sub")) {
-                return "com.vaadin.terminal.gwt.ui.VWindow";
             } else {
                 return widgetClassByDecodedTag.getName();
             }
@@ -201,7 +197,7 @@ public class VUIDLBrowser extends SimpleTree {
                     tmp.addItem(name + "=" + value);
                 }
                 if (tmp != null) {
-                   add(tmp);
+                    add(tmp);
                 }
             } catch (final Exception e) {
                 // Ignored, no variables