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
*/
    private boolean editorsAndIntrosOpened = false;
    /**
     * Creates a new workbench advisor instance.
     */
    protected IDEWorkbenchAdvisor() {
        super();
        if (workbenchAdvisor != null) {
            throw new IllegalStateException();
        }
        workbenchAdvisor = this;
    }
    /* (non-Javadoc)
     * @see org.eclipse.ui.application.WorkbenchAdvisor#initialize
     */
    public void initialize(IWorkbenchConfigurer configurer) {
        
        configurer.setSaveAndRestore(true);
        
        exceptionHandler = new IDEExceptionHandler(configurer);
        
        WorkbenchAdapterBuilder.registerAdapters();
        
        String[] cmdLineArgs = Platform.getCommandLineArgs();
         
        
        for (int i = 0; i < cmdLineArgs.length; i++) {
            if ("-showlocation".equalsIgnoreCase(cmdLineArgs[i])) { 
                workspaceLocation = Platform.getLocation().toOSString();
                break;