|
Added
Link Here
|
| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 |
<html lang="en"> |
| 3 |
<HEAD> |
| 4 |
|
| 5 |
<meta name="copyright" content="Copyright (c) Freescale Semiconductor and others 2010. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| 6 |
|
| 7 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| 8 |
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| 9 |
|
| 10 |
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| 11 |
<title>Resource Filters</title> |
| 12 |
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script> |
| 13 |
</HEAD> |
| 14 |
|
| 15 |
<BODY BGCOLOR="#ffffff"> |
| 16 |
<H1 CLASS="Head">Resource Filters</H1> |
| 17 |
<p> |
| 18 |
Resource filters allow the user to configure which files are folders are included automatically |
| 19 |
in a project resource hierarchy when a refresh is performed. |
| 20 |
</p> |
| 21 |
<p> |
| 22 |
By adding resource filters to a project or folder, the user can systematically prevent some file |
| 23 |
system entries to be displayed in the resource tree. |
| 24 |
</p> |
| 25 |
<p> |
| 26 |
A resource filter is either of <b>Include Only</b> or <b>Exclude All</b> type, and can apply to either files, |
| 27 |
folders, or both. |
| 28 |
</p> |
| 29 |
<p> |
| 30 |
Resource filters only apply to files and/or folders that are implicitly included in the workspace |
| 31 |
by the refresh operation. Link files and folders are not affected by resource filters, since they |
| 32 |
need to be created explicitly by the user. |
| 33 |
</p> |
| 34 |
<p> |
| 35 |
An "Include" resource filter allows only files and/or folders that match the filter condition |
| 36 |
to be included in the workspace during the refresh operation. If multiple "Include" filters exist, |
| 37 |
the elements included will be those who match any of the existing "Include" filters. |
| 38 |
</p> |
| 39 |
<p> |
| 40 |
An "Exclude" resource filter prevent all files and/or folders that match the filter condition |
| 41 |
to be included in the workspace during the refresh operation. If multiple "Exclude" filters exist, |
| 42 |
the elements excluded will be those who match any of the existing "Exclude" filters. |
| 43 |
</p> |
| 44 |
<p> |
| 45 |
If both "Exclude" and "Include" resource filters exist in a given folder or project, only files |
| 46 |
and/or folders that match any of the "Include" filters <b>and </b> do not match any of the "Exclude" |
| 47 |
filters will be included in the workspace. |
| 48 |
</p> |
| 49 |
<p> |
| 50 |
A resource filter can apply recursively to all children of the project or folder it is created on. In |
| 51 |
such case, the resource filter will apply to a sub-folder as if they were created in that sub-folder |
| 52 |
itself, following the rules mentioned above. |
| 53 |
</p> |
| 54 |
<p> |
| 55 |
Resource filters can be created, edited and removed in |
| 56 |
the <b>File > Properties > Resource > Resources Filters</b> property page for a project or |
| 57 |
folder resource |
| 58 |
</p> |
| 59 |
<p> |
| 60 |
Resource filters can also be created on a folder before that folder is created in the workspace by |
| 61 |
selecting the "Resource Filters..." button in the "Advanced" section of the <b>New Folder wizard</b>. |
| 62 |
</p> |
| 63 |
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br> |
| 64 |
<a href="concepts-13.htm">Linked resources</a><br> |
| 65 |
</p> |
| 66 |
|
| 67 |
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br> |
| 68 |
<a href="../tasks/tasks-97.htm">Creating resource filters</a><br> |
| 69 |
<a href="../tasks/tasks-49.htm">Viewing resource properties</a><br> |
| 70 |
</p> |
| 71 |
|
| 72 |
<p><img border="0" src="../images/ngrelr.png" alt="Related references" > |
| 73 |
<br> |
| 74 |
<a href="../reference/ref-14b.htm">Linked resources</a> </p> |
| 75 |
|
| 76 |
</BODY> |
| 77 |
</HTML> |