void () { MyInspectionTreeNode node = getSelectedNode(); if (node == null && myCurrentDetails != null || node != null && (myCurrentDetails == null || node.getKey() != myCurrentDetails.getKey())) { setDetails(node); } if (myCurrentDetails != null) { myCurrentDetails.update(); } }