| why ComboViewer starts with blank selection? [message #558054] |
Thu, 09 September 2010 23:16  |
Frank Messages: 23 Registered: July 2010 |
Junior Member |
|
|
I constructed a ComboViewer by giving it both content provider and label provider, it works ok, but it is annoying that the combo viewer always start with a blank selection, even though I declared this:
comboViewer.getCombo().select( 0 );
or this:
comboViewer.setSelection( new StructuredSelection(list[0]) );
How can I avoid that blank selection?
[Updated on: Thu, 09 September 2010 23:18] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05528 seconds