For PSEWHacking there is an IconService which serves PIMO and Application icons.

"Quick" start:

  • The icon service is available if the two bundles org.semanticdesktop.nepomuk.psew.pimo, org.semanticdesktop.nepomuk.psew.pimo.bundle are started.
  • The main way to access the service is as an OSGI service, the service is org.semanticdesktop.nepomuk.comp.iconservice.bundle.IconService.java, and you get it from the OSGI service registry (i.e. not middleware, just normal osgi)
  • The service has two methods: getPimoIcon and getAppIcon.

If you care about the details:

  • There are two bundles because one contains the icons+a servlet to serve them, the other wraps this up as an osgi service, serving icons as jface-resources.
  • The icons are initially svg, these are also in the bundle (I think :), but are not served anywhere :)
  • The icons were automatically converted from svg to PNGs, this means the 16x16 icons are quite fuzzy.