Testing the Eclipse StatusLineManager
As a unit testing addict, I've recently started to use the wonderful SWTBot framwork, for testing the interface part of Eclipse plugins and applications. When it came to test the text of the StatusLine (e.g., after selecting something on a tree, the status line should show the string for the selected element), I found some problems, not strictly related to SWTBot, but to the fact that the IStatusLineManager interface has a method for setting the text, but none for getting the current text. I found a post which was suggesting a "Nasty" way to access the current text, by relying [...]