## Editors and views

Prior to commencing the Workbench tutorials found in this section, it is important to first be familiar with the various elements of the Workbench. A Workbench consists of:

- perspectives
- views
- editors

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.

A view is a visual component within the Workbench. It is typically used to navigate a hierarchy of information (such as the resources in the Workbench), open an editor, or display properties for the active editor. Modifications made in a view are saved immediately. Normally, only one instance of a particular type of view may exist within a Workbench window.

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.

Some features are common to both views and editors. We use the term "part" to mean either a view or an editor. Parts can be active or inactive, but only one part can be active at any one time. The active part 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.

In the image below, the Navigator view is active.

Clicking on the Outline view causes the Outline's title bar to turn blue and the Navigator's title bar to no longer be blue, as shown below. The Outline view is now active.