Bug 51453 Find Occurrences in File: Can't jump to location in class file
I20040209-1020: - select a java field in the java editor - Search > Occurrences in File - (Old) Search view appears with correct results - Doubleclicking a result or choosing 'Open File' from the context menu doesn't work.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindOccurrencesEngine.java
view.addMatch("", getGroupByKey(marker), file, marker); 
	}
	
	private void searchFinished(final ISearchResultView view) {
		if (view != null) 
			view.searchFinished();
	}
	private Object getGroupByKey(IMarker marker) {
		try {
			return marker.getAttribute(IMarker.LINE_NUMBER);
		} catch (CoreException e) {
		}
		return marker;
	}
	
	private void run(final IWorkspaceRunnable runnable) {
		BusyIndicator.showWhile(null,
			new Runnable() {
				public void run() {
					try {
						JavaCore.run(runnable, null);
					} catch (CoreException e) {
						JavaPlugin.log(e);
					}
				}
			}
		);
	}
}