Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » cannot create dynamic Status bar controls in eclipse 4.2
cannot create dynamic Status bar controls in eclipse 4.2 [message #949217] Thu, 18 October 2012 20:19
Alain Lee is currently offline Alain LeeFriend
Messages: 9
Registered: July 2009
Junior Member
I need to dynamically create some Status Bar controls. It works fine in Eclipse 3.8. In 4.2, the controls do not appear at all. Is this still supported in 4.2?

This is how I defined my tool bar in plugin.xml:

<extension point="org.eclipse.ui.menus">
<menuContribution
locationURI="toolbar:org.eclipse.ui.trim.status">
<toolbar id="my.toolbar.test">
<dynamic
class="my.status.myStatusBar"
id=" my.toolbar.test.items">
</dynamic>
</toolbar>
</menuContribution>
</extension>

where my.status.myStatusBar extends from WorkbenchWindowControlContribution.

This works in 4.2 when I define the toolbar using the <control> tag.

Is this a bug?

Thanks!

Alain Lee
Previous Topic:WorkBenchPage's findView isn't returning the view in Juno(in debug mode)
Next Topic:Can't get SWT CheckBox Button and a Link to share row in GridLayout
Goto Forum:
  


Current Time: Mon Jun 26 02:11:43 GMT 2017

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

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