Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse 4 RCP Part toolbar location(Eclipse 4 toolbar location)
Eclipse 4 RCP Part toolbar location [message #1779433] Sun, 07 January 2018 19:35 Go to next message
Ciaran Gray is currently offline Ciaran GrayFriend
Messages: 1
Registered: January 2018
Junior Member
Hi guys,

In the process of converting an eclipse 3 application to a pure e4 one. In the old eclipse application we would programmatically add items to the views' toolbar by doing:

IActionBars actionBars = getViewSite().getActionBars();
IToolBarManager toolBar = actionBars.getToolBarManager();

This would add toolbar items next to the minimise and maximise buttons.

However if I use the application model and give a part a toolbar and a handled toolitem, it does not get displayed next to the minimise and maximise buttons. Instead it creates a strip across the top of the view, below the minimise and maximise buttons.

How do I go about placing the the tool bar items next to the minimise and maximise buttons? Within the eclipse IDE they are still doing this on many views, such as the code outline view and package explorer view.

Many Thanks
Re: Eclipse 4 RCP Part toolbar location [message #1780276 is a reply to message #1779433] Fri, 19 January 2018 14:50 Go to previous message
Wernke zur Borg is currently offline Wernke zur BorgFriend
Messages: 23
Registered: December 2011
Junior Member
This is normal when it does not have enough space to display the toolbar. If you expand the part and give the toolbar more space, it should move to the top row.

If this does not help, can you post a screenshot?

Cheers, Wernke
Previous Topic:Product Definition Dialog's hover scrolling
Next Topic:E3 to E4 Migration - e4view with toolbar
Goto Forum:

Current Time: Fri Mar 23 01:40:08 GMT 2018

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

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