void () { super.onChangeResolved(); if (!ContainerUtil.exists(getModelChanges(), (c) -> !c.isResolved())) { ApplicationManager.getApplication().invokeLater(() -> { if (isDisposed()) return; JComponent component = getComponent(); int yOffset = new RelativePoint(getResultEditor().getComponent(), new Point(0, JBUIScale.scale(5))).getPoint(component).y; RelativePoint point = new RelativePoint(component, new Point(component.getWidth() / 2, yOffset)); String message = DiffBundle.message("apply.patch.all.changes.processed.message.text"); DiffUtil.showSuccessPopup(message, point, this, () -> { if (isDisposed()) return; myMergeContext.finishMerge(MergeResult.RESOLVED); }); }); } }