void (@NotNull ProgressIndicator indicator) { final PackagingNotification[] notifications = NotificationsManager.getNotificationsManager().getNotificationsOfType(PackagingNotification.class, getProject()); for (PackagingNotification notification : notifications) { notification.expire(); } indicator.setText(getTitle() + "..."); if (myListener != null) { ApplicationManager.getApplication().invokeLater(() -> myListener.started()); } }