Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] cannot create dynamic Status bar controls in eclipse 4.2

Sorry, I should have asked this in the Platform forum.

 

Best regards,
Alain Lee
Texas Instruments Canada Ltd

801 - 150 John Street, Toronto ON Canada  M5V 3E3
Phone: 416-340-2136   Fax: 416-599-7171
mailto:a-lee@xxxxxx

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Lee, Alain
Sent: Thursday, October 18, 2012 4:03 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] cannot create dynamic Status bar controls in eclipse 4.2

 

I need to dynamically create some Status Bar controls. It works fine in Eclipse 3.8 but fails in Eclipse 4.2. 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?

 

 

Best regards,
Alain Lee
Texas Instruments Canada Ltd

801 - 150 John Street, Toronto ON Canada  M5V 3E3
Phone: 416-340-2136   Fax: 416-599-7171
mailto:a-lee@xxxxxx

 


Back to the top