void (@NotNull ToolWindow toolWindow) { Collection<ServiceViewContributor<?>> contributors = myGroups.get(toolWindow.getId()); if (contributors != null) { for (ServiceViewContributor<?> contributor : contributors) { if (myNotInitializedContributors.remove(contributor)) { ServiceEvent e = ServiceEvent.createResetEvent(contributor.getClass()); myModel.handle(e); } } } if (myNotInitializedContributors.isEmpty()) { Disposer.dispose(disposable); } }