Bug 67478 [Workbench] Title does not change when closing projects
A small bug: When I close a project, open editors close, but the main Eclipse title bar do not change the title (and it still show the name of the resource which was edited before). My setup: WinXP SP1, Eclipse 3.0 RC2. Also, some editors (e.g. EclipseUML) do not close at all (but maybe it's their fault).
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchWindowAdvisor.java
}
                });
    }
    /**
     * Updates the window title. Format will be:
     * [pageInput -] [currentPerspective -] [editorInput -] [workspaceLocation -] productName
     */
    private void updateTitle() {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        IWorkbenchWindow window = configurer.getWindow();
        
        String title = null;
        IProduct product = Platform.getProduct();
        if (product != null) {
            title = product.getName();
        }
        if (title == null) {
            title = ""; 
        }
        String workspaceLocation = wbAdvisor.getWorkspaceLocation();
        if (workspaceLocation != null) {
            title = NLS.bind(IDEWorkbenchMessages.WorkbenchWindow_shellTitle, workspaceLocation, title);
        }
        IWorkbenchPage currentPage = window.getActivePage();
        if (currentPage != null) {
            IEditorPart editor = currentPage.getActiveEditor();
            if (editor != null) {
                String editorTitle = editor.getTitle();
                title = NLS.bind(IDEWorkbenchMessages.WorkbenchWindow_shellTitle, editorTitle, title);
            }