Re: [SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-21 Thread Vincent Mahe
Ketan Padegaonkar a écrit : On 20-Oct-08, at 11:50 AM, Ketan Padegaonkar wrote: How about: bot.menu("file>new>other").click() instead ? Seems that this statement has caused confusion. What I'd meant was: How about: bot.menu("file>new>other").click() *as well* ? Better :-) -- Co

Re: [SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-20 Thread Ketan Padegaonkar
On 20-Oct-08, at 11:50 AM, Ketan Padegaonkar wrote: > How about: bot.menu("file>new>other").click() instead ? Seems that this statement has caused confusion. What I'd meant was: How about: bot.menu("file>new>other").click() *as well* ? -- Ketan ---

Re: [SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-20 Thread Hans Schwaebli
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 crea

Re: [SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-20 Thread Ketan Padegaonkar
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.

Re: [SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-20 Thread Hans Schwaebli
quot;>" seems to be a very good default character, better than mine. --- On Mon, 10/20/08, Ketan Padegaonkar <[EMAIL PROTECTED]> wrote: From: Ketan Padegaonkar <[EMAIL PROTECTED]> Subject: [SWTBot-users] Thoughts on a new api to access menus/trees To: swtbot-users@lists.so

Re: [SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-20 Thread Stefan Seelmann
Ketan Padegaonkar wrote: > I've always been having thoughts about having a better api to access > menus and trees. This is currently what most people do: > bot.menu("file").menu("new").menu("other").click(); and similar stuff > for trees as well. > > How about: bot.menu("file>new>other").cli

Re: [SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-20 Thread hugulas
Rationatl Function Tester use "file>new>other" style. I don't mind which style. But if the style can be stable enough, it will save the maintain cost. -- Best Regards Simoom Chen 在2008-10-20,"Ketan Padegaonkar" <[EMAIL PROTECTED]> 写道: >I've always been having thoughts about having a bet

Re: [SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-20 Thread Vincent Mahe
Ketan Padegaonkar a écrit : > I've always been having thoughts about having a better api to access > menus and trees. This is currently what most people do: > bot.menu("file").menu("new").menu("other").click(); and similar stuff > for trees as well. > > How about: bot.menu("file>new>other").c

[SWTBot-users] Thoughts on a new api to access menus/trees

2008-10-19 Thread Ketan Padegaonkar
I've always been having thoughts about having a better api to access menus and trees. This is currently what most people do: bot.menu("file").menu("new").menu("other").click(); and similar stuff for trees as well. How about: bot.menu("file>new>other").click() instead ? This api would mean b