Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can i add object to tree?

 
Nitin Kumar Goyal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to add some custom defined object as a tree item(to perform cut, copy , paste). But tree item has only method setText. Is there any other way to do?

Please see attached snapshot.

I am using SWT Tree, TreeItem object.
treeview.JPG
[Thumbnail for treeview.JPG]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic