Adds the listener to the collection of listeners who will be notified when the user changes the receiver's selection, by sending it one of the messages defined in the SelectionListener interface.
widgetSelected is called when the user changes the combo's list selection. widgetDefaultSelected is typically called when ENTER is pressed the combo's text area.
@param listener the listener which should be notified
@exception IllegalArgumentException
ERROR_NULL_ARGUMENT - if the listener is null
@exception SWTException
ERROR_WIDGET_DISPOSED - if the receiver has been disposed
ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.