You can retrieve the currently-selected node.
To retrieve the currently selected (highlighted) node in the structure navigator, use the following:
var objSelectedNode = [Tree].getSelectedNode();