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      * (non-Javadoc)
00015      * 
00016      * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
00017      */
00018     public void initializeDefaultPreferences() {
00019         IPreferenceStore store = Activator.getDefault().getPreferenceStore();
00020         //store.setDefault(PreferenceConstants.P_FONT_VIEW, Utilities.fontMetric.toString());
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 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1