public void setFilterSet(BSimFilterSet filterSet) {
		filterWidgets.removeAll(filterWidgets);
		mainPanel.removeAll();
		List<FilterEntry> filterEntries = filterSet.getFilterEntries();

		for (FilterEntry filterEntry : filterEntries) {
			FilterWidget widget = new FilterWidget(filters, removeMeConsumer, changeListener);
			widget.setFilter(filterEntry.filterType(), filterEntry.values());
			addFilterWidget(widget);
		}
		if (filterWidgets.isEmpty()) {
			addFilterWidget();
		}
	}
Sets the panel to have the given filters
@param filterSet the set of filters to show in the panel
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/search/dialog/BSimFilterPanel.java