Bug 25002 [outline view] Add Go Into like functionality
Problem: The java outline view currently shows an outline of the entire CU, though most uses are only interested in the outline of the class itself. Because of the tree nature of the view, a fair amount of screen space is wasted on whitespace in front of the methods. It would be nice to be able to eliminate this whitespace by providing the ability to view only the class portion of the CU, either through a preference, or Go Into functionality like the Package Explorer. The second option would be preferrable, in order to deal with multiple classes/CU.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
}
	/**
	 * Convenience method to add the action installed under the given actionID to the
	 * specified group of the menu.
	 */
	protected void addAction(IMenuManager menu, String group, String actionID) {
		IAction action= getAction(actionID);
		if (action != null) {
			if (action instanceof IUpdate)
				((IUpdate) action).update();
				
			if (action.isEnabled()) {
		 		IMenuManager subMenu= menu.findMenuUsingPath(group);
		 		if (subMenu != null)
		 			subMenu.add(action);
		 		else
		 			menu.appendToGroup(group, action);
			}
		}
	}
	 
	protected void contextMenuAboutToShow(IMenuManager menu) {
		
		JavaPlugin.createStandardGroups(menu);
				
		IStructuredSelection selection= (IStructuredSelection)getSelection();
		fActionGroups.setContext(new ActionContext(selection));
		fActionGroups.fillContextMenu(menu);
	}