Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2003-11-17 19:20:42 +0000
committerDani Megert2003-11-17 19:20:42 +0000
commit7c9ac55faa850f5ef67c873c696e873378091d0f (patch)
tree0e32134d4eda86c4ed4b6b526c837d40f984c705 /org.eclipse.core.filebuffers
parent2d5e8e0a7290ea994875b2f94013b93d14b193b0 (diff)
downloadeclipse.platform.text-7c9ac55faa850f5ef67c873c696e873378091d0f.tar.gz
eclipse.platform.text-7c9ac55faa850f5ef67c873c696e873378091d0f.tar.xz
eclipse.platform.text-7c9ac55faa850f5ef67c873c696e873378091d0f.zip
Fixed bug 46332: [Jobs] UI no longer responsive after pressing ctrl-S
Diffstat (limited to 'org.eclipse.core.filebuffers')
-rw-r--r--org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ContainerGenerator.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ContainerGenerator.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ContainerGenerator.java
index 9661c7c2a..c1b0c7066 100644
--- a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ContainerGenerator.java
+++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ContainerGenerator.java
@@ -104,8 +104,15 @@ public class ContainerGenerator {
}
}
};
+
+ // Get scheduling rule
+ IWorkspaceRoot root= fWorkspace.getRoot();
+ IPath existingParentPath= fContainerFullPath;
+ while (!root.exists(existingParentPath))
+ existingParentPath= existingParentPath.removeLastSegments(1);
- fWorkspace.run(runnable, monitor);
+ IResource schedulingRule= root.findMember(existingParentPath);
+ fWorkspace.run(runnable, schedulingRule, IWorkspace.AVOID_UPDATE, monitor);
return fContainer;
}
}

Back to the top