Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Filter files in the package explorer
Filter files in the package explorer [message #298188] Thu, 26 January 2006 08:47 Go to next message
Eclipse UserFriend
I tried to filter the files shown in the package explorer by extending the
org.eclipse.ui.ide.resourceFilters extension point. This was the addition
to the plugin.xml:
<extension
point="org.eclipse.ui.ide.resourceFilters">
<filter
pattern="*.java"
selected="true"/>
</extension>

but it has no affect. What am I doing wrong?
Re: Filter files in the package explorer [message #298192 is a reply to message #298188] Thu, 26 January 2006 09:20 Go to previous messageGo to next message
Eclipse UserFriend
If you can see your filter in the resource perspective/navigator view,
and not in the package explorer, it might be that the package explorer
doesn't use that extension point.

If you can't see your filter in either package explorer or resource
navigator, there's still some problem with your extension.

Later,
PW
Re: Filter files in the package explorer [message #298218 is a reply to message #298192] Thu, 26 January 2006 12:05 Go to previous messageGo to next message
Eclipse UserFriend
yea, it filters the files in the resource perspective/navigator view, but
not in the package explorer. I found another extension point,
org.eclipse.jdt.ui.javaElementFilters and with that point I added a filter
to the list of filters in the package explorer, but its unselected by
default, even when I choose 'true' in the 'enabled' field. Should I
provide a class in the 'class' attribute that enables the filter?
Re: Filter files in the package explorer [message #298254 is a reply to message #298218] Fri, 27 January 2006 03:39 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.eclipse.org

shai kaplan wrote:

> yea, it filters the files in the resource perspective/navigator view,
> but not in the package explorer. I found another extension point,
> org.eclipse.jdt.ui.javaElementFilters and with that point I added a
> filter to the list of filters in the package explorer, but its
> unselected by default, even when I choose 'true' in the 'enabled' field.

That would be a bug and should be reported against JDT UI
(https://bugs.eclipse.org/bugs/enter_bug.cgi?product=JDT).

Dani

> Should I provide a class in the 'class' attribute that enables the
> filter?
>
Previous Topic:working with multiple monitors, dialogs often open in the wrong monitor
Next Topic:How to make a feature visible in About->Eclipse->Features
Goto Forum:
  


Current Time: Wed Jul 16 13:12:23 EDT 2025

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

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

Back to the top