Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Dynamic entries not supported in main toolbars?
Dynamic entries not supported in main toolbars? [message #329279] Wed, 18 June 2008 05:47 Go to next message
Eclipse UserFriend
I have added a <dynamic> entry to a main toolbar. The implementing class
gets constructed, but its #getContributionItems() never gets called. Are
dynamic contributions not supported in the main toolbar?

Thanks,
Jasper.
Re: Dynamic entries not supported in main toolbars? [message #329312 is a reply to message #329279] Wed, 18 June 2008 12:33 Go to previous message
Eclipse UserFriend
Jasper wrote:
> I have added a <dynamic> entry to a main toolbar. The implementing class
> gets constructed, but its #getContributionItems() never gets called. Are
> dynamic contributions not supported in the main toolbar?

Dynamic entries are not supported in any of the ToolBars,
CompoundContributionItem only implements fill(Menu).

It's still do-able with your own implementation (and some hackery), but
the flickering could potentially be a problem (changing the main coolbar
can cause a full re-layout, and the same with view toolbars).

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Previous Topic:How to dynamically update the classpath
Next Topic:Creating a custom Dialog Box
Goto Forum:
  


Current Time: Mon Apr 28 09:27:02 EDT 2025

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

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

Back to the top