A product hands the runtime off to an application, which can be thought of as a custom Eclipse Runnable
class. This is the main entry point to the application which is responsible for setting up and tearing down the content of the application.
Create a new plug-in, called
com.packtpub.e4.headless.application
. Ensure that the This plug-in will make contributions to the UI checkbox is deselected and Would you like to create a rich client application is set to No:Open the project and select Plug-in Tools | Open Manifest and go to the Extensions tab. This is where Eclipse keeps its list of extensions to the system, and where an application is defined.
Click on Add and then type
applications
into the box. Ensure the Show only extension points from the required plug-ins checkbox is deselected. Choose theorg.eclipse.core.runtime.applications
extension point: