Object (@NotNull final String dataId) { if (PlatformDataKeys.COPY_PROVIDER.is(dataId)) { return this; } if (AbstractTestProxy.DATA_KEYS.is(dataId)) { TreePath[] paths = getSelectionPaths(); if (paths != null) { return Arrays.stream(paths) .map(path -> getSelectedTest(path)) .filter(Objects::nonNull) .toArray(AbstractTestProxy[]::new); } } if (MODEL_DATA_KEY.is(dataId)) { return myModel; } TreePath selectionPath = getSelectionPath(); if (selectionPath == null) return null; AbstractTestProxy testProxy = getSelectedTest(selectionPath); if (testProxy == null) return null; if (AbstractTestProxy.DATA_KEY.is(dataId) || CommonDataKeys.NAVIGATABLE.is(dataId)) { return testProxy; } if (PlatformCoreDataKeys.BGT_DATA_PROVIDER.is(dataId)) { TestFrameworkRunningModel model = myModel; return (DataProvider)slowId -> getSlowData(slowId, testProxy, model); } if (RunConfiguration.DATA_KEY.is(dataId)) { RunProfile configuration = myModel.getProperties().getConfiguration(); if (configuration instanceof RunConfiguration) { return configuration; } } return null; }