Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to create a Tree that has leaf nodes with "SWT.CHECK" style
How to create a Tree that has leaf nodes with "SWT.CHECK" style [message #646487] Sat, 25 December 2010 12:12 Go to next message
Carusyte Missing name is currently offline Carusyte Missing nameFriend
Messages: 27
Registered: July 2009
Junior Member
Sometimes it is desired that only the leaf node (the node that has no child) is displayed and function as having the style "SWT.CHECK" (with a checkbox component to the left of its label). However, the style bit in the Tree constructor argument affects all elements and there seems no way of specifying which elements is to be displayed with a checkbox regarding the API doc. Any help would be appreciated!
Re: How to create a Tree that has leaf nodes with "SWT.CHECK" style [message #646497 is a reply to message #646487] Sat, 25 December 2010 15:27 Go to previous message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
Hi

The SWT table itself cannot do what you want out of the box.

I would look at: org.eclipse.swt.custom.TreeEditor

HTH
Michael
Previous Topic:View activation problem when editor is maximized
Next Topic:Storing the dialog's contents
Goto Forum:
  


Current Time: Wed Apr 24 20:04:43 GMT 2024

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

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

Back to the top