01: package net.refractions.udig.catalog.internal;
02:
03: import net.refractions.udig.catalog.CatalogPlugin;
04:
05: import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
06: import org.eclipse.jface.preference.IPreferenceStore;
07:
08: /**
09: * Class used to initialize default preference values.
10: */
11: public class PreferenceInitializer extends
12: AbstractPreferenceInitializer {
13:
14: /*
15: * (non-Javadoc)
16: *
17: * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
18: */
19: public void initializeDefaultPreferences() {
20: IPreferenceStore store = CatalogPlugin.getDefault()
21: .getPreferenceStore();
22: store.setDefault(PreferenceConstants.P_TEMP_FT, false);
23: }
24:
25: }
|