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/AbstractInformationControl.java
/**
	 * The NamePatternFilter selects the elements which
	 * match the given string patterns.
	 *
	 * @since 2.0
	 */
	protected class NamePatternFilter extends ViewerFilter {
		public NamePatternFilter() {
		}
		/* (non-Javadoc)
		 * Method declared on ViewerFilter.
		 */
		public boolean select(Viewer viewer, Object parentElement, Object element) {
			StringMatcher matcher= getMatcher();
			if (matcher == null || !(viewer instanceof TreeViewer))
				return true;
			TreeViewer treeViewer= (TreeViewer) viewer;
			String matchName= ((ILabelProvider) treeViewer.getLabelProvider()).getText(element);
			if (matchName != null && matcher.match(matchName))
				return true;
			return hasUnfilteredChild(treeViewer, element);
		}
		private boolean hasUnfilteredChild(TreeViewer viewer, Object element) {
			if (element instanceof IParent) {
				Object[] children=  ((ITreeContentProvider) viewer.getContentProvider()).getChildren(element);
				for (int i= 0; i < children.length; i++)
					if (select(viewer, element, children[i]))
						return true;
			}