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

Difference between revisions of "FAQ What is a view?"

m
m
 
Line 4: Line 4:
  
 
== See Also: ==
 
== See Also: ==
[[FAQ What is a viewer?]]
+
*[[FAQ What is a viewer?]]
[[FAQ Pages, parts, sites, windows: What is all this stuff?]]
+
*[[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 a viewer?]]
[[FAQ What is the difference between a view and an editor?]]
+
*[[FAQ What is the difference between a view and an editor?]]
  
 
{{Template:FAQ_Tagline}}
 
{{Template:FAQ_Tagline}}

Latest revision as of 21:48, 29 May 2006

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:


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