public void setSelectionCallback(Consumer<T> consumer) {
		this.selectedConsumer = Dummy.ifNull(consumer);
	}
Sets a consumer to be notified whenever the selected item changes.
@param consumer the consumer to be notified whenever the selected item changes.
Ghidra/Framework/Docking/src/main/java/docking/widgets/searchlist/SearchList.java