| <!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, 2011. 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>Working sets</title> |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <H1 CLASS="Head"> |
| Working sets</H1> |
| <P> |
| Working sets group elements for display in views or for operations on a set |
| of elements. </P> |
| |
| <P> The navigation views use working sets to restrict |
| the set of resources that are displayed. If a working set is selected in the |
| navigator, only resources, children of resources, and parents of resources contained |
| in the working set are shown. The problems view, tasks view and bookmarks view |
| can all be filtered based on a working set via the <b>Filters</b> view menu item. |
| When using the search facility, |
| you can also use working sets to restrict the set of elements that are searched. |
| </P> |
| |
| <P> Different views provide different ways to specify |
| a working set. The views in the Eclipse SDK use the <b>Window Working Set</b> by |
| default. The Window Working Set is initially empty. In order to modify the window working set |
| you need to enable the <b>Window Working Set</b> command group via <b>Window > Perspective > Customize Perspective...</b>. You can then |
| modify the window working set via <b>Window > Working Sets</b> menu or via corresponding toolbar button. Views that support working sets typically use the following |
| working set selection dialog to manage existing working sets and to create new working sets:</P> |
| <P> <img src="../images/Image87_workset_sel.png" alt="Picture of working set selection dialog" border="0" > |
| </P> |
| |
| <P> |
| </P> |
| |
| <P> |
| When you create a new working set you can choose from different types |
| of working sets. In the example below you can create a resource working set, a |
| Java working set or a help working set. |
| </P> |
| |
| <P> |
| |
| <img src="../images/Image88_workset_new_type.png" alt="Picture of type selection page of new working set wizard" border="0" > |
| </P> |
| |
| <P> |
| |
| </P> |
| |
| <P> |
| If you create a new resource working set you will be able to select the working |
| set resources as shown below. The same wizard is used to edit an existing working |
| set. Different types of working sets provide different kinds of working set |
| editing wizards. |
| </P> |
| |
| <P> |
| |
| <img src="../images/Image89_workset_new_res.png" alt="Picture of edit page of working set wizard" border="0" > |
| </P> |
| |
| <P> |
| |
| </P> |
| <p> |
| Working sets may also be a part of a manual build workflow. With autobuild disabled the |
| <b>Project > Build Working Set</b> menu becomes enabled. From here you are able to selectively build working sets of your choosing. |
| </p> |
| |
| <DIV CLASS="Note"> |
| <P> <strong>Note:</strong> Newly created resources are |
| not automatically included in the active working set. They are implicitly |
| included in a working set if they are children of an existing working set |
| element. If you want to include other resources after you have created them |
| you have to explicitly add them to the working set. </P> |
| </DIV> |
| |
| <h3 class="related">Related concepts</h3> |
| <a href="../reference/ref-27.htm">Project Explorer view</a><br> |
| <a href="ctskview.htm">Tasks view</a><br> |
| |
| <h3 class="related">Related tasks</h3> |
| <a href="../tasks/tasks-84.htm">Searching for text within a file</a><br> |
| <a href="../tasks/tasks-48b.htm">Showing or hiding resources in the Project Explorer view</a> |
| |
| </BODY> |
| </HTML> |