Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » No SWTBotTreeItem recursive expand
No SWTBotTreeItem recursive expand [message #479640] Tue, 11 August 2009 20:14 Go to next message
Jay Norwood is currently offline Jay NorwoodFriend
Messages: 154
Registered: July 2009
Senior Member
Currently there is a SWTBotTree expandNode(String,boolean) to do recursive
expand, but there is no SWTBotTreeItem expandNode (String,boolean) to do
the same.

I copied SWTBotTree expandNode(String,boolean) to SWTBotTreeItem, and it
works ok there, so I can now do:


which expands the src subtree recursively;

There are also no analagous expandNode(boolean) operations in either
SWTBotTree or SWTBotTreeItem, which would seem to be required for a more
orthogonal offering of functions. I'm guessing if there were a
expandNode(boolean) in SWTBotTreeItem, that all the other higher level
recursive expands in both SWTBotTree and SWTBotTreeItem could be
reimplemented to let that single function do the work, and would save code
duplication from my proposed solution above.
Re: No SWTBotTreeItem recursive expand [message #480686 is a reply to message #479640] Tue, 18 August 2009 08:37 Go to previous message
Eclipse UserFriend
Originally posted by:

Thanks for reporting this Jay.

This fixed an issue I have combined with the SWTBOTDND, when I move over
treeItems making my unit tests fail.

Thanks again

Previous Topic:Setting values in the Properties View
Next Topic:fix for problem with radio button
Goto Forum:

Current Time: Sun May 27 12:16:42 GMT 2018

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

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

Back to the top