blob: 8712c6cce61bc63f815ff98c535e289bcf0c1faa [file] [log] [blame]
<!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>&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; (true|false) &quot;false&quot;</tt>
<br><tt>&nbsp;&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> - &quot;true&quot; if the pattern should be selected by default, &quot;false&quot; 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="hglegal2002.htm"><img SRC="ngibmcpy2002.gif" ALT="Copyright IBM Corporation and others 2000, 2002." BORDER=0></a>
</body>
</html>