1 11 package org.eclipse.ui.externaltools.internal.model; 12 13 import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; 14 import org.eclipse.jface.preference.IPreferenceStore; 15 16 public class ExternalToolsPreferenceInitializer extends AbstractPreferenceInitializer { 17 18 public ExternalToolsPreferenceInitializer() { 19 super(); 20 } 21 22 27 public void initializeDefaultPreferences() { 28 IPreferenceStore prefs = ExternalToolsPlugin.getDefault().getPreferenceStore(); 29 prefs.setDefault(IPreferenceConstants.PROMPT_FOR_TOOL_MIGRATION, true); 30 prefs.setDefault(IPreferenceConstants.PROMPT_FOR_PROJECT_MIGRATION, true); 31 } 32 } 33 | Popular Tags |