|
@@ -45,7 +45,6 @@ import com.dmdirc.interfaces.config.ConfigProvider;
|
45
|
45
|
import com.dmdirc.util.validators.FileNameValidator;
|
46
|
46
|
import com.dmdirc.util.validators.ValidatorChain;
|
47
|
47
|
|
48
|
|
-import java.awt.Window;
|
49
|
48
|
import java.awt.event.ActionEvent;
|
50
|
49
|
import java.awt.event.ActionListener;
|
51
|
50
|
import java.util.HashMap;
|
|
@@ -53,7 +52,6 @@ import java.util.Map;
|
53
|
52
|
import java.util.concurrent.atomic.AtomicBoolean;
|
54
|
53
|
|
55
|
54
|
import javax.inject.Inject;
|
56
|
|
-import javax.inject.Singleton;
|
57
|
55
|
import javax.swing.BorderFactory;
|
58
|
56
|
import javax.swing.DefaultListModel;
|
59
|
57
|
import javax.swing.JButton;
|
|
@@ -70,7 +68,6 @@ import net.miginfocom.swing.MigLayout;
|
70
|
68
|
/**
|
71
|
69
|
* Allows the user to manage actions.
|
72
|
70
|
*/
|
73
|
|
-@Singleton
|
74
|
71
|
public class ActionsManagerDialog extends StandardDialog implements
|
75
|
72
|
ActionListener, com.dmdirc.interfaces.ActionListener,
|
76
|
73
|
ListSelectionListener {
|
|
@@ -81,8 +78,6 @@ public class ActionsManagerDialog extends StandardDialog implements
|
81
|
78
|
* objects being unserialized with the new class).
|
82
|
79
|
*/
|
83
|
80
|
private static final long serialVersionUID = 1;
|
84
|
|
- /** Swing controller. */
|
85
|
|
- private final SwingController controller;
|
86
|
81
|
/** Dialog manager. */
|
87
|
82
|
private final DialogManager dialogManager;
|
88
|
83
|
/** Config instance. */
|
|
@@ -133,7 +128,6 @@ public class ActionsManagerDialog extends StandardDialog implements
|
133
|
128
|
super(dialogManager, Apple.isAppleUI()
|
134
|
129
|
? new AppleJFrame(parentWindow, controller)
|
135
|
130
|
: parentWindow, ModalityType.MODELESS);
|
136
|
|
- this.controller = controller;
|
137
|
131
|
this.dialogManager = dialogManager;
|
138
|
132
|
this.config = config;
|
139
|
133
|
this.compFactory = compFactory;
|