[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Getting Absolute Coordinates of a tree item
|
Rectangle rect = tree.getSelection()[0].getBounds();
tree.toDisplay(rect.x,rect.y);
Tom
Harry schrieb:
Hi
I have a tree viewer in my application.Can somebody suggest how to get
the absolute coordinates of the tree item that I clicked on ...
Thanks
Harry
--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl JFace-Committer
--------------------------------------------------------------------