void () { if (myTree == null || myTreeStateRestored.getAndSet(true)) return; TreeState treeState = myReadTreeState.get(getSubId()); if (treeState != null && !treeState.isEmpty()) { treeState.applyTo(myTree); } else if (myTree.isSelectionEmpty()) { TreeUtil.promiseSelectFirst(myTree); } }