Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2001-09-21 17:34:06 +0000
committerDarin Swanson2001-09-21 17:34:06 +0000
commit0b3b33d33dc1b1139a4f0f453bca35cd4b9cb390 (patch)
treecb24f4b6be96f010e9f0bc710ed7edd71aa14ad3
parent1ba440be29d53d7642d6b18ec3d206b098233d0d (diff)
downloadeclipse.platform.debug-0b3b33d33dc1b1139a4f0f453bca35cd4b9cb390.tar.gz
eclipse.platform.debug-0b3b33d33dc1b1139a4f0f453bca35cd4b9cb390.tar.xz
eclipse.platform.debug-0b3b33d33dc1b1139a4f0f453bca35cd4b9cb390.zip
Refactoring of initializing pref page defaults
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java
index f52022f55..9426e277b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java
@@ -22,7 +22,6 @@ import org.eclipse.jface.text.*;
import org.eclipse.jface.util.ListenerList;
import org.eclipse.jface.viewers.*;
import org.eclipse.swt.custom.BusyIndicator;
-import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.*;
@@ -825,13 +824,8 @@ public static Object createExtension(final IConfigurationElement element, final
* @see AbstractUIPlugin#initializeDefaultPreferences
*/
protected void initializeDefaultPreferences(IPreferenceStore prefs) {
- prefs.setDefault(IDebugUIConstants.PREF_AUTO_SHOW_DEBUG_VIEW, true);
- prefs.setDefault(IDebugUIConstants.PREF_AUTO_SHOW_PROCESS_VIEW, true);
- prefs.setDefault(IDebugPreferenceConstants.CONSOLE_OPEN, true);
-
- PreferenceConverter.setDefault(prefs, IDebugPreferenceConstants.CONSOLE_SYS_OUT_RGB, new RGB(0, 0, 255));
- PreferenceConverter.setDefault(prefs, IDebugPreferenceConstants.CONSOLE_SYS_IN_RGB, new RGB(0, 200, 125));
- PreferenceConverter.setDefault(prefs, IDebugPreferenceConstants.CONSOLE_SYS_ERR_RGB, new RGB(255, 0, 0));
+ DebugPreferencePage.initDefaults(prefs);
+ ConsolePreferencePage.initDefaults(prefs);
}
/**

Back to the top