Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-11-23 19:50:10 +0000
committerMichael Valenta2004-11-23 19:50:10 +0000
commitd9db5410703ec8643fbe5b6f108f8c65eb714e97 (patch)
treea83a2b157f3f9c5747caa1f897cb7e28d92001fc
parent5f9f6e7f8f287316f10693f29db4a91d4e31f4b8 (diff)
downloadeclipse.platform.team-d9db5410703ec8643fbe5b6f108f8c65eb714e97.tar.gz
eclipse.platform.team-d9db5410703ec8643fbe5b6f108f8c65eb714e97.tar.xz
eclipse.platform.team-d9db5410703ec8643fbe5b6f108f8c65eb714e97.zip
Fix to timing issue with test cases
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
index 5f987eaa0..e951c85cc 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
@@ -363,7 +363,11 @@ public class ChangeSetModelProvider extends CompositeModelProvider {
public void waitUntilDone(IProgressMonitor monitor) {
super.waitUntilDone(monitor);
- if (checkedInCollector != null) checkedInCollector.waitUntilDone(monitor);
+ if (checkedInCollector != null) {
+ checkedInCollector.waitUntilDone(monitor);
+ // Wait for the provider again since the change set handler may have queued UI updates
+ super.waitUntilDone(monitor);
+ }
}
void removeModelElementForSet(final ChangeSet set) {

Back to the top