diff options
author | Artur Signell <artur@vaadin.com> | 2012-11-08 15:01:51 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-11-08 15:02:11 +0200 |
commit | d2195c17642944f396e3a2e57b644c0d1d330435 (patch) | |
tree | aa1bb11fddaa46c10370e89418e9bb411e400995 /server/src | |
parent | 9b69534bc46e01f5a762284542db460930de44fa (diff) | |
download | vaadin-framework-d2195c17642944f396e3a2e57b644c0d1d330435.tar.gz vaadin-framework-d2195c17642944f396e3a2e57b644c0d1d330435.zip |
Removed dead code
Change-Id: Ieb83a098d1032ba79ff2e589e5b86b32ceab94b3
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/server/VaadinServiceSession.java | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/server/src/com/vaadin/server/VaadinServiceSession.java b/server/src/com/vaadin/server/VaadinServiceSession.java index 37eebe3a4c..109a2f391b 100644 --- a/server/src/com/vaadin/server/VaadinServiceSession.java +++ b/server/src/com/vaadin/server/VaadinServiceSession.java @@ -21,7 +21,6 @@ import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; -import java.util.EventObject; import java.util.HashMap; import java.util.LinkedList; import java.util.List; @@ -44,7 +43,6 @@ import com.vaadin.event.EventRouter; import com.vaadin.ui.AbstractField; import com.vaadin.ui.Table; import com.vaadin.ui.UI; -import com.vaadin.ui.Window; import com.vaadin.util.CurrentInstance; import com.vaadin.util.ReflectTools; @@ -320,124 +318,6 @@ public class VaadinServiceSession implements HttpSessionBindingListener, } /** - * Window detach event. - * - * This event is sent each time a window is removed from the application - * with {@link com.vaadin.server.VaadinServiceSession#removeWindow(Window)}. - * - * @deprecated might be refactored or removed before 7.0.0 - */ - @Deprecated - public static class WindowDetachEvent extends EventObject { - - private final Window window; - - /** - * Creates a event. - * - * @param application - * the application to which the detached window belonged. - * @param window - * the Detached window. - */ - public WindowDetachEvent(VaadinServiceSession application, Window window) { - super(application); - this.window = window; - } - - /** - * Gets the detached window. - * - * @return the detached window. - */ - public Window getWindow() { - return window; - } - - /** - * Gets the application from which the window was detached. - * - * @return the Application. - */ - public VaadinServiceSession getApplication() { - return (VaadinServiceSession) getSource(); - } - } - - /** - * Window attach event. - * - * This event is sent each time a window is attached tothe application with - * {@link com.vaadin.server.VaadinServiceSession#addWindow(Window)}. - * - * @deprecated might be refactored or removed before 7.0.0 - */ - @Deprecated - public static class WindowAttachEvent extends EventObject { - - private final Window window; - - /** - * Creates a event. - * - * @param application - * the application to which the detached window belonged. - * @param window - * the Attached window. - */ - public WindowAttachEvent(VaadinServiceSession application, Window window) { - super(application); - this.window = window; - } - - /** - * Gets the attached window. - * - * @return the attached window. - */ - public Window getWindow() { - return window; - } - - /** - * Gets the application to which the window was attached. - * - * @return the Application. - */ - public VaadinServiceSession getApplication() { - return (VaadinServiceSession) getSource(); - } - } - - /** - * Window attach listener interface. - */ - public interface WindowAttachListener extends Serializable { - - /** - * Window attached - * - * @param event - * the window attach event. - */ - public void windowAttached(WindowAttachEvent event); - } - - /** - * Window detach listener interface. - */ - public interface WindowDetachListener extends Serializable { - - /** - * Window detached. - * - * @param event - * the window detach event. - */ - public void windowDetached(WindowDetachEvent event); - } - - /** * Gets the session's error handler. * * @return the current error handler |