Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Coolbar layout
Coolbar layout [message #481775] Mon, 24 August 2009 09:30 Go to next message
Sascha Zak is currently offline Sascha ZakFriend
Messages: 11
Registered: July 2009
Junior Member
Hi all!

I'm using a dynamic contribution item in a toolbar as a custom
perspective switcher. Now I would like to position this toolbar
in a new row of the coolbar to get it separated from the other
toolbars. Usually this can be done by dragging it, but I want
it to appear there by default.

Does anyone know if there's a chance to either declarative (I guess not)
or programmatically set the coolbar row to add a toolbar to?

Thanks in advance.

Sascha Zak
Re: Coolbar layout [message #481777 is a reply to message #481775] Mon, 24 August 2009 09:47 Go to previous message
Sascha Zak is currently offline Sascha ZakFriend
Messages: 11
Registered: July 2009
Junior Member
Discovered it myself again :-D

Programmatically I simply had to add a seperator to the coolbar before
adding my "2nd row toolbar". The only thing to consider is to assign an
id to this separator and make sure, that other toolbars are added before
this sepearator in order to appear in the first row of the coolbar.

Greetings,

Sascha Zak


Sascha Zak wrote:
> Hi all!
>
> I'm using a dynamic contribution item in a toolbar as a custom
> perspective switcher. Now I would like to position this toolbar
> in a new row of the coolbar to get it separated from the other
> toolbars. Usually this can be done by dragging it, but I want
> it to appear there by default.
>
> Does anyone know if there's a chance to either declarative (I guess not)
> or programmatically set the coolbar row to add a toolbar to?
>
> Thanks in advance.
>
> Sascha Zak
Previous Topic:Blocking command execution (wainting for results)
Next Topic:Minimize Event on a View
Goto Forum:
  


Current Time: Wed Jan 15 05:54:05 GMT 2025

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

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

Back to the top