public void setFilters(List<BSimFilterType> filters) {
		if (filters == null || filters.isEmpty()) {
			filters = List.of(BSimFilterType.BLANK);
		}

		filterComboBox.removeItemListener(comboChangeListener);

		DefaultComboBoxModel<BSimFilterType> model = new DefaultComboBoxModel<>();
		model.addAll(filters);
		filterComboBox.setModel(model);

		if (filterType == null || !filters.contains(filterType)) {
			filterType = filters.get(0);
			createInputField(filterType);
		}
		filterComboBox.setSelectedItem(filterType);

		filterComboBox.addItemListener(comboChangeListener);
	}
Constructs a new filter widget.
@param filterTypes The list of filter types that can be chosen
@param removeConsumer the container to be notified that it should delete this object
@param changeListener listener to be notified when filter value changes
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/search/dialog/FilterWidget.java