if (isAutoBuilding)
if (isAutoBuilding) {
	public void run() {		IJavaElement element= getJavaElement(getSelection());		if (element == null) {			beep();			return;		}		SearchUI.activateSearchResultView();		Shell shell= JavaPlugin.getActiveWorkbenchShell();		JavaSearchOperation op= null;		ResourceBundle bundle= JavaPlugin.getResourceBundle();		try {			op= makeOperation(element);		} catch (JavaModelException ex) {			ExceptionHandler.handle(ex, shell, bundle, "Search.Error.search.");			return;		}		IWorkspaceDescription workspaceDesc= JavaPlugin.getWorkspace().getDescription();		boolean isAutoBuilding= workspaceDesc.isAutoBuilding();		if (isAutoBuilding)			// disable auto-build during search operation			workspaceDesc.setAutoBuilding(false);			try {				JavaPlugin.getWorkspace().setDescription(workspaceDesc);			}			catch (CoreException ex) {				ExceptionHandler.handle(ex, shell, bundle, "Search.Error.setDescription.");			}						try {			new ProgressMonitorDialog(shell).run(true, true, op);		} catch (InvocationTargetException ex) {			ExceptionHandler.handle(ex, shell, bundle, "Search.Error.search.");		} catch(InterruptedException e) {		} finally {			if (isAutoBuilding)				// enable auto-building again				workspaceDesc= JavaPlugin.getWorkspace().getDescription();				workspaceDesc.setAutoBuilding(true);				try {					JavaPlugin.getWorkspace().setDescription(workspaceDesc);				}				catch (CoreException ex) {					ExceptionHandler.handle(ex, shell, bundle, "Search.Error.setDescription.");				}						}	}