@Override
	public List<String> getValues() {
		String text = textField.getText().trim();
		if (text.contains(",")) {
			List<String> values = new ArrayList<>();
			String[] vals = text.split(FILTER_DELIMETER);
			for (String val : vals) {
				if (val == null || val.isBlank()) {
					continue;
				}
				values.add(val.trim());
			}
			return values;
		}
		return List.of(text);
	}
A BSimValueEditor for filters with arbitrary string values. Supports comma separated values.
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/filters/StringBSimValueEditor.java