Bug 40830 hierarchy view not up to date after rename [type hierarchy]
If you use the standard java perspective layout and have the following file --------------------------------A.java------------------------ public class A { } class B extends A { } -------------------------------------------------------------- double click on the first 'A' and press F4 (hierarchy view) then click on the package explorer (so as to hide the hierarchy view). then rename the class A to class C (using refactoring) double click on the new class name and click F4 the hierarchy still displays with 'A' at the root and not the new name ('C')
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
private static final String TAG_ORIENTATION= "orientation"; 
	private static final String TAG_RATIO= "ratio"; 
	private static final String TAG_SELECTION= "selection"; 
	private static final String TAG_VERTICAL_SCROLL= "vertical_scroll"; 
	
	private static final String GROUP_FOCUS= "group.focus"; 
	
	
	private IType fSelectedType;
	
	private IJavaElement fInputElement;
	
	
	private ArrayList fInputHistory;
	
	private IMemento fMemento;
	private IDialogSettings fDialogSettings;
	
	private TypeHierarchyLifeCycle fHierarchyLifeCycle;
	private ITypeHierarchyLifeCycleListener fTypeHierarchyLifeCycleListener;
	
	private IPropertyChangeListener fPropertyChangeListener;
		
	private SelectionProviderMediator fSelectionProviderMediator;
	private ISelectionChangedListener fSelectionChangedListener;
	private IPartListener2 fPartListener;
	private int fCurrentOrientation;
	private boolean fLinkingEnabled;
	
	private boolean fIsVisible;