Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check if the SWT combo is currently opened?

Tags:

java

swt

I have an SWT combo box in my GUI. Is it possible to check if the combo box has been opened? (I've a mechanism which refreshes the state shown in the combo box, when a user opens it sometimes it jumps between user selection and that what the algorithm thinks is fine, the user selection has a priority over everything else).

like image 412
Krokodylowy Avatar asked Oct 22 '22 18:10

Krokodylowy


1 Answers

Combo SWT component have method getListVisible() which returns flag if combo dropdown list part is visible or not.. see documentation for combo for details.

like image 67
Sorceror Avatar answered Oct 27 '22 11:10

Sorceror