Bug 49041 Search context menu not available [search]
In 12162000 the search menu entry seems to be gone from everywhere. I can't search for implementors, declarations, ... in my Java code. This is a mainline workflow. The menu bar entry doesn't cut it as it involves too much context shift.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/JavaSearchActionGroup.java
*/
	public void fillContextMenu(IMenuManager menu) {
		super.fillContextMenu(menu);
		
		if(PreferenceConstants.getPreferenceStore().getBoolean(WorkInProgressPreferencePage.PREF_SEARCH_MENU)) {
			fReferencesGroup.fillContextMenu(menu);
		} else {
			IMenuManager target= menu;
			IMenuManager searchSubMenu= null;
			if (fEditor != null) {
				String groupName= SearchMessages.getString("group.search"); 
				searchSubMenu= new MenuManager(groupName, ITextEditorActionConstants.GROUP_FIND);
				searchSubMenu.add(new GroupMarker(ITextEditorActionConstants.GROUP_FIND));
				target= searchSubMenu;
			}
			
			fReferencesGroup.fillContextMenu(target);
			fDeclarationsGroup.fillContextMenu(target);
			fImplementorsGroup.fillContextMenu(target);
			fReadAccessGroup.fillContextMenu(target);
			fWriteAccessGroup.fillContextMenu(target);
			
			if (searchSubMenu != null) {
				searchSubMenu.add(new Separator());
				addAction(target, fOccurrencesInFileAction);
			} else {
				addAction(target, IContextMenuConstants.GROUP_SEARCH, fOccurrencesInFileAction);
			}