StatusBar fragment plugin can be employed in an E4 RCP application by following a small number of steps which will be described here along with code snippets:
- Add a Window Trim - Bottom to the main window
- Add StatusBar category to the project target from the online repository
- Add StatusBar plugin to the application manifest
- Add StatusBar objects to the application code
- Hook StatusItems to events
Window Trim - Bottom
Using the Eclipse 4 model editor, add a "Window Trim - Bottom" to the main window:

On the right is the "Window Trim" ID field, which must be set to au.com.cybersearch2.statusline.trimbar.
Add StatusBar to Target
The Target Platform refers to the plug-ins which your workspace will be built and run against. A Tycho build may use a project-specific Target Platform separate from the one employed by the plugin development environment. For each applicable target, add a new Software Site with address https://dl.bintray.com/cybersearch2/generic/Statusbar/V1.1.0. Two categories will appear for selection. Tick the StatusBar category to select plugins and, optionally, tick StatusBar (Sources).
Add StatusBar to manifest
Add to the project MANIFEST.MF dependencies statusbar v1.1.0 and control_factory v1.1.0:
au.com.cybersearch2.statusbar;bundle-version="1.1.0",
au.com.cybersearch2.control_factory;bundle-version="1.1.0"
