LibraryLink ToToggle FramesPrintFeedback

Creating an Eclipse Bundle Plug-in

The PDE provides a cheatsheet for creating Eclipse plug-ins (OSGi bundles), as shown in Figure 8.1.


Following the steps in the cheat sheet, you create a Hello world plug-in, as shown in Figure 8.2.


Figure 8.3 shows the Hello World plug-in in the Overview page.


Eclipse automatically creates a bundle activator for the Hello World plug-in, as shown in Figure 8.4.


This application demonstrates how you can create GUI artifacts in a bundle activator.

Eclipse automatically creates the manifest file for the Hello World plug-in, as shown in Figure 8.5.


The Manifest editor provides alternative views so you can:

  • Manage bundle and package dependencies for compilation and runtime

  • Add your own manifest headers

You can follow the steps in the cheat sheet to launch a target Eclipse platform to run and test the Hello World application, as shown in Figure 8.6.