| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> |
| <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>Project Explorer view</title> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script> |
| </HEAD> |
| |
| <BODY BGCOLOR="#ffffff"> |
| <h1> |
| Project Explorer view</H1> |
| <P CLASS="Intro"> |
| |
| This view provides a hierarchical view of the resources in the Workbench.</p> |
| <P CLASS="Para"> |
| Here is what the Project Explorer view looks like:</P> |
| <P CLASS="Para"> |
| <img src="../images/Image241_nav_view.png" alt="Project Explorer View" border="0" ></P> |
| <p CLASS="Head"> |
| To add the Project Explorer view to the current perspective, click |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ui.views.ResourceNavigator)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png"> |
| <b>Window > Show View > Other... > General > Project Explorer</b></a>. |
| </p> |
| <P CLASS="Para"> |
| </P> |
| <h2>Toolbar</h2> |
| <H3>Collapse All</H3> |
| <P>This command collapses the tree expansion state of all resources in the |
| view.</P> |
| <H3>Link with Editor</H3> |
| <P>This command toggles whether the Project Explorer view selection is linked to |
| the active editor. When this option is selected, changing the active editor |
| will automatically update the Project Explorer selection to the resource being |
| edited.</P> |
| <P><BR> |
| </P> |
| <H2>Menus</H2> |
| <P>Click the black upside-down triangle icon to |
| open a menu of items specific to the Project Explorer view. Right-click inside |
| the view to open a context menu. </P> |
| <H3>Top Level Elements</H3> |
| <P>Choose whether to show working sets or projects as top level elements. Chosing working sets allows easy grouping of projects in large workspaces.</P> |
| <H3>Select Working Set</H3> |
| <P>Opens the <B>Select Working Set</B> dialog to allow selecting a working set for the Project Explorer view.</P> |
| <H3>Deselect Working Set</H3> |
| <P>Deselects the current working set. </P> |
| <H3>Edit Active Working Set</H3> |
| <P>Opens the <B>Edit Working Set</B> dialog to allow changing the current working set.</P> |
| <DIV CLASS="Topic"> |
| <h3> |
| Package Presentation</h3> |
| <P CLASS="Para"> |
| Toggles package compression on and off. If it's Flat, certain folder structures (such as Java packages) will be compressed to make |
| navigation easier. |
| </P> |
| </DIV> |
| <DIV CLASS="Topic"> |
| <h3> |
| Customize View</h3> |
| <P CLASS="Para"> |
| This command allows customization of view filters and content modules. The previous will allow you to supress the display of certain |
| types of files while the later will allow entirely new types of content to be shown in the view. Here |
| is what the Customize View dialog looks like:</P> |
| <P CLASS="Para"> |
| <img src="../images/Image210_filefilter.png" alt="Filters dialog" border="0" ></P> |
| </DIV> |
| <H3>Link with Editor</H3> |
| <P>See the toolbar item description above.</P> |
| <P><BR> |
| In addition to these menu items, the Project Explorer view menu shows a list of |
| recently used working sets that have been selected in the view.</P> |
| <P><BR> |
| </P> |
| <h2>Context menu</h2> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head"> |
| New</H3> |
| <P CLASS="Para"> |
| This command allows you to create a new resource in the Workbench. Select the |
| type of resource to create from the submenu.</P> |
| </DIV> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head"> |
| Copy</H3> |
| <P CLASS="Para">This command copies the selected resource to the clipboard.</P> |
| </DIV> |
| <H3>Paste</H3> |
| <P>This command pastes resources on the clipboard into the selected project |
| or folder. If a resource is selected the resources on the clipboard are |
| pasted as siblings of the selected resource.</P> |
| <h3 CLASS="Head"> |
| Delete</H3> |
| <P CLASS="Para">This command deletes the selected resource from the workspace.</P> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head">Move</H3> |
| <P CLASS="Para"> |
| This command moves the selected resource to another location. |
| A dialog will appear, prompting for the destination location to which the resource |
| will be moved. </P> |
| </DIV> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head"> |
| Rename</H3> |
| <P CLASS="Para"> |
| This command allows you to specify a new name for the selected resource.</P> |
| </DIV> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head"> |
| Import</H3> |
| <P CLASS="Para"> |
| This command opens the import wizard and allows you to select resources |
| to import into the Workbench. |
| </P> |
| </DIV> |
| |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head"> |
| Export</H3> |
| <P CLASS="Para"> |
| This command opens the export wizard and allows you to export resources |
| to an external location. |
| </P> |
| </DIV> |
| |
| <h3 CLASS="Head"> |
| Refresh</H3> |
| <P CLASS="Para">This command refreshes the Workbench's view of the selected resource and |
| its children. For example, this is used when you create a new file for |
| an existing project outside the Workbench and want the file to appear in |
| the Project Explorer view.</P> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head">Close Project</H3> |
| <P CLASS="Para">The close project command is visible when an open project is selected. |
| This command closes the selected project.</P> |
| </DIV> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head">Close Unrelated Projects</H3> |
| <P CLASS="Para">This command will close any project which are unrelated to the selected project.</P> |
| </DIV> |
| <H3>Open Project</H3> |
| <P>The open project command is visible when a closed project is selected. |
| This command opens the selected project.</P> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head"> |
| Team</H3> |
| <p CLASS="Head"> Menu items in the Team sub-menu are related to version control |
| management and are determined by the version control management system that |
| is associated with the project. Eclipse provides the special menu item<b> |
| Share Project...</b> for projects that are not under version control management. |
| This command will present a wizard that allows you to choose to share |
| the project with any version control management systems that has been added |
| to Eclipse. Eclipse ships with support for CVS.</p> |
| </DIV> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head">Compare With</H3> |
| |
| <P CLASS="Para"> |
| Commands on the Compare With sub-menu allow you to do one of the following |
| types of compares: </P> |
| <UL CLASS="UnorderedList"> |
| <LI CLASS="Item"> Compare two or three selected resources with each other</LI> |
| <LI CLASS="Item"> Compare the selected resource with remote versions (if the |
| project is associated with a version control management system).</LI> |
| <LI CLASS="Item"> Compare the selected resource with a local history state</LI> |
| </UL> |
| |
| <P CLASS="Para">After you select the type of compare you want to do, you will |
| either see a compare editor or a compare dialog. In the compare editor, |
| you can browse and copy various changes between the compared resources. |
| In the compare dialog, you can only browse through the changes. </P> |
| |
| </DIV> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head"> |
| Replace With</h3> |
| <P CLASS="Para"> Commands on the Replace With sub-menu allow you to replace the |
| selected resource with another state from the local history. If the project |
| is under version control management, there may be additional items supplied |
| by the version control management system as well.</P> |
| </DIV> |
| <DIV CLASS="Topic"> |
| <h3 CLASS="Head"> |
| Properties</H3> |
| <P CLASS="Para"> This command displays the properties of the selected resource. |
| The kinds of properties that are displayed depend on what type of resource |
| is selected. Resource properties may include (but are not limited to):</P> |
| <UL CLASS="UnorderedList"> |
| <LI CLASS="Item">Path relative to the project in which it is held</LI> |
| <LI CLASS="Item">Type of resource</LI> |
| <LI CLASS="Item">Absolute file system path, or name of path variable when using linked resources</LI> |
| <LI CLASS="Item">Resolved path variable when using a path variable for a linked resource</LI> |
| <LI CLASS="Item">Size of resource</LI> |
| <LI CLASS="Item">Last modified date</LI> |
| <LI CLASS="Item">Read-only status</LI> |
| <LI CLASS="Item">Derived resource status</LI> |
| <LI CLASS="Item">Execution arguments, if it is an executable resource</LI> |
| <LI CLASS="Item">Program launchers, if it is launchable</LI> |
| <LI CLASS="Item">Project dependencies, if any</LI> |
| </UL> |
| </DIV> |
| |
| <p><img border="0" src="../images/ngrelc.png" alt="Related concepts" > |
| <br><a href="../concepts/concepts-26.htm">Team programming with CVS</a> |
| <br><A HREF="../concepts/concepts-29.htm">Three-way compare</A> |
| <br><a href="../concepts/concepts-13.htm">Linked resources</a> |
| </p> |
| |
| <p><img border="0" src="../images/ngrelr.png" alt="Related references" > |
| <br><a href="ref-25.htm">Compare editor</a> |
| </p> |
| |
| |
| |
| </BODY> |
| </HTML> |