|
@@ -104,6 +104,8 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
104
|
104
|
private final ColourManager colourManager;
|
105
|
105
|
/** The manager we're using for dependencies. */
|
106
|
106
|
private SwingManager swingManager;
|
|
107
|
+ /** This plugin's settings domain. */
|
|
108
|
+ private final String domain;
|
107
|
109
|
|
108
|
110
|
/**
|
109
|
111
|
* Instantiates a new SwingController.
|
|
@@ -127,6 +129,7 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
127
|
129
|
this.pluginInfo = pluginInfo;
|
128
|
130
|
this.pluginManager = pluginManager;
|
129
|
131
|
this.colourManager = colourManager;
|
|
132
|
+ this.domain = pluginInfo.getDomain();
|
130
|
133
|
|
131
|
134
|
globalConfig = identityManager.getGlobalConfiguration();
|
132
|
135
|
globalIdentity = identityManager.getUserSettings();
|
|
@@ -516,7 +519,7 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
516
|
519
|
"Window buffer size", "The maximum number of lines in a "
|
517
|
520
|
+ "window buffer", globalConfig, globalIdentity));
|
518
|
521
|
advanced.addSetting(new PreferencesSetting(PreferencesType.BOOLEAN,
|
519
|
|
- getDomain(), "mdiBarVisibility", "MDI Bar Visibility",
|
|
522
|
+ domain, "mdiBarVisibility", "MDI Bar Visibility",
|
520
|
523
|
"Controls the visibility of the MDI bar",
|
521
|
524
|
globalConfig, globalIdentity));
|
522
|
525
|
advanced.addSetting(
|
|
@@ -526,36 +529,36 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
526
|
529
|
+ "collapsing/expanding the split panes",
|
527
|
530
|
globalConfig, globalIdentity));
|
528
|
531
|
advanced.addSetting(new PreferencesSetting(PreferencesType.INTEGER,
|
529
|
|
- getDomain(), "windowMenuItems", "Window menu item count",
|
|
532
|
+ domain, "windowMenuItems", "Window menu item count",
|
530
|
533
|
"Number of items to show in the window menu",
|
531
|
534
|
globalConfig, globalIdentity));
|
532
|
535
|
advanced.addSetting(
|
533
|
|
- new PreferencesSetting(PreferencesType.INTEGER, getDomain(),
|
|
536
|
+ new PreferencesSetting(PreferencesType.INTEGER, domain,
|
534
|
537
|
"windowMenuScrollInterval", "Window menu scroll interval",
|
535
|
538
|
"Number of milliseconds to pause when autoscrolling in the "
|
536
|
539
|
+ "window menu",
|
537
|
540
|
globalConfig, globalIdentity));
|
538
|
541
|
advanced.addSetting(
|
539
|
|
- new PreferencesSetting(PreferencesType.BOOLEAN, getDomain(),
|
|
542
|
+ new PreferencesSetting(PreferencesType.BOOLEAN, domain,
|
540
|
543
|
"showtopicbar", "Show topic bar",
|
541
|
544
|
"Shows a graphical topic bar in channels.",
|
542
|
545
|
globalConfig, globalIdentity));
|
543
|
546
|
advanced.addSetting(new PreferencesSetting(PreferencesType.BOOLEAN,
|
544
|
|
- getDomain(),
|
|
547
|
+ domain,
|
545
|
548
|
"shownicklist", "Show nicklist?",
|
546
|
549
|
"Do you want the nicklist visible",
|
547
|
550
|
globalConfig, globalIdentity));
|
548
|
551
|
advanced.addSetting(new PreferencesSetting(PreferencesType.BOOLEAN,
|
549
|
|
- getDomain(), "showfulltopic", "Show full topic in topic bar?",
|
|
552
|
+ domain, "showfulltopic", "Show full topic in topic bar?",
|
550
|
553
|
"Do you want to show the full topic in the topic bar or just"
|
551
|
554
|
+ "first line?",
|
552
|
555
|
globalConfig, globalIdentity));
|
553
|
556
|
advanced.addSetting(new PreferencesSetting(PreferencesType.BOOLEAN,
|
554
|
|
- getDomain(), "hideEmptyTopicBar", "Hide empty topic bar?",
|
|
557
|
+ domain, "hideEmptyTopicBar", "Hide empty topic bar?",
|
555
|
558
|
"Do you want to hide the topic bar when there is no topic",
|
556
|
559
|
globalConfig, globalIdentity));
|
557
|
560
|
advanced.addSetting(new PreferencesSetting(PreferencesType.BOOLEAN,
|
558
|
|
- getDomain(), "textpanelinenotification",
|
|
561
|
+ domain, "textpanelinenotification",
|
559
|
562
|
"New line notification", "Do you want to be notified about new "
|
560
|
563
|
+ "lines whilst scrolled up?",
|
561
|
564
|
globalConfig, globalIdentity));
|
|
@@ -603,7 +606,7 @@ public class SwingController extends BaseCommandPlugin implements UIController {
|
603
|
606
|
"Foreground colour to use for active treeview node",
|
604
|
607
|
globalConfig, globalIdentity));
|
605
|
608
|
treeview.addSetting(new PreferencesSetting(PreferencesType.BOOLEAN,
|
606
|
|
- getDomain(), "showtreeexpands", "Show expand/collapse handles",
|
|
609
|
+ domain, "showtreeexpands", "Show expand/collapse handles",
|
607
|
610
|
"Do you want to show tree view collapse/expand handles",
|
608
|
611
|
globalConfig, globalIdentity));
|
609
|
612
|
|