I want to add a combo box to the toolbar (coolbar) of eclipse using Eclipse Plug-in development API (not an RCP application). This combo box items should be dynamically added/removed.
I know that in RCP applications it is possible by following the link : http://www.thedeveloperspoint.com/?p=140
but I am looking at Eclipse plugin API.
Any help would be greatly appreciated.
Thanks
Syam
This can be done by using 2 steps.
STEP 1: By using extension point mechanism create/add toolbar to the global toolbar (using locationURI as “toolbar:org.eclipse.ui.main.toolbar”)
STEP 2: Implement the ComboToolbarContribution as follows.
With the above 2 steps a combo box will be added to the global toolbar and user need to provide the global access to the combo box.