/******************************************************************************* * Copyright (c) 2010, 2012 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Wind River Systems, Inc. - initial implementation *******************************************************************************/ package org.eclipse.cdt.debug.ui.memory.memorybrowser; import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; import org.eclipse.jface.preference.IPreferenceStore; /** * Class used to initialize default preference values. */ public class MemoryBrowserPreferenceInitializer extends AbstractPreferenceInitializer { /* * (non-Javadoc) * * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences() */ @Override public void initializeDefaultPreferences() { IPreferenceStore store = MemoryBrowserPlugin.getDefault().getPreferenceStore(); // The following preferences should be kept in the store store.setDefault(MemoryBrowser.PREF_DEFAULT_RENDERING, ""); } }