Add extension points to all toolbars
The extension system that was developed some time ago for BASE can be quite powerful. Currently it is however of limited use since we have very few extension points. Eg. the menu, bioassay sets tools, and services. One natural place for extensions are as buttons in the various toolbars that are found on all list and single-item view pages. I think we should define extension points for those toolbars. Some extension points are "generic" and some item-specific. For example:
- net.sf.based.clients.web.toolbars.all.list: Extension point that allows an extension to appear in all list page toolbars.
- net.sf.basedb.clients.web.toobars.sharable.item: Extension point that allows an extension to appear in all shareable single-item toolbars.
- net.sf.basedb.clients.web.toolbars.sample.item: Extension point that allows an extension to appear in the single-item toolbar for samples.
This will be a lot of new extension points! I think it should be possible to re-use the ButtonAction class that is used bioassay set extension point. We only need a new Renderer that displays it as a toolbar button instead of a simple icon. The code change needed on the individual pages should be minimal.