*
* @return the breadcrumbs (descending list of parent to children) for this node
*/
public List<JONTreeNode> getBreadCrumbs()
{
JONTreeNode selectedNode = getSelectedNode();
// add the current node
List<JONTreeNode> breadcrumbs = new ArrayList();
breadcrumbs.add(selectedNode);
JONTreeNode parent = selectedNode.getParent();
while (parent != null)
{
// make sure the most recently added parent ends up at the front of this list
breadcrumbs.add(0, parent);
parent = parent.getParent();
}
// remove the first breadcrumb node, if its the dummy tree node (which it should be
if (breadcrumbs.get(0) instanceof DummyTreeNode)
{