code: protected void synchronizeOutlinePage(INode element,
  			boolean checkIfOutlinePageActive) {
  		if (fOutlinePage != null && element != null
  				&& !(checkIfOutlinePageActive)) {// && isJavaOutlinePageActive()
  
  			// if added for bug #185, it prevents the outline from being update
  			// if the selection from the searcher determine that the node is the
  			// same.
  			if (fOutlinePage.getSelection() != null
  					&& fOutlinePage.getSelection() instanceof IStructuredSelection
  					&& element == ((IStructuredSelection) fOutlinePage
  							.getSelection()).getFirstElement()) {
  				// skip
  			} else {
  				fOutlinePage.selectNode(element);
  			}
  		}
  	}
docs: Synchronizes the outliner selection with the given element position in
  the editor.
  
  @param element
  the java element to select
  @param checkIfOutlinePageActive
  <code>true</code> if check for active outline page needs to be
  done