| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en"> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <TITLE> |
| Linked resources |
| </TITLE> |
| |
| <link rel="stylesheet" type="text/css" HREF="../book.css"> |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <H2>Resource Filters</H2> |
| <P >Resource filters allow the user to configure which files and folders are included automatically in a project resource hierarchy when refresh is performed. |
| </p> |
| <P >By adding resource filters to a project or folder, the user can systematically prevent some file system entries to be displayed in the resource tree. |
| </P> |
| <P >Resource filters can be created using the <b>IContainer.createFilter</b> method.</P> |
| <P> |
| The <b>FileInfoMatcherDescription</b> object has to be initialized with the ID of a <b>filterMatchers</b> extension point. The org.eclipse.core.resources plugin |
| specifiy one default filter matcher, of ID <b>org.eclipse.core.resources.regexFilterMatcher</b>, which accepts regular expressions Strings as argument. Other plugins distributed with the workbench (such as the <b>org.eclipse.ui.ide</b> plugin) define other reusable filter matchers. |
| </p> |
| <P> |
| Filter matchers are extensible through the <b>org.eclipse.core.resources.filterMatchers</b> extension point. |
| </p> |
| </BODY> |
| </HTML> |