Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » limit search results OR hide search view toolbar icons dynamically
limit search results OR hide search view toolbar icons dynamically [message #714013] Tue, 09 August 2011 15:30 Go to next message
Eclipse UserFriend
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 #714269 is a reply to message #714013] Wed, 10 August 2011 07:50 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
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:Identify when Eclipse is closed
Next Topic:JOGL(OPENGL) in eclipse view/editor problem in rcp project
Goto Forum:
  


Current Time: Fri Apr 19 21:41:29 GMT 2024

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

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

Back to the top