Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Adding lable to swt table header
Adding lable to swt table header [message #1775803] Mon, 06 November 2017 16:08 Go to next message
Lakshan Jayakody is currently offline Lakshan JayakodyFriend
Messages: 8
Registered: January 2017
Junior Member
How to add lables to jFace table column headers?
Re: Adding lable to swt table header [message #1776083 is a reply to message #1775803] Fri, 10 November 2017 14:39 Go to previous message
Eclipse UserFriend
Do you mean text above the columns? That's done by asking the table to show its header with `Table.setHeaderVisible(true)`. See the following snippet for an example:

http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet007FullSelection.java#n73

The JFace Snippets and SWT Snippets are very good sources of information.
Previous Topic:mouseDown event is anyhow blocked
Next Topic:Best way to call new API method Image#getImageData(int zoom) ?
Goto Forum:
  


Current Time: Thu Mar 28 13:10:58 GMT 2024

Powered by FUDForum. Page generated in 0.03606 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top