Bug 74468 [Preferences]deprecated preference initialization
IDEWorkbenchPlugIn uses initializeDefaultPreferences to set up its defaults. This was deprecated in 2.0 and is no longer called as we are not on the compatibility layer any more. Here is the code to migrate: store.setDefault(IDEInternalPreferences.SAVE_ALL_BEFORE_BUILD, false); store.setDefault(IDEInternalPreferences.SAVE_INTERVAL, 5); //5 minutes store.setDefault(IDEInternalPreferences.WELCOME_DIALOG, true); store.setDefault(IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP, false); store.setDefault( IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW, true); store.setDefault(IDEInternalPreferences.PROJECT_SWITCH_PERSP_MODE, IDEInternalPreferences.PSPM_PROMPT); store.setDefault(IDE.Preferences.PROJECT_OPEN_NEW_PERSPECTIVE, IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchPlugin.java
import org.eclipse.ui.IWorkbenchPreferenceConstants;
import org.eclipse.ui.ide.IDE;
import org.eclipse.ui.internal.ide.registry.CapabilityRegistry;
import org.eclipse.ui.internal.ide.registry.MarkerImageProviderRegistry;
import org.eclipse.ui.internal.ide.registry.ProjectImageRegistry;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
 * This internal class represents the top of the IDE workbench.
 *
 * This class is responsible for tracking various registries
 * font, preference, graphics, dialog store.
 *
 * This class is explicitly referenced by the 
 * IDE workbench plug-in's  "plugin.xml"
 * 
 * @since 3.0
 */
public class IDEWorkbenchPlugin extends AbstractUIPlugin {
    
    private static IDEWorkbenchPlugin inst;
    
    
    public static boolean DEBUG = false;
    /**
     * The IDE workbench plugin ID.
     */
    public static final String IDE_WORKBENCH = "org.eclipse.ui.ide"; 
    /**
     * The ID of the default text editor.
     * This must correspond to EditorsUI.DEFAULT_TEXT_EDITOR_ID.