limit search results OR hide search view toolbar icons dynamically [message #714017] |
Tue, 09 August 2011 11:30  |
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 03:50  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03754 seconds