/*******************************************************************************
* Copyright (c) 2013 Kalray.eu
* 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:
* Xavier Raynaud <xavier.raynaud@kalray.eu> - initial API and implementation
*******************************************************************************/
package org.eclipse.linuxtools.internal.gcov.preferences;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.linuxtools.internal.gcov.Activator;
/**
* @author Xavier Raynaud <xavier.raynaud@kalray.eu>
*/
public class ColorPreferencesInitializer extends AbstractPreferenceInitializer {
public ColorPreferencesInitializer() {
}
@Override
public void initializeDefaultPreferences() {
IPreferenceStore store = Activator.getDefault().getPreferenceStore();
store.setDefault(ColorPreferencePage.PREFKEY_COV_MAX_COLOR, "0,128,0"); //$NON-NLS-1$
store.setDefault(ColorPreferencePage.PREFKEY_COV_MIN_COLOR, "192,255,192"); //$NON-NLS-1$
store.setDefault(ColorPreferencePage.PREFKEY_COV_0_COLOR, "255,96,96"); //$NON-NLS-1$
store.setDefault(ColorPreferencePage.PREFKEY_COV_USE_COLORS, true);
store.setDefault(ColorPreferencePage.PREFKEY_COV_USE_GRADIENT, true);
}
}