1 11 package org.eclipse.pde.internal.ui.preferences; 12 13 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 14 import org.eclipse.jface.preference.IPreferenceStore; 15 import org.eclipse.pde.internal.ui.IPreferenceConstants; 16 import org.eclipse.pde.internal.ui.PDEPlugin; 17 import org.eclipse.pde.internal.ui.editor.text.ColorManager; 18 import org.eclipse.pde.internal.ui.launcher.OSGiFrameworkManager; 19 20 public class PreferenceInitializer extends AbstractPreferenceInitializer { 21 22 25 public void initializeDefaultPreferences() { 26 IPreferenceStore store = PDEPlugin.getDefault().getPreferenceStore(); 27 ColorManager.initializeDefaults(store); 28 store.setDefault(IPreferenceConstants.PROP_SHOW_OBJECTS, IPreferenceConstants.VALUE_USE_IDS); 29 store.setDefault(IPreferenceConstants.EDITOR_FOLDING_ENABLED, false); 30 store.setDefault(IPreferenceConstants.DEFAULT_OSGI_FRAMEOWRK, OSGiFrameworkManager.DEFAULT_FRAMEWORK); 31 } 32 33 } 34 | Popular Tags |