/******************************************************************************* | |
* Copyright (c) 2012 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 - Initial API and implementation | |
*******************************************************************************/ | |
package org.eclipse.ptp.rdt.ui.preferences; | |
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; | |
import org.eclipse.jface.preference.IPreferenceStore; | |
import org.eclipse.ptp.rdt.ui.UIPlugin; | |
/** | |
* Class used to initialize default preference values. | |
* @since 4.0 | |
*/ | |
public class PreferenceInitializer extends AbstractPreferenceInitializer { | |
public void initializeDefaultPreferences() { | |
IPreferenceStore store = UIPlugin.getDefault().getPreferenceStore(); | |
store.setDefault(PreferenceConstants.INDEXER_ERRORS_DISPLAY_LIMIT, 100); | |
} | |
} |