JavaSearchQuery job= createJob(element); NewSearchUI.activateSearchResultView(); NewSearchUI.runQuery(job);
JavaSearchQuery query= createJob(element); if (query != null) { NewSearchUI.activateSearchResultView(); NewSearchUI.runQuery(query); }
	private void performNewSearch(IJavaElement element) throws JavaModelException {		JavaSearchQuery job= createJob(element);		NewSearchUI.activateSearchResultView();		NewSearchUI.runQuery(job);	}