Trevor,
thanks for that link, I was half way through implementing something so it was useful.
So, I've got something together that, at least at a basic level, works. Until the changes to the basic framework mentioned in the link are made though I've had to put some work arounds in, which basically implies any view that needs the functionality will have to extend a specific view implementation.
Anyway, the funtionality I implemented means if you extend a specific view class then it will look in the command definitions for a command group for both a toolbar and a menu bar and, if they exist (using the magic names suggested in the link), will add to the view. In addition, I've given the option to override the magic names with whatever name you'd like and also override the creation of the toolbar and menu bar if you don't want to use the decarative command group mechanism
Is this basically what you had in mind? As I mentioned, I don't have a use for this right now so it's hard to test. Let me know if this fits what you're after and if so I'll commit it. Alternatively, let me know what's missing.
thanks
Jonny

Originally Posted by
tdunn
Hi Jonny
It looks as if some work is being done on this.
http://opensource2.atlassian.com/pro.../browse/RCP-81
Once this happens, I guess you would have to make a call to setToolBarComponent on the DockableFrame in the createDockableFrame method of DockingApplicationPage.
Trevor