Setdata for CellEditor

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

Setdata for CellEditor

Postby Santhosh » Wed Apr 21, 2010 6:12 am

Is it possible to add the set data method for the cell Editor.I m using a nebula Grid Table Viewer.Each and every cell in that is made CCombo box using cell Editor.It is not able to detect the combo now.Can any one let me know what can be done here to detect the combo


Thanks in Advance!!
Santhosh
Santhosh
 
Posts: 7
Joined: Mon Apr 19, 2010 12:53 am

Re: Setdata for CellEditor

Postby Phil Quitslund » Wed Apr 21, 2010 9:26 am

Do you mean using naming to locate the combo?

http://downloads.instantiations.com/WindowTesterDoc/integration/latest/docs/html/programmer/core/naming_widgets.html

We don't have official support for Nebula widgets but this *should* work... Please let us know!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am

Re: Setdata for CellEditor

Postby Santhosh » Fri Apr 23, 2010 1:13 am

We cant directly Call the setData method on the cell Editor.I found this works well this way
( cellEditor.getControl()).setData(name,value);
Santhosh
 
Posts: 7
Joined: Mon Apr 19, 2010 12:53 am

Re: Setdata for CellEditor

Postby Phil Quitslund » Fri Apr 23, 2010 8:31 am

Good deal. (Of course, you need to safely do this on the UI thread...)
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest