blob: 9cebc893aba555c881f6d80abc3ac4208e354bf8 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="Author" content="Build">
<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>&nbsp;&nbsp; &lt;!ELEMENT filter(description?)></tt>
<br><tt>&nbsp;&nbsp; &lt;!ATTLIST filter</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pattern&nbsp;&nbsp;&nbsp; CDATA
#REQUIRED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; selected&nbsp;&nbsp; CDATA #OPTIONAL</tt>
<br><tt><font color="#000000">&nbsp;</font>&nbsp;&nbsp; ></tt>
<br><tt>&nbsp;&nbsp;&nbsp; &lt;!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>&nbsp;&nbsp; &lt;extension</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
point=&quot;org.eclipse.ui.resourceFilters&quot;&gt;</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;filter</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
pattern=&quot;*.class&quot;</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
selected=&quot;true&quot;&gt;</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/filter&gt;</tt>
<br><tt>&nbsp;&nbsp;&nbsp; &lt;/extension></tt>
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>
</body>
</html>