public List<T> getSelectedData() {
			List<T> selected = new ArrayList<>();
			for (ChoiceRowObject row : rows) {
				if (row.isSelected()) {
					selected.add(row.getData());
				}
			}
			return selected;
		}
Dialog for selection one or more choices from a list of possible values.

@param <T> the type of choices
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/filters/MultiChoiceSelectionDialog.java