Help reqd. - User Defined SWT - COMBO class & SelectionEvent
posted 9 years ago
I'd appreciate any help and guidance w.r.t. the following.
I have a User Defined COMBO class (SWT) which over-rides the default - addModifyListener(), addSelectionListener() , addKeyListener() and addMouseListener methods. The user defined COMBO class selects the drop-down list item based on user entry ( i.e. displays the first item in the drop-down beginning with the user typed character the first time, on re-type by the user, displays the second entry and so on in a cyclic manner ) OR the user can select an item rightaway from the drop-down list.
The main application does end up displaying the correct entry. However my problem is " how do I notify about the particular event (example - SelectionEvent) to the main application " ?
Thanks in advance, for your kind help and guidance.