소스 검색

Remove Window.getController().

Change-Id: I13e0ac51ec3821d586155da610273bcd2e82b278
Depends-On: I7da5409743cd678364dd87a6ebf2629796d5033a
Reviewed-on: http://gerrit.dmdirc.com/3275
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
changes/75/3275/2
Chris Smith 10 년 전
부모
커밋
d72bbd6177
2개의 변경된 파일0개의 추가작업 그리고 13개의 파일을 삭제
  1. 0
    6
      src/com/dmdirc/addons/ui_swing/components/frames/TextFrame.java
  2. 0
    7
      src/com/dmdirc/addons/ui_web/uicomponents/WebWindow.java

+ 0
- 6
src/com/dmdirc/addons/ui_swing/components/frames/TextFrame.java 파일 보기

@@ -532,12 +532,6 @@ public abstract class TextFrame extends JPanel implements Window,
532 532
         getTextPane().close();
533 533
     }
534 534
 
535
-    @Override
536
-    @Deprecated
537
-    public SwingController getController() {
538
-        return controller;
539
-    }
540
-
541 535
     /**
542 536
      * Returns the IconManager for this frame.
543 537
      *

+ 0
- 7
src/com/dmdirc/addons/ui_web/uicomponents/WebWindow.java 파일 보기

@@ -57,8 +57,6 @@ public class WebWindow implements Window, IRCDocumentListener,
57 57
     private final FrameContainer container;
58 58
     /** The handler to pass global events to. */
59 59
     private final DynamicRequestHandler handler;
60
-    /** The controller that owns this window. */
61
-    private final WebInterfaceUI controller;
62 60
 
63 61
     public WebWindow(final WebInterfaceUI controller,
64 62
             final FrameContainer parent, final String id) {
@@ -66,7 +64,6 @@ public class WebWindow implements Window, IRCDocumentListener,
66 64
 
67 65
         this.id = id;
68 66
         this.container = parent;
69
-        this.controller = controller;
70 67
         this.handler = controller.getHandler();
71 68
 
72 69
         parent.getDocument().addIRCDocumentListener(this);
@@ -90,10 +87,6 @@ public class WebWindow implements Window, IRCDocumentListener,
90 87
         return container;
91 88
     }
92 89
 
93
-    public WebInterfaceUI getController() {
94
-        return controller;
95
-    }
96
-
97 90
     public List<String> getMessages() {
98 91
         final IRCDocument document = getContainer().getDocument();
99 92
 

Loading…
취소
저장