The Artima Developer Community
Sponsored Link

Java Buzz Forum
JFace tip: How to add column headers to a TableViewer

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Delap

Posts: 1154
Nickname: scottdelap
Registered: Sep, 2004

Client / Server application developer.
JFace tip: How to add column headers to a TableViewer Posted: Jan 19, 2005 1:05 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Scott Delap.
Original Post: JFace tip: How to add column headers to a TableViewer
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
Latest Java Buzz Posts
Latest Java Buzz Posts by Scott Delap
Latest Posts From ClientJava.com

Advertisement

Related to this post, anyone that feels they know the whole SWT Table, Tableviewer, Label/Content provider architecture backwards and forwards please email me or leave me a comment. I've been working with it for a few weeks now. I can't for the life of me see how anyone cooked this design up and said "this thing is great". I really don't think I'm Swing bias here as far as how the table architecture is constructed. I'd like someone experienced on the other side to debate with. Maybe they can make me see the light.

Eclipse JFace tip: How to add column headers to a TableViewer
So you've created a JFace TableViewer, via:

TableViewer tableViewer = new TableViewer(parent);

The scenario: You have already set up the label provider, the content provider and the (model) input. The label provider, which extends ITableLabelProvider returns values for two columns. The data is showing up nicely, but you don't see any APIs in TableViewer to set column headers.

Read: JFace tip: How to add column headers to a TableViewer

Topic: [Jan 12, 2005 04:12 PST] 6 Links Previous Topic   Next Topic Topic: Eclipse RCP knowledge links summary

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use