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/text/JavaOutlineInformationControl.java
/**
		 * Returns the primary type of a compilation unit (has the same
		 * name as the compilation unit).
		 *
		 * @param compilationUnit the compilation unit
		 * @return returns the primary type of the compilation unit, or
		 * <code>null</code> if is does not have one
		 */
		private IType getMainType(ICompilationUnit compilationUnit) {
			if (compilationUnit == null)
				return null;
			return compilationUnit.findPrimaryType();
		}
		/**
		 * Returns the primary type of a class file.
		 *
		 * @param classFile the class file
		 * @return returns the primary type of the class file, or <code>null</code>
		 * if is does not have one
		 */
		private IType getMainType(IClassFile classFile) {
			try {
				IType type= classFile.getType();
				return type != null && type.exists() ? type : null;
			} catch (JavaModelException e) {
				return null;
			}
		}
	}
	private class ShowOnlyMainTypeAction extends Action {