void (Object proxy, Runnable onDone) { if (!(proxy instanceof AbstractTestProxy)) return; mySelectionAlarm.cancelAllRequests(); mySelectionAlarm.addRequest(() -> getTreeModel().select(proxy, getTree(), path -> { if (onDone != null) onDone.run(); }), 50); }