Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

FAQ What is a view?

Revision as of 16:23, 14 March 2006 by Claffra (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Views are one of the two kinds of parts that make up a workbench window. At their most basic, views are simply a subclass of the SWT Composite class, containing arbitrary controls below a title bar. The title bar contains the view name, an area for toolbar buttons, and one or two drop-down menus. The drop-down menu on the upper left is simply the standard shell menu with actions for moving, resizing, and closing the view. The menu on the upper right and the button area are the view’s action bar and may contain arbitrary actions defined by the implementer of that view.


A view interacts with the rest of the workbench via its site. Browse through the interfaces IViewSite, IWorkbenchPartSite, and IWorkbenchSite to see what site services are available to a view.


See Also:

FAQ_What_is_a_viewer?

FAQ_Pages,_parts,_sites,_windows:_What_is_all_this_stuff?

FAQ_What_is_the_difference_between_a_view_and_a_viewer?

FAQ_What_is_the_difference_between_a_view_and_an_editor?


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top