]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed deprecated frameset-support
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Sun, 21 Oct 2007 15:07:05 +0000 (15:07 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Sun, 21 Oct 2007 15:07:05 +0000 (15:07 +0000)
svn changeset:2571/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java

index fcd3a04127e7e17d83b4bc83ed20d37be17a350b..58e3d083334d056d8749d515d13d463a70376eda 100644 (file)
@@ -949,32 +949,6 @@ public class CommunicationManager implements Paintable.RepaintRequestListener,
                Paintable p = event.getPaintable();
                dirtyPaintabletSet.add(p);
 
-               // For FrameWindows we mark all frames (windows) dirty
-               if (p instanceof FrameWindow) {
-                       FrameWindow fw = (FrameWindow) p;
-                       repaintFrameset(fw.getFrameset());
-               }
-       }
-
-       /**
-        * Recursively request repaint for all frames in frameset.
-        * 
-        * @param fs
-        *            the Framewindow.Frameset.
-        */
-       private void repaintFrameset(FrameWindow.Frameset fs) {
-               List frames = fs.getFrames();
-               for (Iterator i = frames.iterator(); i.hasNext();) {
-                       FrameWindow.Frame f = (FrameWindow.Frame) i.next();
-                       if (f instanceof FrameWindow.Frameset) {
-                               repaintFrameset((FrameWindow.Frameset) f);
-                       } else {
-                               Window w = f.getWindow();
-                               if (w != null) {
-                                       w.requestRepaint();
-                               }
-                       }
-               }
        }
 
        /**