Don't decorate every single resource on repository change
commit0fa5a234e23196fee479516bee3690be19c58af7
authorTor Arne Vestbø <torarnv@gmail.com>
Tue, 27 Jan 2009 22:42:04 +0000 (27 23:42 +0100)
committerTor Arne Vestbø <torarnv@gmail.com>
Wed, 11 Feb 2009 22:34:53 +0000 (11 23:34 +0100)
tree7859278e014803470398700a4a26431197306091
parent33e319ea84dca47d40215aa4744f6660120718af
Don't decorate every single resource on repository change

Not all resources have corresponding labels that are visible,
so by using LabelProviderChangedEvent() we ensure that only
the visible labels are refreshed.

The downside is that we lose project precition, so all
projects are included, but only visible labels in those
projects are re-decorated, so it is OK for now.

Signed-off-by: Tor Arne Vestbø <torarnv@gmail.com>
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitLightweightDecorator.java