diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java index 89d59f5758f..c17a940338a 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/CoreModel.java @@ -734,6 +734,27 @@ public class CoreModel { return pathEntryManager.getPathEntryContainerInitializer(containerID); } + /** + * Return the IPathEntryStore of the project. + * + * @param project + * @return + * @throws CoreException + */ + public static IPathEntryStore getPathEntryStore(IProject project) throws CoreException { + return pathEntryManager.getPathEntryStore(project, true); + } + + /** + * Set in the map the store, but not persisted. + * + * @param project + * @param store + */ + public static void setPathEntryStore(IProject project, IPathEntryStore store) { + pathEntryManager.setPathEntryStore(project, store); + } + /** * Validate a given path entries for a project, using the following rules: *