// can't do much if nothing is selected
DocItem parentItem = item.getParent();
if (parentItem != null) {
TreeViewer tree = getTreeViewer();
tree.setExpandedState(parentItem, true);
tree.refresh(parentItem, false);
expandParentItems(parentItem);
}
}
/**