Bug 31202 occurrences in file: shoul beep at me if cannot find anything
20030206 i should be beeped at if nothing is found (an invalid expression selected or sth) i never look at the status line status line message + beep = the way to go
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java
return null;
	}
	
	/* (non-JavaDoc)
	 * Method declared in SelectionDispatchAction.
	 */
	protected void run(IStructuredSelection selection) {
		IMember member= getMember(selection);
		FindOccurrencesEngine engine= FindOccurrencesEngine.create(member);
		try {
			ISourceRange range= member.getNameRange();
			String result= engine.run(range.getOffset(), range.getLength());
			if (result != null)
				showMessage(fActionBars, result);
		} catch (JavaModelException e) {
			JavaPlugin.log(e);
		}
	}
	
	private static void showMessage(IActionBars actionBars, String msg) {
		IStatusLineManager statusLine= actionBars.getStatusLineManager();
		if (statusLine != null)
			statusLine.setMessage(msg);	
	}
	
	
	
	/* (non-JavaDoc)
	 * Method declared in SelectionDispatchAction.
	 */