Skip to main content
diff options
authorThomas Wolf2020-08-12 10:48:58 +0000
committerThomas Wolf2020-08-12 15:54:11 +0000
commitd1a6c600e42b295bc3a777ffa9b474bd28e201ad (patch)
tree112f14d5a6128744827ac693d5282820f3500c4b /org.eclipse.egit.mylyn.ui
parent08c4d998cd5d7d88d58d0b841a7fc6db16691513 (diff)
Do not use the lightweight decorator in the staging viewHEADmaster
This reverts commit a1a7ffd2c2467b4033b83307903a9bf54f560348. Keep the simplifications in the StagingViewLabelProvider. Change the ColorsAndFonts cache to track color and font changes itself (instead of having the GitLightweightDecorator do so). Give the staging view's label provider such a ChangeTrackingColorsAndFonts. In the staging view, update buttons and messages only in response to events from our own ProblemLabelDecorator; we're not interested in other events there. The staging view cannot use the GitLightweightDecorator because it doesn't decorate entries for non-workspace files, and making it do so leads to double decorations on entries that _do_ have resources. Also, going via IResource when a StagingEntry has all the needed information ready is less efficient. For staging entries, decorating on the UI thread is actually feasible. Bug: 565990 Change-Id: Ic32682334884a75a6e52a33039dc72cac464e0fd Signed-off-by: Thomas Wolf <>
Diffstat (limited to 'org.eclipse.egit.mylyn.ui')
0 files changed, 0 insertions, 0 deletions

Back to the top