| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> |
| <HEAD> |
| <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>Editors and views</title> |
| |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <h2> |
| Editors and views</h2> |
| <P CLASS="Intro">Before we dive into using the Workbench, let's start by familiarizing |
| ourselves with its various elements. A Workbench consists of: |
| <ul> |
| <li> |
| perspectives</li> |
| <li> |
| views</li> |
| <li> |
| editors</li> |
| </ul> |
| <p CLASS="Intro">A perspective is a group of views and editors in |
| the Workbench window. One or more perspectives can exist in a single Workbench |
| window. Each perspective contains one or more views and editors. Within a |
| window, each perspective may have a different set of views but all perspectives |
| share the same set of editors.</p> |
| <p CLASS="Intro">A view is a visual component within the Workbench. It is typically used to |
| navigate a hierarchy of information (like the resources in your Workbench), open an editor, |
| or display properties for the active editor. Modifications made in a view are saved immediately. |
| Only one instance of a particular view type may exist within a Workbench |
| window. |
| </p> |
| <p CLASS="Intro">An editor is also a visual component within the Workbench. It is typically used to edit or browse a |
| resource. Modifications made in an editor follow an open-save-close lifecycle model. |
| Multiple instances of an editor type may exist within a Workbench window. |
| </p> |
| <p CLASS="Intro">Editors and views can be active or inactive, but only one view or editor can be active at any one time. |
| The active editor or view is the one whose title bar is highlighted. The active part is the |
| target for common operations like cut, copy and paste. The active part also |
| determines the contents of the status line. If an editor tab |
| is white it indicates the editor is not active, however views may show |
| information based on the last active editor. <br> |
| </p> |
| <p CLASS="Intro">If you click on the Navigator view you will notice it becomes |
| active. |
| </p> |
| <p CLASS="Intro"><img src="../images/Image2_active_view.gif" alt="Workbench" border="0" width="578" height="413"></p> |
| <P CLASS="Intro">Clicking on the welcome page (editor) you can see that the |
| editor's tab turns blue, and the Navigator's title bar is no longer blue. The |
| welcome page is now our active editor.<P CLASS="Intro"><img src="../images/Image2_active_editor.gif" alt="Welcome page selected" border="0" width="579" height="413"> |
| <P> <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright IBM Corporation 2000, 2003. All Rights Reserved." border="0" width="324" height="14"></a> |
| |
| </P> |
| |
| |
| </BODY> |
| </HTML> |