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

Basic workbench extension points using commands

Commands and handlers have been provided by the workbench in one form or another since 3.0. In 3.2 the commands, handlers, and keybindings portion of the Command Framework became mature. In 3.3 the menu contributions portion of the Command Framework became available.

We are going to take a look at how commands, handlers, menu contributions, and keybindings can be used to contribute behaviour to the workbench, to views, and to editors. We'll use the Info example from the contributions plugin. It provides a view that lists people and an editor for updating their names. Much of the contribution of editors and views has already been covered in the readme example in Basic workbench extension points using actions.

You can show any view in the workbench by choosing Window > Show View > Other... and selecting the view from the Show View list. Use this to select the Info View from the View Contributions category.

The Info example is located in the org.eclipse.ui.examples.contributions package. To follow along, you will need to make sure that you have installed the platform examples. (See the ExamplesGuide for more information.)


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