# Resource Filters

###### Identifier:

org.eclipse.ui.ide.resourceFilters

###### Since:

3.0 (originally added in release 1.0 as org.eclipse.ui.resourceFilters)

###### Description:

This extension point is used to add predefined filters to views which show resources, such as the Navigator view. These filters can be selected to hide resources whose names match the filter's pattern.

This extension point is deprecated in release 3.5 and replaced by the Common Navigator Framework. Note that it is intentionally not actually marked deprecated in order to prevent warnings in other Eclipse plugins that must support this.

###### Configuration Markup:

<!ELEMENT extension (filter*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT filter (description?)>

<!ATTLIST filter

pattern CDATA #REQUIRED

selected (true | false) "false"

>

- pattern - the pattern to match. May contain * and ? wildcards.
- selected - "true" if the pattern should be selected by default, "false" or undefined if not.

<!ELEMENT description (#PCDATA)>

the description of the purpose of this filter.

###### Examples:

The following is an example of a resource filter extension, which filters out class files, and is selected by default:

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

Copyright (c) 2002, 2009 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html