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>


<!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, 2009 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0