diff options
Diffstat (limited to 'bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/preferences/CSSUIPreferenceInitializer.java')
-rw-r--r-- | bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/preferences/CSSUIPreferenceInitializer.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/preferences/CSSUIPreferenceInitializer.java b/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/preferences/CSSUIPreferenceInitializer.java deleted file mode 100644 index 2b3d5498ba..0000000000 --- a/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/preferences/CSSUIPreferenceInitializer.java +++ /dev/null @@ -1,51 +0,0 @@ -package org.eclipse.wst.css.ui.internal.preferences; - -import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.wst.css.ui.internal.CSSUIPlugin; -import org.eclipse.wst.css.ui.internal.style.IStyleConstantsCSS; -import org.eclipse.wst.sse.ui.internal.preferences.ui.ColorHelper; - -/** - * Sets default values for CSS UI preferences - */ -public class CSSUIPreferenceInitializer extends AbstractPreferenceInitializer { - - /* (non-Javadoc) - * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences() - */ - public void initializeDefaultPreferences() { - IPreferenceStore store = CSSUIPlugin.getDefault().getPreferenceStore(); - // CSS Style Preferences - String NOBACKGROUNDBOLD = " | null | false"; //$NON-NLS-1$ - String styleValue = "null" + NOBACKGROUNDBOLD; //$NON-NLS-1$ - store.setDefault(IStyleConstantsCSS.NORMAL, styleValue); - - styleValue = ColorHelper.getColorString(63, 127, 127) + NOBACKGROUNDBOLD; - store.setDefault(IStyleConstantsCSS.ATMARK_RULE, styleValue); - store.setDefault(IStyleConstantsCSS.SELECTOR, styleValue); - - styleValue = ColorHelper.getColorString(42, 0, 225) + NOBACKGROUNDBOLD; - store.setDefault(IStyleConstantsCSS.MEDIA, styleValue); - - styleValue = ColorHelper.getColorString(63, 95, 191) + NOBACKGROUNDBOLD; - store.setDefault(IStyleConstantsCSS.COMMENT, styleValue); - - styleValue = ColorHelper.getColorString(127, 0, 127) + NOBACKGROUNDBOLD; - store.setDefault(IStyleConstantsCSS.PROPERTY_NAME, styleValue); - - styleValue = ColorHelper.getColorString(42, 0, 225) + NOBACKGROUNDBOLD; - store.setDefault(IStyleConstantsCSS.PROPERTY_VALUE, styleValue); - store.setDefault(IStyleConstantsCSS.URI, styleValue); - store.setDefault(IStyleConstantsCSS.STRING, styleValue); - - styleValue = "null" + NOBACKGROUNDBOLD; //$NON-NLS-1$ - store.setDefault(IStyleConstantsCSS.COLON, styleValue); - store.setDefault(IStyleConstantsCSS.SEMI_COLON, styleValue); - store.setDefault(IStyleConstantsCSS.CURLY_BRACE, styleValue); - - styleValue = ColorHelper.getColorString(191, 63, 63) + NOBACKGROUNDBOLD; - store.setDefault(IStyleConstantsCSS.ERROR, styleValue); - } - -} |