| /******************************************************************************* |
| * Copyright (c) 2011, 2013 Formal Mind GmbH and University of Dusseldorf. |
| * 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: |
| * Lukas Ladenberger - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.rmf.reqif10.pror.editor.preferences; |
| |
| import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; |
| import org.eclipse.jface.preference.IPreferenceStore; |
| import org.eclipse.rmf.reqif10.pror.editor.presentation.Reqif10EditorPlugin; |
| |
| /** |
| * @author Lukas Ladenberger |
| * @author Michael Jastram |
| */ |
| public class PreferenceInitializer extends AbstractPreferenceInitializer { |
| |
| /* |
| * (non-Javadoc) |
| * |
| * @seeorg.eclipse.core.runtime.preferences.AbstractPreferenceInitializer# |
| * initializeDefaultPreferences() |
| */ |
| public void initializeDefaultPreferences() { |
| IPreferenceStore store = Reqif10EditorPlugin.getPlugin().getPreferenceStore(); |
| store.setDefault(PreferenceConstants.P_STOP_IS_SIMPLIFIED_WARNING, false); |
| } |
| |
| } |