Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » eclipse search dialg box
eclipse search dialg box [message #550521] Fri, 30 July 2010 12:17 Go to next message
Bhanu  is currently offline Bhanu
Messages: 15
Registered: August 2009
Junior Member
Hi,

I want to use the eclipse search dialog box in my application..
for that I created one menu and added new command. there I
gave the command id of eclipse search dialog and gave one sample command name. but it is not visible in the menu as menuitem.. what should i do to open this search dialog box?


thanks
Bhanu lakshmi
Re: eclipse search dialg box [message #550712 is a reply to message #550521] Wed, 04 August 2010 04:03 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Bhanu wrote:
> Hi,
>
> I want to use the eclipse search dialog box in my application..
> for that I created one menu and added new command.
You don't need to add a new command since the command is already defined
in 'org.eclipse.search'. That bundle should also automatically add the
menu and toolbar items.

Dani
> there I gave the command id of eclipse search dialog and gave one
> sample command name. but it is not visible in the menu as
> menuitem.. what should i do to open this search dialog box?
>
>
> thanks
> Bhanu lakshmi
Re: eclipse search dialg box [message #550781 is a reply to message #550712] Wed, 04 August 2010 06:45 Go to previous messageGo to next message
Bhanu  is currently offline Bhanu
Messages: 15
Registered: August 2009
Junior Member
The problem is I cannot use eclipse Search menu . The name which we give for the Menu item in our application is different like SearchAll some thing like that.. This is an example. And we dont want to load all eclipse search menu items. for example
we dont want Text,References,Declaration,etc,etc.. So that is the reason we provided the custom menu which will open the specified search dialogs.
Re: eclipse search dialg box [message #550792 is a reply to message #550781] Wed, 04 August 2010 07:22 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Bhanu wrote:
> The problem is I cannot use eclipse Search menu . The name which we
> give for the Menu item in our application is different like
> SearchAll some thing like that.. This is an example. And we dont want
> to load all eclipse search menu items. for example
> we dont want Text,References,Declaration,etc,etc.. So that is the
> reason we provided the custom menu which will open the specified
> search dialogs.
OK, but you can still use the command (ID): simply add an action that
invokes the command with said ID.

Dani
Previous Topic:Setting Bundle-Shape of 3rd-party bundles in plugin-based product
Next Topic:Use of IProgressService causes WARNING java.lang.RuntimeException: WARNING: Prevented recursive atte
Goto Forum:
  


Current Time: Fri Apr 18 19:34:07 EDT 2014

Powered by FUDForum. Page generated in 0.04549 seconds