private void showChooser() {
		Set<String> selected = new HashSet<>(getValues());
		MultiChoiceSelectionDialog<String> dialog =
			new MultiChoiceSelectionDialog<>(dataTitle, choices, selected);
		DockingWindowManager.showDialog(dialog);
		List<String> selectedChoices = dialog.getSelectedChoices();
		if (selectedChoices != null) {
			setValues(selectedChoices);
		}
	}
Base class for BSimValueEditors that work on a list of possible choices
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/filters/MultiChoiceBSimValueEditor.java