Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Adding a search box to main toolbar ?
Adding a search box to main toolbar ? [message #515892] Mon, 22 February 2010 02:02 Go to next message
Neha is currently offline NehaFriend
Messages: 52
Registered: July 2009
Member
Hi,
In my application I want to have a search box in the main toolbar. I also
need a combo box added for user to specify the type of search. Is there a
way to do so ?
If yes how do I do it using pluggin. And how can I access the value returned
by the above input field. Please do let me know if anybody have any idea on
this.

Thanks in Advance!
Neha.
Re: Adding a search box to main toolbar ? [message #515901 is a reply to message #515892] Mon, 22 February 2010 07:54 Go to previous messageGo to next message
Sandip Chitale is currently offline Sandip ChitaleFriend
Messages: 27
Registered: July 2009
Location: California, USA
Junior Member
Look at:

http://help.eclipse.org/galileo/topic/org.eclipse.platform.d oc.isv/reference/extension-points/org_eclipse_ui_menus.html

Especially: menuContribution's control contribution.
Re: Adding a search box to main toolbar ? [message #515918 is a reply to message #515892] Mon, 22 February 2010 08:55 Go to previous message
Piotr Maj is currently offline Piotr MajFriend
Messages: 19
Registered: July 2009
Location: Warsaw, Poland
Junior Member

On 2010-02-22, Neha <nehapardeshi05@gmail.com> wrote:
> In my application I want to have a search box in the main toolbar. I also
> need a combo box added for user to specify the type of search. Is there a
> way to do so ?
> If yes how do I do it using pluggin. And how can I access the value returned
> by the above input field. Please do let me know if anybody have any idea on
> this.

My approach is a little bit low-level, but it gives you full control
over window layout in your RCP application. See the screencast:

http://blog.jcake.com/2010/01/17/creating-custom-eclipse-rcp -window-layout/

An easier approach is to place you widgets using org.eclipse.ui.menus
extension point but you will have to stick to standard layout.

--
piotr maj
jcake software
Previous Topic:selection stores the last element when an exception occurs
Next Topic:project setup and layout questions
Goto Forum:
  


Current Time: Thu Apr 25 17:19:43 GMT 2024

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

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

Back to the top