Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Is it possible to contribute a combo box to the toolbar.
Is it possible to contribute a combo box to the toolbar. [message #139448] Fri, 03 October 2003 13:56 Go to next message
Eclipse UserFriend
Originally posted by: Gyorgy.Balogh.vanderbilt.edu

I would like to contribute a combo box to the toolbar for my editor. Is it
possible?
Thanks
Gyorgy
Re: Is it possible to contribute a combo box to the toolbar. [message #139458 is a reply to message #139448] Fri, 03 October 2003 14:17 Go to previous message
Eclipse UserFriend
GEF does this for its zoom level control. You can look at
org.eclipse.gef.ui.actions.ZoomComboContributionItem. The basic idea is
we subclass ContributionItem and in the method fill(Toolbar parent, int
index) we create a ToolItem on the parent and set its control to be a Combo.

Gyorgy Balogh wrote:
> I would like to contribute a combo box to the toolbar for my editor. Is it
> possible?
> Thanks
> Gyorgy
>
>
Previous Topic:Eclipse Automated Testing Framework
Next Topic:[JFace] StyledText + Undo/Redo support
Goto Forum:
  


Current Time: Tue Jul 15 22:22:00 EDT 2025

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

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

Back to the top