~vcs-imports/egit/master

« back to all changes in this revision

Viewing changes to org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java

  • Committer: Thomas Wolf
  • Date: 2019-10-12 11:43:56 UTC
  • Revision ID: git-v1:4eb4faf6079dde8e19f38fa9e677147c5145470e
[regression] Fix resource refreshes after git operations

The asynchronous RepositoryChangeScanner must _not_ trigger
synchronous refreshes. It uses a non-resource scheduling rule
and thus must not perform any workspace operations. Re-introduce
the ResourceRefreshJob but let it use the new ResourceRefreshHandler.
Re-add merging of events, and re-introduce IProgressMonitor so that
the UI bundle can cancel its jobs when being stopped.

Bug: 551289
Change-Id: I961ff20355baf7e3d88d2ca222b937f7ffd43fb6
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        public static String Activator_refreshingProjects;
77
77
 
78
78
        /** */
 
79
        public static String Activator_refreshJobName;
 
80
 
 
81
        /** */
79
82
        public static String Activator_repoScanJobName;
80
83
 
81
84
        /** */