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
Fixes #757 - Add / Remove Bndtools project nature not working in
2.2.0.REL
The call to Central.isWorkspaceReady() is not needed
The call to Central.isWorkspaceReady() is not needed
Fix bsn parsing
Remove Central.isWorkspaceReady().
We don't use it anymore
release: Update release numbers to 2.2.1.RC1
release: Use master-version for maven repo bundle
release: Update release numbers to 2.2.1.REL
release: Change whatsnew to be a wiki page on github
bndtools: Update to 2.2.2.REL

Change to use bndtools wiki page for what news information.
Created BndWorkspaceRepository, which hooks into the "BND" workspace.

This allows you to reference projects in your bnd workspace that
might not be in your eclipse workspace OR might be closed in your
eclipse workspace.

Adjusted NewProjectResourceListener to turn project references into
.jar file references when a project is closed or removed from eclipse.
Likewise a .jar file reference is turned back into a project reference
if a project is opened in eclipse too.

All of this is useful if you have a subset of your total number of
projects where changes are occurring. You can minimize what all
gets rebuilt as you make changes.

Shuffle where BndWorkspaceRepository gets initialized. Otherwise there's a race condition.
Updated BndWorkspaceProjectIndexer to use eclipse's WorkspaceJob

This should avoid a couple deadlock race conditions people are seeing.