PreferenceInitializer.java
Go to the documentation of this file.00001 package edu.rice.cs.hpc.viewer.util;
00002
00003 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
00004 import org.eclipse.jface.preference.IPreferenceStore;
00005
00006 import edu.rice.cs.hpc.viewer.framework.Activator;
00007
00011 public class PreferenceInitializer extends AbstractPreferenceInitializer {
00012
00013
00014
00015
00016
00017
00018 public void initializeDefaultPreferences() {
00019 IPreferenceStore store = Activator.getDefault().getPreferenceStore();
00020
00021 store.setDefault(PreferenceConstants.P_PATH,"");
00022 store.setDefault(PreferenceConstants.P_THRESHOLD,"0.5");
00023 store.setDefault(PreferenceConstants.P_CALLER_VIEW, true);
00024 }
00025
00026 }