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
private static final String STORE_GO_INTO_TOP_LEVEL_TYPE_CHECKED= "GoIntoTopLevelTypeAction.isChecked"; 
		private TreeViewer fOutlineViewer;
		private ShowOnlyMainTypeAction(TreeViewer outlineViewer) {
			super(TextMessages.JavaOutlineInformationControl_GoIntoTopLevelType_label, IAction.AS_CHECK_BOX);
			setToolTipText(TextMessages.JavaOutlineInformationControl_GoIntoTopLevelType_tooltip);
			setDescription(TextMessages.JavaOutlineInformationControl_GoIntoTopLevelType_description);
			JavaPluginImages.setLocalImageDescriptors(this, "gointo_toplevel_type.gif"); 
			PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.GO_INTO_TOP_LEVEL_TYPE_ACTION);
			fOutlineViewer= outlineViewer;
			boolean showclass= getDialogSettings().getBoolean(STORE_GO_INTO_TOP_LEVEL_TYPE_CHECKED);
			setTopLevelTypeOnly(showclass);
		}
		/*
		 * @see org.eclipse.jface.action.Action#run()
		 */
		public void run() {
			setTopLevelTypeOnly(!fShowOnlyMainType);
		}
		private void setTopLevelTypeOnly(boolean show) {
			fShowOnlyMainType= show;
			setChecked(show);
			Tree tree= fOutlineViewer.getTree();
			tree.setRedraw(false);
			fOutlineViewer.refresh(false);
			if (!fShowOnlyMainType)
				fOutlineViewer.expandToLevel(2);
			
			Object selectedElement= getSelectedElement();