@Override
	protected void setTextFromSelectedListItemAndKeepMatchingWindowOpen() {
		List<T> selectedItems = list.getSelectedValuesList();
		if (selectedItems != null && !selectedItems.isEmpty()) {
			internallyDrivenUpdate = true;
			storeSelectedValues(selectedItems);
			String allValues = getSelectedText();
			setTextWithoutClosingCompletionWindow(allValues);
			fireUserChoiceMade(selectedItems);
		}
	}
Returns a list of all selected items in the list.

@return the selected items
Ghidra/Framework/Docking/src/main/java/docking/widgets/DropDownMultiSelectionTextField.java