StatusBar Example allows you to see the StatusBar fragment plugin in action and provides sample code for usage in an E4 RCP application.
Installation and Setup
Installation requires Git and maven. Eclipse plug-ins are built with maven using Tycho.
Please note the configured Tycho version is 0.25.0. This requires Java 8 and Maven v3.3.1 or above.
The deploy steps are:
- Git clone https://github.com/andrew-bowley/statusbar_example
- Go to the status-bar directory and run command "mvn clean verify"
The build should complete successfully and the executable will be found in the releng/statusbar.example.product project location under target/products/Statusbar-example/... (filepath details are platform-specific).
Usage
When StatusBar Example is launched, small application main window appears with title "Eclipse 4 RCP Status Bar", a simple top-level menu, some controls and a status line containing 3 items tagged according to position ie. "Right", "- Middle -" and "Left".
The controls interact with the status line by sending to the items events that may occur in an Instant Messaging application, such as change in presence from "Online" to "Away".
Here is how the status line looks for everything good:

The status items represent status for, from left to right, "presence ", "logged in" and "online security ".



