Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » Remove toolbar from the tab list
icon5.gif  Remove toolbar from the tab list [message #1129294] Tue, 08 October 2013 13:45 Go to next message
Kildary Klein is currently offline Kildary Klein
Messages: 2
Registered: October 2013
Junior Member
Hi everyone,
Does anybody know if there is a way to remove the toolbar from the TabList of a ViewPart?
When I navigate through the controls pressing Tab I do not want that the toolbar gain the focus too.
Re: Remove toolbar from the tab list [message #1129379 is a reply to message #1129294] Tue, 08 October 2013 15:13 Go to previous message
Kildary Klein is currently offline Kildary Klein
Messages: 2
Registered: October 2013
Junior Member
Resolved!
I had to copy the class org.eclipse.ui.internal.presentations.util.TabbedStackPresentation and change the method getTabList, now it returns an empty array.
Then, I added an extension point org.eclipse.ui.presentationFactories, and my presentation factory class returns the instance of my TabbedStackPresentation copy on method createViewPresentation.

[Updated on: Tue, 08 October 2013 17:31]

Report message to a moderator

Previous Topic:Is it possible to save/restore window state by programming in Juno?
Next Topic:How to reuse 3.x command "org.eclipse.ui.file.import" in Application.e4xmi
Goto Forum:
  


Current Time: Tue Oct 21 12:11:35 GMT 2014

Powered by FUDForum. Page generated in 0.01636 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software