void (@NotNull DefaultTreeModel treeModel, @NotNull List<? extends LocalChangeList> changeLists, @NotNull List<? extends FilePath> unversionedFiles, boolean hasPendingRefresh) { if (myDisposed) return; Span span = TRACER.spanBuilder(ChangesView.ChangesViewRefreshEdt.getName()).startSpan(); try { myModelUpdateInProgress = true; try { updateModel(myView, treeModel); } finally { myModelUpdateInProgress = false; } if (myCommitWorkflowHandler != null && !hasPendingRefresh) { myCommitWorkflowHandler.synchronizeInclusion(changeLists, unversionedFiles); } updatePreview(true); } finally { span.end(); } }