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
public void partOpened(IWorkbenchPartReference ref) {
                        
                    }
                    public void partHidden(IWorkbenchPartReference ref) {
                        
                    }
                    public void partVisible(IWorkbenchPartReference ref) {
                        
                    }
                    public void partInputChanged(IWorkbenchPartReference ref) {
                        
                    }
                });
    }
    /* (non-Javadoc)
     * @see org.eclipse.ui.application.WorkbenchAdvisor#postWindowRestore
     */
    public void postWindowRestore(IWorkbenchWindowConfigurer windowConfigurer)
            throws WorkbenchException {
        int index = PlatformUI.getWorkbench().getWorkbenchWindowCount() - 1;
        if (index >= 0 && welcomePerspectiveInfos != null
                && index < welcomePerspectiveInfos.size()) {
            
            IWorkbenchPage page = windowConfigurer.getWindow().getActivePage();
            if (page == null) {
                IWorkbenchPage pages[] = windowConfigurer.getWindow()
                        .getPages();
                if (pages != null && pages.length > 0)
                    page = pages[0];
            }