Collection<SelectInTarget> (@NotNull SelectInContext context) { List<SelectInTarget> result = new ArrayList<>(); AbstractProjectViewPane pane = ProjectView.getInstance(myProject).getProjectViewPaneById(getMinorViewId()); int index = 0; for (String subId : pane.getSubIds()) { result.add(new ProjectSubViewSelectInTarget(this, subId, index++)); } return result; }