I try to follow the Eclipse's SWT Designer building ClientBilling application. However, after create a table, tablecolumn, I found there are no tableItem available under SWT controls.
12. An Eclipse GUI Builder (Instantiations SWT/Swing Designer) tutorial
thanks,
Yumei
Eric Clayberg
author
Ranch Hand
Joined: Sep 24, 2004
Posts: 63
posted
0
Originally posted by YumeiWavrek lu: I try to follow the Eclipse's SWT Designer building ClientBilling application. However, after create a table, tablecolumn, I found there are no tableItem available under SWT controls. Does anybody run same problem?
TableItems were purposefully excluded from the palette because you need to programatically add them to a table based upon your domain model. Having them statically available on the palette would encourge incorrect usage. Rather than using a simple Table with TableItems, I would suggest using a TableViewer with a ContentProvider.
Eric Clayberg
Software Engineering Manager
Google
YumeiWavrek lu
Greenhorn
Joined: Oct 02, 2004
Posts: 10
posted
0
Eric,
Thank you for your response and I'll try that approach.