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