1 11 package org.eclipse.compare.internal; 12 13 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 14 import org.eclipse.jface.preference.IPreferenceStore; 15 16 public class ComparePreferenceInitializer extends AbstractPreferenceInitializer { 17 18 public ComparePreferenceInitializer() { 19 } 21 22 public void initializeDefaultPreferences() { 23 IPreferenceStore store = CompareUIPlugin.getDefault().getPreferenceStore(); 24 store.setDefault(ICompareUIConstants.PREF_NAVIGATION_END_ACTION, ICompareUIConstants.PREF_VALUE_PROMPT); 25 store.setDefault(ICompareUIConstants.PREF_NAVIGATION_END_ACTION_LOCAL, ICompareUIConstants.PREF_VALUE_LOOP); 26 ComparePreferencePage.initDefaults(store); 27 } 28 29 } 30 | Popular Tags |