ProjectAbstractTreeStructureBase () { return new ProjectTreeStructure(myProject, ID){ @Override protected AbstractTreeNode createRoot(@NotNull final Project project, @NotNull ViewSettings settings) { return new PackageViewProjectNode(project, settings); } @Override public boolean isToBuildChildrenInBackground(@NotNull Object element) { return Registry.is("ide.projectView.PackageViewTreeStructure.BuildChildrenInBackground"); } }; }