Retrieve Projects through Central
When Eclipse is started and there are editors open, multiple threads
will start to initialize the bnd Workspace, which creates all kind of
strange results. This commit makes all calls to retrieve Projects to go
through the synchronized Central.getWorkspace() to make sure the bnd
workspace is initialized only once.
Fix so RefreshFileJob does not execute to early
The RefreshFileJob will fail resulting in a dirty Eclipse workspace if
the bnd workspace has not been initialized first.
Fixes performance issue with source bundle lookup
There is no need to look in the WorkspaceRepository for source bundles.
Make sure bnd Workspace is ready before initializing
WorkspaceR5Repository