|
@@ -42,7 +42,6 @@ import com.dmdirc.config.prefs.PreferencesType;
|
42
|
42
|
import com.dmdirc.interfaces.config.AggregateConfigProvider;
|
43
|
43
|
import com.dmdirc.interfaces.config.ConfigProvider;
|
44
|
44
|
import com.dmdirc.interfaces.config.IdentityController;
|
45
|
|
-import com.dmdirc.interfaces.config.IdentityFactory;
|
46
|
45
|
import com.dmdirc.interfaces.ui.UIController;
|
47
|
46
|
import com.dmdirc.interfaces.ui.Window;
|
48
|
47
|
import com.dmdirc.logger.ErrorLevel;
|
|
@@ -92,8 +91,6 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
92
|
91
|
private final PluginInfo pluginInfo;
|
93
|
92
|
/** Global config manager. */
|
94
|
93
|
private final AggregateConfigProvider globalConfig;
|
95
|
|
- /** Identity factory. */
|
96
|
|
- private final IdentityFactory identityFactory;
|
97
|
94
|
/** Global config identity. */
|
98
|
95
|
private final ConfigProvider globalIdentity;
|
99
|
96
|
/** Addon config identity. */
|
|
@@ -116,7 +113,6 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
116
|
113
|
*
|
117
|
114
|
* @param pluginInfo Plugin info
|
118
|
115
|
* @param identityManager Identity Manager
|
119
|
|
- * @param identityFactory Factory used to create identities.
|
120
|
116
|
* @param pluginManager Plugin manager
|
121
|
117
|
* @param serverManager Server manager to use for server information.
|
122
|
118
|
* @param urlBuilder URL builder to use to resolve icons etc.
|
|
@@ -126,14 +122,12 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
126
|
122
|
public SwingController(
|
127
|
123
|
final PluginInfo pluginInfo,
|
128
|
124
|
final IdentityController identityManager,
|
129
|
|
- final IdentityFactory identityFactory,
|
130
|
125
|
final PluginManager pluginManager,
|
131
|
126
|
final ServerManager serverManager,
|
132
|
127
|
final URLBuilder urlBuilder,
|
133
|
128
|
final ColourManager colourManager,
|
134
|
129
|
final EventBus eventBus) {
|
135
|
130
|
this.pluginInfo = pluginInfo;
|
136
|
|
- this.identityFactory = identityFactory;
|
137
|
131
|
this.pluginManager = pluginManager;
|
138
|
132
|
this.colourManager = colourManager;
|
139
|
133
|
this.urlBuilder = urlBuilder;
|
|
@@ -152,11 +146,6 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
152
|
146
|
return globalConfig;
|
153
|
147
|
}
|
154
|
148
|
|
155
|
|
- @Deprecated
|
156
|
|
- public IdentityFactory getIdentityFactory() {
|
157
|
|
- return identityFactory;
|
158
|
|
- }
|
159
|
|
-
|
160
|
149
|
@Deprecated
|
161
|
150
|
public ConfigProvider getGlobalIdentity() {
|
162
|
151
|
return globalIdentity;
|