AbstractProjectViewPane (final boolean sortByType) { myStructure.setProviders(new ResourceBundleGrouper(getProject())); final AbstractProjectViewPane pane = myStructure.createPane(); pane.installComparator(new GroupByTypeComparator(sortByType)); PropertiesReferenceManager.getInstance(getProject()).processAllPropertiesFiles((baseName, propertiesFile) -> { pane.select(propertiesFile, propertiesFile.getVirtualFile(), sortByType); return true; }); PlatformTestUtil.waitWhileBusy(pane.getTree()); PlatformTestUtil.expandAll(pane.getTree()); return pane; }