/******************************************************************************* * Copyright (c) 2007 Composent, 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: * Composent, Inc. - initial API and implementation * Abner Ballardo <modlost@modlost.net> - bug 192756 ******************************************************************************/ package org.eclipse.ecf.internal.presence.ui.preferences; import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; import org.eclipse.ecf.internal.presence.ui.Activator; import org.eclipse.jface.preference.IPreferenceStore; /** * Class used to initialize default preference values. */ public class PreferenceInitializer extends AbstractPreferenceInitializer { /** * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences() */ public void initializeDefaultPreferences() { IPreferenceStore store = Activator.getDefault().getPreferenceStore(); store.setDefault(PreferenceConstants.CHATROOM_SHOW_USER_PRESENCE, false); store.setDefault(PreferenceConstants.PREFERENCES_SCROLLONINPUT, false); } }