void (boolean isUpdating) { myUpdating = isUpdating; if (!isUpdating) { myLoadingProgressPreviewAlarm.cancelAllRequests(); myLoadingProgressPreviewAlarm.addRequest(() -> { if (myLoadingProgressPreview != null) { myLoadingProgressPreview.treeLoaded(); } }, 200); } EdtInvocationManager.getInstance().invokeLater(() -> myTree.setPaintBusy(myUpdating)); }