The Knopflerfish OSGi Desktop is a standard OSGi bundle, using Swing. Currently the desktop can only manage a framework running locally, so it is most useful for developing and testing bundles on a computer having a screen.
The Desktop bundle can be found in
knopflerfish/osgi/bundles/desktop
When started, it creates a window with four main areas:
- Toolbar
- The top toolbar provides quick access to common operations
as start/stop/update bundles.
- Bundle view
- The center bundle view area display all installed bundles
and their states. By clicking on bundles in this are,
detail information is displayed in the Bundle detail area
Three different views a supported:
- Icons - each bundle is displayed as an icon.
- Details - each bundle is displayed as a table row.
- Spin - each bundle is displayed in a really cool graphics view.
- Bundle detail area
- The rightmost bundle detail area shows detailed
information on selected bundles.
- Framework console
- The bottom console area allows interaction with the
text console. This console acts exactly as the consoltty bundle, but does not require a shell or DOS window to run.
OSGi Desktop, click image for full image
Icon view
To view the installed bundles as icons, select
View -> Large Icons
Icon legend
 |
Bundle which has a BundleActivator |
 |
"Library" bundle which has no BundleActivator |
 |
Overlay image when bundle is active |
Bundles can be selected by clicking.
Detail list view
To view the installed bundles as a detailed list, select
View -> Details
Bundles can be selected by clicking.
Detail spin view
To view the installed bundles as graphics, select
View -> Spin
Dependencies between bundles and services are shown as connecting
lines. Not how the console bundle depends on three other bundles
in the image above.
Bundles can be selected by clicking.