void (WatchNode node) { int index = getIndex(node); if (index < myChildren.size() - 1) { ContainerUtil.swapElements(myChildren, index, index + 1); } fireNodeStructureChanged(); getTree().setSelectionRow(index + 1); }