Browse Source

Unused controllers

Change-Id: Id9d1b340d1c2472c5b6d7c49f095730795b015d1
Reviewed-on: http://gerrit.dmdirc.com/3289
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
changes/89/3289/2
Chris Smith 10 years ago
parent
commit
49b1d24d64

+ 0
- 3
src/com/dmdirc/addons/ui_swing/dialogs/actionsmanager/ActionsManagerDialog.java View File

31
 import com.dmdirc.addons.ui_swing.Apple;
31
 import com.dmdirc.addons.ui_swing.Apple;
32
 import com.dmdirc.addons.ui_swing.MainFrame;
32
 import com.dmdirc.addons.ui_swing.MainFrame;
33
 import com.dmdirc.addons.ui_swing.PrefsComponentFactory;
33
 import com.dmdirc.addons.ui_swing.PrefsComponentFactory;
34
-import com.dmdirc.addons.ui_swing.SwingController;
35
 import com.dmdirc.addons.ui_swing.components.ListScroller;
34
 import com.dmdirc.addons.ui_swing.components.ListScroller;
36
 import com.dmdirc.addons.ui_swing.components.SortedListModel;
35
 import com.dmdirc.addons.ui_swing.components.SortedListModel;
37
 import com.dmdirc.addons.ui_swing.components.frames.AppleJFrame;
36
 import com.dmdirc.addons.ui_swing.components.frames.AppleJFrame;
113
      *
112
      *
114
      * @param apple             Apple instance
113
      * @param apple             Apple instance
115
      * @param parentWindow      Parent window
114
      * @param parentWindow      Parent window
116
-     * @param controller        Parent controller
117
      * @param config            Config to save dialog state to
115
      * @param config            Config to save dialog state to
118
      * @param compFactory       Prefs setting component factory
116
      * @param compFactory       Prefs setting component factory
119
      * @param iconManager       The icon manager to use for validating text fields.
117
      * @param iconManager       The icon manager to use for validating text fields.
123
     public ActionsManagerDialog(
121
     public ActionsManagerDialog(
124
             final Apple apple,
122
             final Apple apple,
125
             final MainFrame parentWindow,
123
             final MainFrame parentWindow,
126
-            final SwingController controller,
127
             @UserConfig final ConfigProvider config,
124
             @UserConfig final ConfigProvider config,
128
             final PrefsComponentFactory compFactory,
125
             final PrefsComponentFactory compFactory,
129
             @GlobalConfig final IconManager iconManager,
126
             @GlobalConfig final IconManager iconManager,

+ 0
- 6
src/com/dmdirc/addons/ui_swing/dialogs/aliases/AliasManagerDialog.java View File

31
 import com.dmdirc.actions.wrappers.Alias;
31
 import com.dmdirc.actions.wrappers.Alias;
32
 import com.dmdirc.actions.wrappers.AliasWrapper;
32
 import com.dmdirc.actions.wrappers.AliasWrapper;
33
 import com.dmdirc.addons.ui_swing.MainFrame;
33
 import com.dmdirc.addons.ui_swing.MainFrame;
34
-import com.dmdirc.addons.ui_swing.SwingController;
35
 import com.dmdirc.addons.ui_swing.components.PackingTable;
34
 import com.dmdirc.addons.ui_swing.components.PackingTable;
36
 import com.dmdirc.addons.ui_swing.components.renderers.ActionConditionCellRenderer;
35
 import com.dmdirc.addons.ui_swing.components.renderers.ActionConditionCellRenderer;
37
 import com.dmdirc.addons.ui_swing.components.renderers.ArrayCellRenderer;
36
 import com.dmdirc.addons.ui_swing.components.renderers.ArrayCellRenderer;
72
     private final ActionFactory actionFactory;
71
     private final ActionFactory actionFactory;
73
     /** Alias wrapper to retrieve aliases from. */
72
     /** Alias wrapper to retrieve aliases from. */
74
     private final AliasWrapper aliasWrapper;
73
     private final AliasWrapper aliasWrapper;
75
-    /** Swing controller. */
76
-    private final SwingController controller;
77
     /** Actions substitutor factory. */
74
     /** Actions substitutor factory. */
78
     private final ActionSubstitutorFactory substitutorFactory;
75
     private final ActionSubstitutorFactory substitutorFactory;
79
     /** Table scrollpane. */
76
     /** Table scrollpane. */
98
     /**
95
     /**
99
      * Creates a new instance of ErrorListDialog.
96
      * Creates a new instance of ErrorListDialog.
100
      *
97
      *
101
-     * @param controller         Swing controller
102
      * @param parentWindow       Parent window
98
      * @param parentWindow       Parent window
103
      * @param substitutorFactory Actions substitution factory
99
      * @param substitutorFactory Actions substitution factory
104
      * @param aliasWrapper       The alias wrapper to read aliases from.
100
      * @param aliasWrapper       The alias wrapper to read aliases from.
107
      */
103
      */
108
     @Inject
104
     @Inject
109
     public AliasManagerDialog(
105
     public AliasManagerDialog(
110
-            final SwingController controller,
111
             final MainFrame parentWindow,
106
             final MainFrame parentWindow,
112
             final ActionSubstitutorFactory substitutorFactory,
107
             final ActionSubstitutorFactory substitutorFactory,
113
             final AliasWrapper aliasWrapper,
108
             final AliasWrapper aliasWrapper,
115
             final AliasPanel aliasPanel) {
110
             final AliasPanel aliasPanel) {
116
         super(parentWindow, ModalityType.MODELESS);
111
         super(parentWindow, ModalityType.MODELESS);
117
 
112
 
118
-        this.controller = controller;
119
         this.substitutorFactory = substitutorFactory;
113
         this.substitutorFactory = substitutorFactory;
120
         this.aliasWrapper = aliasWrapper;
114
         this.aliasWrapper = aliasWrapper;
121
         this.actionFactory = actionFactory;
115
         this.actionFactory = actionFactory;

Loading…
Cancel
Save