Bug 126044 [Contexts] Latest key binding changes break Quick view key bindings
I20060131-1200 Latest changes in the key binding / context architecture have broken the key binding support in the JDT Quick views: up to I20060125-0800 and earlier it was possible to open the Quick view's view menu using Ctrl+F10 (command 'org.eclipse.ui.window.showViewMenu'). It looks like the deprecated code in org.eclipse.jdt.internal.ui.text.AbstractInformationControl is no longer working. I think before we try to migrate to the new code we should ensure that the deprecated code works again.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyInformationControl.java
if (type.equals(fFocus.getDeclaringType())) {
			return true;
		}
		
		try {
			IMethod method= findMethod(fFocus, type);
			if (method != null) {
				
				IPackageFragment pack= (IPackageFragment) fFocus.getAncestor(IJavaElement.PACKAGE_FRAGMENT);
				if (JavaModelUtil.isVisibleInHierarchy(method, pack)) {
					return true;
				}
			}
		} catch (JavaModelException e) {
			
			JavaPlugin.log(e);
		}
		return false;			
		
	}
	
	private IMethod findMethod(IMethod filterMethod, IType typeToFindIn) throws JavaModelException {
		IType filterType= filterMethod.getDeclaringType();
		ITypeHierarchy hierarchy= fLifeCycle.getHierarchy();
		
		boolean filterOverrides= JavaModelUtil.isSuperType(hierarchy, typeToFindIn, filterType);
		IType focusType= filterOverrides ? filterType : typeToFindIn;
		
		if (fMethodOverrideTester == null || !fMethodOverrideTester.getFocusType().equals(focusType)) {
			fMethodOverrideTester= new MethodOverrideTester(focusType, hierarchy);