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 09: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 11: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 13: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: Sun Apr 20 12:39:16 EDT 2014

Powered by FUDForum. Page generated in 0.03818 seconds