public void updateSavedFilters(ColumnBasedTableFilter<ROW_OBJECT> filter, boolean add) {

		if (add) {
			ArrayList<ColumnBasedTableFilter<ROW_OBJECT>> list = new ArrayList<>();
			list.add(filter);
			list.addAll(savedFilters);
			savedFilters = list;
			if (filter.isEquivalent(currentFilter)) {
				setFilter(filter);
			}
		}
		else {
			savedFilters.remove(filter);
		}

		updateColumnFilterButton();

		filterChangedCallback.call();
	}
A class that manages column filters for a table.  This includes creating the UI elements that 
allow users to build filters, as well as a means to save and restore filters.

@param <ROW_OBJECT> the row type
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/columnfilter/ColumnFilterManager.java