Object (@NotNull @NonNls String dataId) { if (PlatformCoreDataKeys.BGT_DATA_PROVIDER.is(dataId)) { @NotNull List<MavenSimpleNode> selectedNodes = MavenProjectsStructure.getSelectedNodes(myTree, MavenSimpleNode.class); return (DataProvider)slowId -> getSlowData(slowId, selectedNodes); } if (PlatformCoreDataKeys.HELP_ID.is(dataId)) return "reference.toolWindows.mavenProjects"; if (CommonDataKeys.PROJECT.is(dataId)) return myProject; if (MavenDataKeys.MAVEN_PROJECTS_TREE.is(dataId)) { return myTree; } return super.getData(dataId); }