blob: 5ca20777b44ea868bc7ce39f3d9dfbed09002378 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2010 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.actf.ai.scripteditor.preferences;
import org.eclipse.actf.examples.scripteditor.Activator;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;
public class CapturePreferenceInitializer extends AbstractPreferenceInitializer {
public void initializeDefaultPreferences() {
IPreferenceStore store = Activator.getDefault().getPreferenceStore();
// Initialize values
store.setDefault(CapturePreferenceConstants.SAMPRATE_GROUP_NAME, CapturePreferenceConstants.SAMPRATE_NOM);
store.setDefault(CapturePreferenceConstants.GAIN_VOLLVL_NAME, CapturePreferenceConstants.GAIN_DEF);
}
}