The Eclipse e4 project is a new Eclipse API available since Eclipse version 4. Use this tag for questions about the Eclipse e4 API provided by the org.eclipse.e4.xxx plugins.

The Eclipse e4 project is a completely new approach of the Eclipse API available since Eclipse 4.

The project has three principal aims:

  • Simplify the Eclipse programming model
  • Enable the platform for use on emerging web-based runtime technologies
  • Broaden participation in development of the platform

Eclipse e4 uses an application model (which is strictly defined in an eclipse-emf meta-model) as a basis for Eclipse based applications. This replaces lots of the old Eclipse extension points that were required to create applications, editors, menus, commands, etc.

Eclipse e4 uses the java annotation @inject to provide services, application parts, etc to the classes that make up the Eclipse application.

A broad overview of the new Eclipse e4 API is given in the Eclipse 4 RCP - Building Eclipse RCP applications based on Eclipse 4 tutorial.

Questions about the Eclipse e4 API provided by the org.eclipse.e4.xxx plugins should use e4. Questions about the old Eclipse API (3.x) should use eclipse.