wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes TableItem in SWT Designer Tutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "TableItem in SWT Designer Tutorial" Watch "TableItem in SWT Designer Tutorial" New topic
Author

TableItem in SWT Designer Tutorial

YumeiWavrek lu
Greenhorn

Joined: Oct 02, 2004
Posts: 10
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

Joined: Sep 24, 2004
Posts: 63
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
Eric,

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

Yumei
 
Don't get me started about those stupid light bulbs.
 
subject: TableItem in SWT Designer Tutorial
 
Similar Threads
Best Practices sanity check
Eclipse 3.5 with cdt
SWT tutorial
about JFaces
Creating my own SWT Widgets?