Переглянути джерело

Remove unused frameinfolistener from webui.

Change-Id: I162346663b2f48f8554715bc92b761690d149e65
Reviewed-on: http://gerrit.dmdirc.com/3761
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
changes/61/3761/2
Greg Holmes 9 роки тому
джерело
коміт
84b7008727

+ 1
- 18
src/com/dmdirc/addons/ui_web/uicomponents/WebWindow.java Переглянути файл

@@ -28,7 +28,6 @@ import com.dmdirc.addons.ui_web.Event;
28 28
 import com.dmdirc.addons.ui_web.Message;
29 29
 import com.dmdirc.addons.ui_web.WebInterfaceUI;
30 30
 import com.dmdirc.interfaces.FrameCloseListener;
31
-import com.dmdirc.interfaces.FrameInfoListener;
32 31
 import com.dmdirc.interfaces.ui.Window;
33 32
 import com.dmdirc.ui.messages.IRCDocument;
34 33
 import com.dmdirc.ui.messages.IRCDocumentListener;
@@ -51,7 +50,7 @@ import org.apache.commons.lang.StringEscapeUtils;
51 50
  * A server-side representation of a "window" in the Web UI.
52 51
  */
53 52
 public class WebWindow implements Window, IRCDocumentListener,
54
-        FrameInfoListener, FrameCloseListener {
53
+        FrameCloseListener {
55 54
 
56 55
     /** The unique ID of this window, used by clients to address the window. */
57 56
     private final String id;
@@ -69,7 +68,6 @@ public class WebWindow implements Window, IRCDocumentListener,
69 68
         this.handler = controller.getHandler();
70 69
 
71 70
         parent.getDocument().addIRCDocumentListener(this);
72
-        parent.addFrameInfoListener(this);
73 71
         parent.addCloseListener(this);
74 72
 
75 73
         final Optional<FrameContainer> grandParent = parent.getParent();
@@ -221,21 +219,6 @@ public class WebWindow implements Window, IRCDocumentListener,
221 219
         //TODO FIXME
222 220
     }
223 221
 
224
-    @Override
225
-    public void iconChanged(final FrameContainer window, final String icon) {
226
-        //TODO FIXME
227
-    }
228
-
229
-    @Override
230
-    public void nameChanged(final FrameContainer window, final String name) {
231
-        //TODO FIXME
232
-    }
233
-
234
-    @Override
235
-    public void titleChanged(final FrameContainer window, final String title) {
236
-        //TODO FIXME
237
-    }
238
-
239 222
     @Override
240 223
     public void windowClosing(final FrameContainer window) {
241 224
         handler.addEvent(new Event("closewindow", id));

Завантаження…
Відмінити
Зберегти