Bug 77738 [IDE] IDE plug-in needs to get off of the core compatibility layer
20041102 The IDE plug-in is still on the compatibility layer. All of the code that needs migrating is in IDEWorkbenchAdvisor
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
windowConfigurer.setData(ACTION_BUILDER, null);
            a.dispose();
        }
    }
    private void refreshFromLocal() {
        String[] commandLineArgs = Platform.getCommandLineArgs();
        IPreferenceStore store = IDEWorkbenchPlugin.getDefault()
                .getPreferenceStore();
        boolean refresh = store
                .getBoolean(IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP);
        if (!refresh)
            return;
        
        for (int i = 0; i < commandLineArgs.length; i++)
            if (commandLineArgs[i].equalsIgnoreCase("-refresh")) 
                return;
        IWorkbenchWindow window = getWorkbenchConfigurer().getWorkbench()
                .getActiveWorkbenchWindow();
        Shell shell = window == null ? null : window.getShell();
        ProgressMonitorDialog dlg = new ProgressMonitorJobsDialog(shell);
        final CoreException ex[] = new CoreException[1];
        try {
            dlg.run(true, true, new IRunnableWithProgress() {
                public void run(IProgressMonitor monitor)
                        throws InvocationTargetException, InterruptedException {
                    try {
                        IContainer root = ResourcesPlugin.getWorkspace()
                                .getRoot();
                        root.refreshLocal(IResource.DEPTH_INFINITE, monitor);
                    } catch (CoreException e) {