I have a Eclipse application dialog which has two radio buttons -- one radio
label is static, the other starts with a static string but then additional
text is appended. At runtime, I don't know what the additional text will be.
For example:
o Choice 1
o Choice 2 (timestamp blahblah)
I know that Choice 2 will always start with "Choice 2" -- so I'd like to be
able to find the control where the name is like Choice 2*.
I have my own finder code which I found in one of the CVS examples which
works for the most part -- however for this dialog when I do:
List<Button> controls = new
ChildrenControlFinder(dialog.widget).findControls(new
ClassMatcher(Button.class));
and then access anything element in controls, I get a *Wrong Thread* for the
button instance.
What must I do to access this control? It does have mnemonic support, but I
can't find a way to send keyboard strokes using SWTEclipseBot.
--
View this message in context:
http://www.nabble.com/Finding-controls--like--tp19891032p19891032.html
Sent from the SWTBot Users List mailing list archive at Nabble.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse