Don't decorate every single resource on repository change
commit8d11af93abf700a4b73c8582803fe526e1eaf9ae
authorTor Arne Vestbø <torarnv@gmail.com>
Wed, 11 Feb 2009 18:40:12 +0000 (11 19:40 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 18 Feb 2009 21:21:58 +0000 (18 22:21 +0100)
treef863c78687b59c8a0c996e9ac8ea2d1311ef6dcb
parent6fbe5b4ab17afac81fe6b00522f6a3addd9f6185
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>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitLightweightDecorator.java