Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Inverse resource filters?
Inverse resource filters? [message #330323] Fri, 25 July 2008 10:56 Go to next message
Eclipse UserFriend
Originally posted by: keirlawson.gmail.com

Hi,

I was wondering if there was a way to filter all content of the project
explorer EXCEPT certain file type, its not immediately obvious to me how
to do this...

Cheers

Keir
Re: Inverse resource filters? [message #330368 is a reply to message #330323] Sun, 27 July 2008 03:24 Go to previous message
Shawn Spiars is currently offline Shawn SpiarsFriend
Messages: 16
Registered: July 2009
Junior Member
Keir,

Try using this extension in your plugin.xml and change the pattern to
fit your needs.

<extension point="org.eclipse.ui.ide.resourceFilters">
<filter pattern=".project" selected="true"/>
</extension>

Or you could probably accomplish this by creating a class that extends
ViewFilter and associating your class with the project explorer.

Shawn Spiars
Phurnace Software


Keir Lawson wrote:
> Hi,
>
> I was wondering if there was a way to filter all content of the project
> explorer EXCEPT certain file type, its not immediately obvious to me how
> to do this...
>
> Cheers
>
> Keir
>
Previous Topic:Relative path for linked resources, why not?
Next Topic:lost day of work
Goto Forum:
  


Current Time: Fri Aug 23 08:32:37 GMT 2024

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

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

Back to the top