Improve Repositories View performance
commitf36a6bcfab03302411c5252d01e969b3d305cbe8
authorJens Baumgart <jens.baumgart@sap.com>
Tue, 1 Jun 2010 15:27:41 +0000 (1 17:27 +0200)
committerJens Baumgart <jens.baumgart@sap.com>
Tue, 1 Jun 2010 15:27:41 +0000 (1 17:27 +0200)
treeeedc381042f7cdff6dd18d7e399a6c5e225e563d
parent09232505e0c49be69cd2ad28d8395e1d01350c08
Improve Repositories View performance

RepositoriesView now uses the shared Repository instances provided by
RepositoryCache instead of creating own instances.
This enables RepositoriesView to listen to repository change events.
The auto refresh job of RepositoriesView is no longer needed.
Activator.RCS was enhanced to scan all repositories contained in
RepositoryCache. This was required because RepositoriesView is the first
client of RepositoryCache that uses Repository instances which might
not have a project in the workspace.

Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
org.eclipse.egit.core/src/org/eclipse/egit/core/RepositoryCache.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/Activator.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java