Activator.getDefault().getLog().log(e.getStatus());
}
}
private ITreeNode navigateInTree(Tree tree, boolean next, boolean unread) {
ITreeNode resultingNode = null;
/* Selection is Present */
if (tree.getSelectionCount() > 0) {
/* Try navigating from Selection */
ITreeNode startingNode = new WidgetTreeNode(tree.getSelection()[0], fViewer);
resultingNode = navigate(startingNode, next, unread);
if (resultingNode != null)
return resultingNode;
}
/* No Selection is Present */
else {
ITreeNode startingNode = new WidgetTreeNode(tree, fViewer);
resultingNode = navigate(startingNode, next, unread);
if (resultingNode != null)
return resultingNode;
}