Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » [Helios] Dynamic item in pulldown button(How to adddynamic item in a toolbar pulldown button)
[Helios] Dynamic item in pulldown button [message #645948] Tue, 21 December 2010 09:52
FB Mising name is currently offline FB Mising nameFriend
Messages: 8
Registered: October 2010
Junior Member
Hi,

I have a pulldown button type in a toolbar, i have already some static parameter, it works, but i need now to have dynamic parameter, i tried to create a class which implements IParameterValues and change plugin.xml like that :

<command id="CheckReboot.commands.runCommand" name="RunCommand">
<-! ParameterValues2 : classe which implements IParameterValues -->
<commandParameter id="loopnumber" name="loopnumber" optional="true" values="checkturretrcp.ParameterValues2">
</commandParameter>
</command>

and the menu contribution :

<menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions ">
<toolbar id="CheckReboot.toolbars.sampleToolbar">
<command commandId="CheckReboot.commands.runCommand"
icon="icons/24x24/Player Play.png" id="CheckReboot.commands.runCommand" style="pulldown" tooltip="Launch">
</command>
</toolbar>
</menuContribution>

but it doesn't works, is there a bug in my conf or i miss something ?
Thanks in advance.

Francois
Previous Topic:Filter help scope of information center
Next Topic:Key Bindings in Eclipse FormEditor
Goto Forum:
  


Current Time: Tue Apr 23 08:40:44 GMT 2024

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

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

Back to the top