crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/ui/preferences/CrashAnalyserPreferenceInitializer.java
changeset 0 5ad7ad99af01
equal deleted inserted replaced
-1:000000000000 0:5ad7ad99af01
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 package com.nokia.s60tools.crashanalyser.ui.preferences;
       
    19 
       
    20 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
       
    21 import org.eclipse.jface.preference.IPreferenceStore;
       
    22 
       
    23 import com.nokia.s60tools.crashanalyser.plugin.*;
       
    24 
       
    25 /**
       
    26  * Class used to initialize default preference values.
       
    27  */
       
    28 public class CrashAnalyserPreferenceInitializer extends AbstractPreferenceInitializer {
       
    29 
       
    30 	/*
       
    31 	 * (non-Javadoc)
       
    32 	 * 
       
    33 	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
       
    34 	 */
       
    35 	public void initializeDefaultPreferences() {
       
    36 		IPreferenceStore store = CrashAnalyserPlugin.getCrashAnalyserPrefsStore();
       
    37 		store.setDefault(CrashAnalyserPreferenceConstants.TRACE_LISTENER, true);
       
    38 		store.setDefault(CrashAnalyserPreferenceConstants.EPOCWIND_LISTENER, false);
       
    39 		store.setDefault(CrashAnalyserPreferenceConstants.SHOW_VISUALIZER, true);
       
    40 	}
       
    41 }
       
    42