Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 293671 | Differences between
and this patch

Collapse All | Expand All

(-)concepts/resourcefilters.htm (+77 lines)
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 &gt; Properties &gt; Resource &gt; 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>
(-)contexts_Workbench.xml (+9 lines)
Lines 608-613 Link Here
608
        <topic label="Virtual Folders" href="concepts/virtualfolders.htm"/>
608
        <topic label="Virtual Folders" href="concepts/virtualfolders.htm"/>
609
        <topic label="Linked Resources" href="concepts/concepts-13.htm"/>
609
        <topic label="Linked Resources" href="concepts/concepts-13.htm"/>
610
    </context>
610
    </context>
611
    <context id="resource_filter_property_page_context">
612
        <description>Allows you to view and configure resources filters on a project or folder</description>
613
        <topic label="Resource Filters" href="concepts/resourcefilters.htm"/>
614
    </context>
615
    <context id="edit_resource_filter_property_page_context">
616
        <description>Allows you to create and edit resources filters</description>
617
        <topic label="Create Resource Filters" href="tasks/tasks-97.htm"/>
618
        <topic label="Resource Filters" href="concepts/resourcefilters.htm"/>
619
    </context>
611
    <!-- Views -->
620
    <!-- Views -->
612
    <context id="bookmark_view_context">
621
    <context id="bookmark_view_context">
613
        <description>View to show all bookmarks.</description>
622
        <description>View to show all bookmarks.</description>
(-)tasks/tasks-97.htm (+47 lines)
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
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
10
<title>Creating resource filters</title>
11
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
12
</HEAD>
13
14
<BODY BGCOLOR="#ffffff">
15
<H1>Creating resource filters</H1>
16
<p>
17
<a href="../concepts/resourcefilters.htm">Resource filters</a> allow the user to configure 
18
systematically which file system files and folders are included in the workspace during the 
19
refresh operation.
20
</p>
21
22
<P>To create a resource filter:
23
</P>
24
25
<ol>
26
  <li>In one of the navigation views, right-click the project or folder
27
    where you want to create the resource filter.</li>
28
  <li>From the pop-up menu, select
29
  <b>Properties</b></a>. The properties dialog will open</li>
30
  <li>Expand the <b>Resource</b> section.</li>
31
  <li>Click the <b>Resource Filters</b> section.</li>
32
  <li>Click <b>Add...</b>.</li>
33
  <li>Specify the filter type, to what entries it applies to, and enter the condition.</li>
34
  <li>Click <b>OK</b>.</li>
35
  <li>Click <b>OK</b>.</li>
36
</ol>
37
38
<P>
39
</P>
40
<P><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
41
<a href="../concepts/resourcefilters.htm">Resources Filters</a><br>
42
<a href="../concepts/concepts-12.htm">Resources</a><br>
43
<a href="../concepts/concepts-17.htm">Resource hierarchies</a><br>
44
</P>
45
46
</BODY>
47
</HTML>

Return to bug 293671