For my company I had already developped a very similar plugin. The differences are:
- the image is a static resource (not possible here because it would mean people would have to compile the plugin with their own image).
- the location of the logo was not the same: we chose to add it in the menu section, just under the Sonar logo
Here is a patch that add an option to the plugin in order to specify the location. Currently supported locations are:
- TOP (current behavior)
- MENU (in the menu section)