}
StructureView structureView = new StructureViewComponent(fileEditor, viewModel, project, true);
FileStructurePopup popup = createStructureViewPopup(project, fileEditor, structureView);
popup.setTitle(psiFile.getName());
popup.show();
}
@NotNull
private static FileStructurePopup createStructureViewPopup(@NotNull Project project, @NotNull FileEditor fileEditor, @NotNull StructureView structureView) {
return new FileStructurePopup(project, fileEditor, structureView, true);