Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » create toolbar buttons runtime
create toolbar buttons runtime [message #460585] Fri, 22 December 2006 09:49 Go to next message
Eclipse UserFriend
Originally posted by: ft490.hszk.bme.hu

Hi,

I can easily create toolbar buttons using "the
org.eclipse.ui.actionSets" extension point. But how can I create toolbar
buttons runtime? I want to have configurable buttons, and even the
number of the buttons is not specified.

Thanks,
Thomas
Re: create toolbar buttons runtime [message #460599 is a reply to message #460585] Fri, 22 December 2006 10:31 Go to previous messageGo to next message
Eclipse UserFriend
In 3.2 you can use your ApplicationActionBarAdvisor to add actions
dynamically at runtime.

Is this what you are after?

PW
Re: create toolbar buttons runtime [message #460601 is a reply to message #460599] Fri, 22 December 2006 10:48 Go to previous message
Eclipse UserFriend
Originally posted by: ft490.hszk.bme.hu

Hi,

It seems to me that this class is used to modify the whole appearance,
and I can't register my own ActionBarAdvisor, but I have to create a
whole window, etc. Is it right?

I only want to have custom number of buttons on the toolbar just below
the menubar with slightly different behavior. I don't have my own editor.

Is it possibile to achieve this with ActionBarAdvisor, or is there an
other way?

thanks,
Thomas

Paul Webster wrote:
> In 3.2 you can use your ApplicationActionBarAdvisor to add actions
> dynamically at runtime.
>
> Is this what you are after?
>
> PW
Previous Topic:actions declaratively or programmatically?
Next Topic:summarize toolbar actions
Goto Forum:
  


Current Time: Thu Mar 20 15:11:20 EDT 2025

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

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

Back to the top