Skip to main content



      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 07:12 Go to next message
Eclipse UserFriend
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 10:27 Go to previous message
Eclipse UserFriend
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: Sat Jul 26 02:06:56 EDT 2025

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

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

Back to the top