I think Abbot SWT uses the class ItemPath for this:

https://abbot.svn.sourceforge.net/svnroot/abbot/abbot.swt/trunk/abbot.swt/src/abbot/swt/tester/ItemPath.java


--- On Mon, 10/20/08, Ketan Padegaonkar <[EMAIL PROTECTED]> wrote:
From: Ketan Padegaonkar <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Thoughts on a new api to access menus/trees
To: swtbot-users@lists.sourceforge.net
Date: Monday, October 20, 2008, 6:20 AM

On 20-Oct-08, at 12:34 PM, Stefan Seelmann wrote:

> I you change to Java 5 for SWTBot 2.0, why not using Java 5 varargs?  
> In
> my project I created a utils method to select items in a tree:
>
>  public static SWTBotTreeItem select(final SWTEclipseBot bot, final
> SWTBotTree tree, final String... path)
>
> Then I could just call
>  SWTBotUtils.select(bot, tree, "Root", "One",
"Two", "Three");


That sounds nice as well.

I wonder what other utils people are using with SWTBot for providing  
syntactic sugar and for getting around the clunky API.

-- Ketan


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to