Hi once again, I think about removing the view menu from all of my views (that are still legacy through compat layer). Can anyone give me a pointer to a simple hack how to get rid of the view menu (I still need the toolbar though).
Paul Webster Messages: 6813 Registered: July 2009 Location: Ottawa
Senior Member
In 4.1 M6 it's the ToolBarManagerRenderer that's actually rendering the
view menu button.
org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRend erer.setupMenuButton(MToolBar,
Composite)
The implication is that if you remove that view menu it should
disappear. We should also be checking the TBR flag (and not create
anything if it is TBR==false)