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.

Configuration Markup:

<!ELEMENT extension (filter*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT filter (description?)>

<!ATTLIST filter

pattern  CDATA #REQUIRED

selected (true | false) "false">


<!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, 2005 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