1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

2005-05-12 Alain Magloire

For the per file container, make sure we clean the project info.
	* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
	* model/org/eclipse/cdt/core/model/IPathEntryContaienrExtension.java
This commit is contained in:
Alain Magloire 2005-05-12 15:58:52 +00:00
parent fcf978593f
commit d333b65022
3 changed files with 17 additions and 20 deletions

View file

@ -1,3 +1,8 @@
2005-05-12 Alain Magloire
For the per file container, make sure we clean the project info.
* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
* model/org/eclipse/cdt/core/model/IPathEntryContaienrExtension.java
2005-05-10 Vladimir Hirsl
Fix for PR 94500: [Path Entry] Problem marker: Invalid project path: DISCOVERED_SCANNER_INFO

View file

@ -18,26 +18,14 @@ import org.eclipse.core.runtime.IPath;
*/
public interface IPathEntryContainerExtension extends IPathEntryContainer {
/**
* Returns the set of entries associated with the resource
* and empty array if none.
*
* @param path Workspace relative path.
* @return IPathEntry[] - the entries or empty set if none
* @see IPathEntry
*/
IPathEntry[] getPathEntries(IPath path, int typesMask);
// /**
// * Returns the set of include entries associated with the resource
// * and empty array if none.
// *
// * @param path Workspace relative path.
// * @return IIncludeEntry[] - the entries or empty set if none
// * @see IPathEntry
// */
// IIncludeEntry[] getIncludeEntries(IPath path);
//
// /**
// * Returns the set of macro entries associated with the resource
// * and empty array if none.
// *
// * @param path Workspace relative path.
// * @return IMacroEntry[] - the entries or empty set if none
// * @see IPathEntry
// */
// IMacroEntry[] getMacroEntries(IPath path);
//
}

View file

@ -841,6 +841,10 @@ public class PathEntryManager implements IPathEntryStoreListener, IElementChange
if (celement instanceof IOpenable) {
try {
((IOpenable)celement).close();
// Make sure we clear the cache on the project too
if (!(celement instanceof ICProject)) {
celement.getCProject().close();
}
} catch (CModelException e) {
// ignore.
}