An Eclipse product is a branding and a reference to an application. The product also has control over what features or plug-ins will be available, and whether those plug-ins will be started or not (and if so, in what order).
Chapter 7, Understanding the Eclipse 4 Model and RCP Applications, created a product to bootstrap the E4 application (provided by the org.eclipse.e4.ui.workbench.swt.E4Application
class), but this section will create a product that binds to the headless application created previously to demonstrate how the linkage works.
Use File | New | Other | Plug-in Development | Product Configuration to bring up the product wizard.
Select the
com.packtpub.e4.headless.application
project and putheadless
as the file name.Leave the Create a configuration file with the basic settings selected.
Click on Finish and it will open up the
headless.product
file in an editor.Fill in the details as follows:
ID:
com.packtpub.e4.headless.application.product
...