Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Pls help! How to add a checkbox on the tableheader?
Pls help! How to add a checkbox on the tableheader? [message #691689] Fri, 01 July 2011 23:47 Go to next message
wmhsss is currently offline wmhsss
Messages: 5
Registered: May 2011
Junior Member
How to add a checkbox on a tableheader? (not table cell)

Does anyone know how to do this?

Thanks in advanced.
(no subject) [message #692315 is a reply to message #691689] Mon, 04 July 2011 02:56 Go to previous messageGo to next message
Eclipse User
Originally posted by:

On 2011-07-02 05:47, forums-noreply@eclipse.org wrote:
> How to add a checkbox on a tableheader? (not table cell)
>
> Does anyone know how to do this?
> Thanks in advanced.

Use the usual recommended way to make a snapshot of the checkbox of your
environment and set this as image to the table header.

Making such a snapshot is described here:

http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet061FakedNativeCellEditor.java?view=markup

HTH & Greetings from Bremen,

Daniel Kr├╝gler
Re: (no subject) [message #692368 is a reply to message #692315] Mon, 04 July 2011 06:03 Go to previous messageGo to next message
wmhsss is currently offline wmhsss
Messages: 5
Registered: May 2011
Junior Member
thanks~~
Re: (no subject) [message #692958 is a reply to message #692368] Tue, 05 July 2011 10:33 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
You may also wish to CC yourself on
https://bugs.eclipse.org=/bugs/show_bug.cgi?id=93129 . If this report
is resolved in a future release then doing this could become more
straight-forward.

Grant


On 7/4/2011 6:03 AM, forums-noreply@eclipse.org wrote:
> thanks~~
Previous Topic:org.eclipse.swt.SWTException: Widget is disposed
Next Topic:Render HTML
Goto Forum:
  


Current Time: Fri Apr 18 14:13:59 EDT 2014

Powered by FUDForum. Page generated in 0.01848 seconds