void () { Content content = getContentManager().getSelectedContent(); if (content == null) { return; } String id = content.getUserData(ID_KEY); String subId = content.getUserData(SUB_ID_KEY); if (Objects.equals(id, currentViewId) && Objects.equals(subId, currentViewSubId)) { return; } AbstractProjectViewPane newPane = getProjectViewPaneById(id); if (newPane == null) { return; } newPane.setSubId(subId); showPane(newPane); ProjectViewSelectInTarget target = getProjectViewSelectInTarget(newPane); if (target != null) { target.setSubId(subId); } if (isAutoscrollFromSource(id)) { SelectInProjectViewImplKt.getLOG().debug("Invoking scroll from source because the project view has changed panes"); autoScrollFromSourceHandler.scrollFromSource(); } }