@Override
    public Object getData(@NotNull String dataId) {
      PackageDependenciesNode node = getSelectedNode();
      if (CommonDataKeys.NAVIGATABLE.is(dataId)) {
        return node;
      }
      if (node != null && PlatformCoreDataKeys.BGT_DATA_PROVIDER.is(dataId)) {
        return (DataProvider)slowDataId -> {
          if (CommonDataKeys.PSI_ELEMENT.is(slowDataId)) {
            final PsiElement element = node.getPsiElement();
            return element != null && element.isValid() ? element : null;
          }
          return null;
        };
      }
      if (PlatformCoreDataKeys.SELECTED_ITEMS.is(dataId)) {
        TreePath[] paths = getSelectionPaths();
        return paths != null ? ContainerUtil.map2Array(paths, p -> p.getLastPathComponent()) : null;
      }
      if (PlatformCoreDataKeys.SELECTED_ITEM.is(dataId)) {
        TreePath path = getSelectionPath();
        return path != null ? path.getLastPathComponent() : null;
      }
      return null;
    }
@Override
    public Object getData(@NotNull String dataId)