Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » limit search results OR hide search view toolbar icons dynamically
limit search results OR hide search view toolbar icons dynamically [message #714017] Tue, 09 August 2011 15:30 Go to next message
Eclipse User
Originally posted by: M Luchian

<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello, <br>
<br>
I have a custom made IDE that will host a numerous number of files
in a given project (of the order of 30000) and it is possible that
the user will invoke a text search using the integrated search in
the IDE package. <br>
However when there is a large number of matches, pressing the expand
all button in the search results view (tree mode) causes the GUI not
to respond anymore. <br>
<br>
<img src="cid:part1.02040902.08000709@speedware.com" alt=""><br>
<br>
<img src="cid:part2.01060909.04060804@speedware.com" alt=""><br>
<br>
<u>Is there a way to remove the "expand all" action programmatically
and / or the "show as tree" option whenever a search view appears
in the workbench? </u><br>
<br>
I know this is possible for console views as I simplify them with a
console participant (by removing the action contributions in the
init() function of the participant), however there is no such thing
for search views. <br>
<br>
Would some of you have any ideas?<br>
<br>
Best regards, <br>
<br>
Mircea<br>
<br>
<br>
</body>
</html>
Re: limit search results OR hide search view toolbar icons dynamically [message #714270 is a reply to message #714017] Wed, 10 August 2011 07:50 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 09.08.2011 17:30, M Luchian wrote:
> Hello,
>
> I have a custom made IDE that will host a numerous number of files in
> a given project (of the order of 30000) and it is possible that the
> user will invoke a text search using the integrated search in the IDE
> package.
> However when there is a large number of matches, pressing the expand
> all button in the search results view (tree mode) causes the GUI not
> to respond anymore.
>
>
>
>
>
> _Is there a way to remove the "expand all" action programmatically and
> / or the "show as tree" option whenever a search view appears in the
> workbench? _
>
> I know this is possible for console views as I simplify them with a
> console participant (by removing the action contributions in the
> init() function of the participant), however there is no such thing
> for search views.
>
> Would some of you have any ideas?
You could try to hide the 'File Search' and replace it with your own.

Dani
>
> Best regards,
>
> Mircea
>
>
Previous Topic:How do I configure a second window
Next Topic:Purpose of Core Runtime Products Extension
Goto Forum:
  


Current Time: Tue Sep 30 12:01:30 GMT 2014

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

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