[historyView] Highlight filtered files in file diff viewer
commit6bcaf8223ccf9838774138e1b9e9bb15b9d35703
authorRobin Stocker <robin@nibor.org>
Mon, 25 Jun 2012 22:55:49 +0000 (26 00:55 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 6 Feb 2013 23:57:44 +0000 (7 00:57 +0100)
tree1c16c31ace9b2dc4d388b87ccd90613a7af53fb7
parentb66d44e2b3284d76a20735f47eafb05a6093fb23
[historyView] Highlight filtered files in file diff viewer

The fix for bug 360073 changed the History view file diff viewer to show
all files of a commit, regardless of the resource filter. This made it
sometimes hard to find the files that the filter is focused on.

This change improves that by rendering the files that are not matched by
the filter in gray. The matching files are rendered in the same color as
before. With this, the files can be found at a glance instead of reading
through the paths.

Bug: 393610
JGit-Dependency: Icf911fe6fca131b2567514f54d66636a44561af1
Change-Id: I03da4b38d1591495cb290909f0e4c6e52270e97f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/RepositoryCommit.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitFileDiffViewer.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiff.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiffContentProvider.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiffLabelProvider.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java