<!doctype html public "-//w3c//dtd html 4.0//en"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title>Eclipse Workbench Extension Point: Resource Filters</title> | |
</head> | |
<body link="#0000FF" vlink="#800080"> | |
<center> | |
<h1> | |
Resource Filters</h1></center> | |
<b><i>Identifier: </i></b>org.eclipse.ui.resourceFilters<p><b><i>Description: </i></b> | |
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. | |
<p><b><i>Configuration Markup:</i></b> | |
<p><tt> <!ELEMENT filter(description?)></tt> | |
<br><tt> <!ATTLIST filter</tt> | |
<br><tt> pattern CDATA | |
#REQUIRED</tt> | |
<br><tt> selected CDATA #OPTIONAL</tt> | |
<br><tt> ></tt> | |
<br><tt> <!ELEMENT description (#PCDATA)></tt> | |
<ul> | |
<li> | |
<b>pattern</b> - the pattern to match. May contain * and ? wildcards.</li> | |
<li> | |
<b>selected</b> - "true" if the pattern should be selected by default, "false" or undefined if not.</li> | |
</ul> | |
<b><i>Examples:</i></b> | |
<p>The following is an example of a resource filter extension, which filters out class files, | |
and is selected by default:<p><tt> <extension</tt> | |
<br><tt> | |
point="org.eclipse.ui.resourceFilters"></tt> | |
<br><tt> <filter</tt> | |
<br><tt> | |
pattern="*.class"</tt> | |
<br><tt> | |
selected="true"></tt> | |
<br><tt> </filter></tt> | |
<br><tt> </extension></tt> | |
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a> | |
</body> | |
</html> |