Object (@NotNull @NonNls String dataId) { if (LangDataKeys.POSITION_ADJUSTER_POPUP.is(dataId)) { return PopupUtil.getPopupContainerFor(this); } if (PlatformCoreDataKeys.BGT_DATA_PROVIDER.is(dataId)) { List<Object> selection = Arrays.stream(getSelectedRows()) .mapToObj(o -> getValueAt(o, 0)) .collect(Collectors.toList()); return (DataProvider)slowId -> getSlowData(slowId, selection); } return null; }