void (@NotNull ServiceModel.ServiceViewItem item) { ServiceTreeView.this.select(item.getValue(), item.getRootContributor().getClass()) .onSuccess(result -> AppUIExecutor.onUiThread().expireWith(ServiceTreeView.this).submit(() -> { JComponent component = getUi().getDetailsComponent(); if (component != null) { IdeFocusManager.getInstance(getProject()).requestFocus(component, false); } })); }