Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSelect Item in Treeviewer with SWTBot
https://www.eclipse.org/forums/index.php/mv/msg/171319/544768/#msg_544768
I am trying to select(highlight, like i clicked the item with the mouse) a TreeViewerItem in an Eclipse RCP application. I do this with the following code:
]]>Bernd van Velsen2010-07-05T13:16:59-00:00Re: Select Item in Treeviewer with SWTBot
https://www.eclipse.org/forums/index.php/mv/msg/171319/545040/#msg_545040
I noticed that there are a SPACE in the String "Parent "
Is really exist this little space?
However, here is a good tip for you:
You can put a breakpoint in your code and Run in Debug mode:
And once stopped at your breakpoint line, you can highlighting all expression and select in you keyboard
CTRL + SHIFT + i
So, you got like this:
This is a very usefull tip!
You can see where and why you are doing wrong.