* Called when the user clicks on an outline node.
*
* @param target the id of the target node
*/
public void outlineNodeSelected(String target) {
FuzzyXMLNode selectedNode = _idToNodeMap.get(target);
_selection = new StructuredSelection(selectedNode);
SelectionChangedEvent selectionChangedEvent = new SelectionChangedEvent(this, _selection);
for (ISelectionChangedListener listener : _selectionChangedListeners) {
listener.selectionChanged(selectionChangedEvent);
}
_editor.selectAndReveal(selectedNode.getOffset(), selectedNode.getLength());
_editor.getViewer().getTextWidget().setFocus();
}