@Override
  public boolean isSubIdSelectable(@NotNull String subId, @NotNull SelectInContext context) {
    if (SelectInProjectViewImplKt.getLOG().isDebugEnabled()) {
      SelectInProjectViewImplKt.getLOG().debug("ScopePaneSelectInTarget.isSubIdSelectable: subId=" + subId + ", context is " + context);
    }
    PsiFileSystemItem file = getContextPsiFile(context);
    if (!(file instanceof PsiFile)) {
      if (SelectInProjectViewImplKt.getLOG().isDebugEnabled()) {
        SelectInProjectViewImplKt.getLOG().debug("Can NOT select " + file + " because it's not a PsiFile");
      }
      return false;
    }
    ScopeViewPane pane = getScopeViewPane();
    NamedScopeFilter filter = pane == null ? null : pane.getFilter(subId);
    if (filter == null) {
      if (SelectInProjectViewImplKt.getLOG().isDebugEnabled()) {
        SelectInProjectViewImplKt.getLOG().debug("Can NOT select " + file + " because filter is null");
      }
      return false;
    }
    boolean accept = filter.accept(file.getVirtualFile());
    if (SelectInProjectViewImplKt.getLOG().isDebugEnabled()) {
      SelectInProjectViewImplKt.getLOG().debug("The filter " + filter + (accept ? "accepts" : "does NOT accept") + " file " + file);
    }
    return accept;
  }
@Override
  public boolean isSubIdSelectable(@NotNull String subId, @NotNull SelectInContext context)