final void initFilter(FilterAction filter, List<? extends PsiElement> nodes, boolean completePattern, boolean target) {
    if (filter.checkApplicable(nodes, completePattern, target)) {
      if (filter.isActive() && !myTableModel.getItems().contains(filter)) {
        if (myTableModel.getRowCount() == 0) {
          myTableModel.addRow(myHeader);
        }
        myTableModel.addRow(filter);
      }
    }
    else if (filter.hasFilter()) {
      filter.clearFilter();
      myConstraintChangedCallback.run();
    }
  }
final void initFilter(FilterAction filter, List<? extends PsiElement> nodes, boolean completePattern, boolean target)