Bug 43294 Primary working copy: No updates when changed in working copy mode
20030918 see test cases TypeHierarchyTest.testHierarchyWithWorkingCopy1, TypeHierarchyTest.testHierarchyWithWorkingCopy2, TypeHierarchyTest.testHierarchyWithWorkingCopy3 A hierarchy is created on a type that is then opened in an editor. The super type is modified, the editor saved: The type hierarchy does not send a 'typeHierarchyChanged' notification. If I understood correctly, the 'typeHierarchyChanged' is supposed to notify only on save, not while editing the working copy. Crrently it doesn't notify at all.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TypeHierarchyTest.java
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.ui.tests.core;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.ITypeHierarchy;
import org.eclipse.jdt.testplugin.JavaProjectHelper;
public class TypeHierarchyTest extends TestCase {