~vcs-imports/egit/master

  • Committer: Thomas Wolf
  • Date: 2019-02-20 11:18:43 UTC
  • Revision ID: git-v1:e82658eeeee9501b5ef21c9e0e987449dc1a0792
Don't trigger decorations for getting an image of a RepositoryTreeNode

Clicking on a RepositoryTreeNode in the repositories view shows the
selected item (or a summary if several are selected) in the status
bar. It shows the icon and a description text obtained from
RepositoryTreeNodeLabelProvider.getDescription(). The latter doesn't
trigger decorations, but getting the image did.

Decorations for repository tree nodes can be expensive to calculate,
in particular the branch status (N commit ahead/behind upstream). Even
if they run in the background, we should avoid running them needlessly.

Since we don't decorate icons for repository tree nodes anyway (we do
this synchronously in the label provider to avoid flickering), shortcut
to the plain label provider directly and skip the decorator completely
in getImage().

Without this, each selection change (such as a simple click on a node)
in the repositories view triggered a re-evaluation of the decorations
of that node, which is simply not necessary.

Bug: 544600
Change-Id: I124d4c68ba4fcb31a3f1623ff35f669eb1976101
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Filename Latest Rev Last Changed Committer Comment Size
..
.mvn 3242 8 years ago Matthias Sohn [test log] Unify pom.xml for tests and configure J Diff
icons 3707 6 years ago Matthias Sohn Icon clean-up: use PNG, provide HiDPI versions, in Diff
org.eclipse.egit 1 14 years ago Shawn O. Pearce Initial EGit contribution to eclipse.org Per CQ 3 Diff
org.eclipse.egit-feature 1 14 years ago Shawn O. Pearce Initial EGit contribution to eclipse.org Per CQ 3 Diff
org.eclipse.egit.core 1 14 years ago Shawn O. Pearce Initial EGit contribution to eclipse.org Per CQ 3 Diff
org.eclipse.egit.core.junit 4069 5 years ago Gerrit Code Review @ Eclipse.org Merge "Have test base classes in new plugin for be Diff
org.eclipse.egit.core.test 1 14 years ago Shawn O. Pearce Initial EGit contribution to eclipse.org Per CQ 3 Diff
org.eclipse.egit.doc 77 14 years ago Matthias Sohn Adding a documentation project for EGit Change-Id Diff
org.eclipse.egit.gitflow 2972 8 years ago Matthias Sohn Extend EGit to allow use of git-flow Initial impl Diff
org.eclipse.egit.gitflow-feature 2972 8 years ago Matthias Sohn Extend EGit to allow use of git-flow Initial impl Diff
org.eclipse.egit.gitflow.test 2972 8 years ago Matthias Sohn Extend EGit to allow use of git-flow Initial impl Diff
org.eclipse.egit.gitflow.ui 2972 8 years ago Matthias Sohn Extend EGit to allow use of git-flow Initial impl Diff
org.eclipse.egit.mylyn-feature 867 13 years ago Chris Aniszczyk Add initial EGit Mylyn integration Generates the Diff
org.eclipse.egit.mylyn.ui 867 13 years ago Chris Aniszczyk Add initial EGit Mylyn integration Generates the Diff
org.eclipse.egit.mylyn.ui.test 1455 12 years ago Matthias Sohn Support hyperlink detector for Commit ids In orde Diff
org.eclipse.egit.repository 1972 12 years ago Gerrit Code Review @ Eclipse.org Merge "Update tycho version to 0.14.1" Diff
org.eclipse.egit.source-feature 535 13 years ago Chris Aniszczyk Generate source bundles and source feature for egi Diff
org.eclipse.egit.target 2003 11 years ago Matthias Sohn Merge branch 'stable-2.0' * stable-2.0: [histor Diff
org.eclipse.egit.ui 1 14 years ago Shawn O. Pearce Initial EGit contribution to eclipse.org Per CQ 3 Diff
org.eclipse.egit.ui.importer.tests 3106 8 years ago Matthias Sohn Merge branch 'stable-4.0' * stable-4.0: Prepare Diff
org.eclipse.egit.ui.smartimport 3342 8 years ago Matthias Sohn Use SmartImport API from Platform UI Replace the Diff
org.eclipse.egit.ui.test 56 14 years ago Robin Rosenberg Create an automatic UI test for the Git Import Wiz Diff
tools 2 14 years ago Shawn O. Pearce Utility to graft old EGit history onto repository Diff
.gitattributes 1 14 years ago Shawn O. Pearce Initial EGit contribution to eclipse.org Per CQ 3 17 bytes Diff Download File
.gitignore 4067 5 years ago Michael Keppler Unify gitignore rules in a single top level file 99 bytes Diff Download File
.project 4085 5 years ago Gunnar Wagenknecht Define top-level project This allows an easier ac 197 bytes Diff Download File
CONTRIBUTING.md 2774 9 years ago Matthias Sohn Update SUBMITTING_PATCHES It contained outdated i 1.2 KB Diff Download File
egit.psf 3440 7 years ago David Pursehouse Remove references to org.eclipse.jgit.java7 Chang 3.2 KB Diff Download File
EGIT_INSTALL 3475 7 years ago Matthias Sohn Change EGit minimum execution environment to JavaS 1.4 KB Diff Download File
LICENSE 3881.1.8 5 years ago Matthias Sohn Update license to EPL-2.0 Bug: 530393 Change-Id: 13.8 KB Diff Download File
pom.xml 4163 5 years ago Michael Keppler Use spotbugs 3.1.11 Change-Id: Ic6190d3dc749cf9a9 17.5 KB Diff Download File
README.md 4145 5 years ago Matthias Sohn Update and improve README - update and improve co 5.1 KB Diff Download File