Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Plugging into the workbench

By now, you should be quite familiar with the operation of the workbench and how it uses views and editors to display information. If not, read the quick tour of the workbench below.

The sections following the quick tour will look at the workbench user interface from an API perspective.  We will show how a plug-in can contribute to the workbench UI.

Quick tour of the workbench

The workbench is the cockpit for navigating all of the function provided by plug-ins. By using the workbench, we can navigate resources and we can view and edit the content and properties of these resources.

When you open your workbench on a set of projects, it looks something like this.

Workbench with navigator view, editor, outliner, and task list

The workbench is just a frame that can present various visual parts. These parts fall into two major categories: views and editors.

  • Editors allow the user to edit something in the workbench. Editors are "document-centric," much like a file system editor. Like file system editors, they follow an open-save-close lifecycle.  Unlike file system editors, they are tightly integrated into the workbench.
  • Views provide information about some object that the user is working with in the workbench. Views often change their content as the user selects different objects in the workbench.  Views often support editors by providing information about the content in the active editor.

Views

The workbench provides several standard views that allow the user to navigate or view something of interest. For example, the project explorer lets the user navigate the workspace and select resources.

Editors

Editors allow the user to open, edit, and save objects. The workbench provides a standard editor for text resources.

Additional editors, such as Java code editors or HTML editors, can be supplied by plug-ins


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire