void () { final InspectionConfigTreeNode.Tool node = myTreeTable.getStrictlySelectedToolNode(); if (node != null) { getExpandedNodes(myProfile).saveVisibleState(myTreeTable.getTree()); final TreePath path = myTreeTable.getTree().getSelectionPath(); assert path != null; final TreePath newPath = path.getParentPath().pathByAddingChild(node.getPreviousNode()); myTreeTable.removeSelectedPath(path); myTreeTable.addSelectedPath(newPath); restoreTreeState(); } }