currently I'm using PlatformUI.getWorkbench().getService() a lot, using
the extensionpoint "org.eclipse.ui.services".
In general it?s working fine. But it suffers a bit from its bondage to the
UI. Why is something so general like a servicelocator bound to the UI
anyway? Every Plugin I create that uses this servicelocator has to have
"org.eclipse.ui" as a dependency. Even if it is a model plugin (EMF) thats
only dependencie to the UI would be the servicelocator.
Would'nt it be nice to have a UI-less servicelocator?
Aspecially since currently it is not possible to use services as long the
workbench has not been started. Likewise when opening a login dialog
within Application.start() and the connection to a database is controlled
by a ConnectionService... :)