Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How To Hide Resources From The Package Explorer After Creating Them
How To Hide Resources From The Package Explorer After Creating Them [message #480282] Fri, 14 August 2009 17:34 Go to next message
Eclipse UserFriend
Originally posted by: runzhou.li.gmail.com

Hi,

I want to hide, for example, a folder named "build" from the Package
Explorer (but still visible in Navigator) after creating this folder. How am
I supposed to do that?

Thank you :)

--
Runzhou Li
Re: How To Hide Resources From The Package Explorer After Creating Them [message #480432 is a reply to message #480282] Mon, 17 August 2009 06:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aurelien.pupier.esial.net

Hi,

you an use filters in Package Explorer View


Aurelien Pupier

Runzhou Li a écrit :
> Hi,
>
> I want to hide, for example, a folder named "build" from the Package
> Explorer (but still visible in Navigator) after creating this folder.
> How am I supposed to do that?
>
> Thank you :)
>
> --
> Runzhou Li
Re: How To Hide Resources From The Package Explorer After Creating Them [message #480579 is a reply to message #480432] Mon, 17 August 2009 17:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: runzhou.li.gmail.com

Thank you Aurelien. Could you kindly provide a simple example?

What I want to achieve is to hide the specific folder that I created for a
special purpose. However when I want to make another folder that serves this
same purpose, I want to unhide this folder and delete it (so if I create
this folder with the same name but without having it serve this special
purpose, it's visible in package explorer)

Thank you :)

"Aurelien Pupier" <aurelien.pupier@esial.net> 写入消息
news:h6au76$mp8$1@build.eclipse.org...
> Hi,
>
> you an use filters in Package Explorer View
>
>
> Aurelien Pupier
>
> Runzhou Li a écrit :
>> Hi,
>>
>> I want to hide, for example, a folder named "build" from the Package
>> Explorer (but still visible in Navigator) after creating this folder.
>> How am I supposed to do that?
>>
>> Thank you :)
>>
>> --
>> Runzhou Li
Re: How To Hide Resources From The Package Explorer After Creating Them [message #480813 is a reply to message #480432] Tue, 18 August 2009 15:01 Go to previous message
Eclipse UserFriend
Originally posted by: runzhou.li.gmail.com

Problem solved.

There is an extension point (javaElementFilter) that can be used to add
specific filter(s) into a target tree viewer (as long as you know the id).

The rest is to implement a filter extending ViewerFilter

"Aurelien Pupier" <aurelien.pupier@esial.net> 写入消息
news:h6au76$mp8$1@build.eclipse.org...
> Hi,
>
> you an use filters in Package Explorer View
>
>
> Aurelien Pupier
>
> Runzhou Li a écrit :
>> Hi,
>>
>> I want to hide, for example, a folder named "build" from the Package
>> Explorer (but still visible in Navigator) after creating this folder.
>> How am I supposed to do that?
>>
>> Thank you :)
>>
>> --
>> Runzhou Li
Previous Topic:Re: Enable propertyPage for UML Model
Next Topic:Possible with commands?
Goto Forum:
  


Current Time: Thu Apr 25 03:51:47 GMT 2024

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

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

Back to the top