Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » getting xy co-ordinates of a object in tree.
getting xy co-ordinates of a object in tree. [message #437526] Mon, 07 June 2004 08:33 Go to next message
Eclipse UserFriend
Originally posted by: r.prajit.zensar.com

If i have an object that is represented by a particular node in a tree ,
can I get the xy co-ordinates of that object in the tree?? any suggestions
will be ery useful..
Re: getting xy co-ordinates of a object in tree. [message #437540 is a reply to message #437526] Mon, 07 June 2004 14:18 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
TreeItem.getBounds() should give what you want.

"Prajit Ravindran" <r.prajit@zensar.com> wrote in message
news:ca199a$c8$1@eclipse.org...
> If i have an object that is represented by a particular node in a tree ,
> can I get the xy co-ordinates of that object in the tree?? any suggestions
> will be ery useful..
>
Re: getting xy co-ordinates of a object in tree. [message #437556 is a reply to message #437526] Mon, 07 June 2004 14:40 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Try TreeItem.getBounds().

"Prajit Ravindran" <r.prajit@zensar.com> wrote in message
news:ca199a$c8$1@eclipse.org...
> If i have an object that is represented by a particular node in a tree ,
> can I get the xy co-ordinates of that object in the tree?? any suggestions
> will be ery useful..
>
Previous Topic:How to setBackground() to a push button
Next Topic:Single Selection in CheckboxTableViewer does not work.
Goto Forum:
  


Current Time: Thu Mar 28 19:32:06 GMT 2024

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

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

Back to the top