| 
| How to show an Eclipse view that hasn't been shown previously? [message #13062] | Fri, 09 January 2009 15:37  |  | 
| Eclipse User  |  |  |  |  | Hello, 
 I am creating a test where I want to manipulate Eclipse's Breakpoints
 view. I discovered that there is a problem getting the view using
 SWTEclipseBot if the view hasn't previously been shown. It appears to be
 due to SWTBotView needing to locate any widget in the view. Since the
 view hasn't been shown, no widgets have been created on it yet.
 
 example:
 bot.view("Breakpoints");
 
 This fails if the view hasn't been shown/activated in Eclipse
 previously. If I manually show the view before the line of code above is
 executed there isn't any problem.
 
 What is the correct way to do this without manual intervention?
 
 Thanks,
 Joe
 |  |  |  | 
|  | 
|  | 
Powered by 
FUDForum. Page generated in 0.03586 seconds