Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TableItem in SWT Designer Tutorial

 
YumeiWavrek lu
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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?

here's the tutorial I try to use.

http://www.cs.umanitoba.ca/~eclipse/

12. An Eclipse GUI Builder (Instantiations SWT/Swing Designer) tutorial

thanks,

Yumei
 
Eric Clayberg
author
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
YumeiWavrek lu
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric,

Thank you for your response and I'll try that approach.

Yumei
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic