Bug 46946 quick type hiearchy: affordance caption is swapped [type hierarchy]
I20031119 (M5 test pass) 1. Open ContextBasedFormattingStrategy.java (or another type of your liking) 2. Press Ctrl+T to open the type hierarchy 3. Repeatedly pressing Ctrl+T toggles between super- and subtype hierarchy -> The caption of the affordance shown at the bottom needs to be swapped Right now, when displaying the supertype hierarchy, it reads "Press Ctrl+T to display the supertype hierarchy".
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyInformationControl.java
treeViewer.refresh();
		if (fOtherExpandedElements != null) {
			treeViewer.setExpandedElements(fOtherExpandedElements);
		} else {
			treeViewer.expandAll();
		}
		
		fStatusTextLabel.setText(getInfoLabel());
		
		fOtherContentProvider= contentProvider;
		fOtherExpandedElements= expandedElements;
	}
	
	
	private String getHeaderLabel(IJavaElement input) {
		if (input instanceof IMethod) {
			String[] args= { input.getParent().getElementName(), JavaElementLabels.getElementLabel(input, JavaElementLabels.ALL_DEFAULT) };
			return TypeHierarchyMessages.getFormattedString("HierarchyInformationControl.methodhierarchy.label", args); 
		} else {
			String arg= JavaElementLabels.getElementLabel(input, JavaElementLabels.DEFAULT_QUALIFIED);
			return TypeHierarchyMessages.getFormattedString("HierarchyInformationControl.hierarchy.label", arg);	 
		}
	}
	
	private String getInfoLabel() {
		KeySequence[] sequences= getKeySequences();
		String keyName= sequences[0].format();
		
		if (fOtherContentProvider instanceof TraditionalHierarchyContentProvider) {
			return TypeHierarchyMessages.getFormattedString("HierarchyInformationControl.toggle.traditionalhierarchy.label", keyName);