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:
parent
fcf978593f
commit
d333b65022
3 changed files with 17 additions and 20 deletions
|
@ -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
|
2005-05-10 Vladimir Hirsl
|
||||||
Fix for PR 94500: [Path Entry] Problem marker: Invalid project path: DISCOVERED_SCANNER_INFO
|
Fix for PR 94500: [Path Entry] Problem marker: Invalid project path: DISCOVERED_SCANNER_INFO
|
||||||
|
|
||||||
|
|
|
@ -18,26 +18,14 @@ import org.eclipse.core.runtime.IPath;
|
||||||
*/
|
*/
|
||||||
public interface IPathEntryContainerExtension extends IPathEntryContainer {
|
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);
|
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);
|
|
||||||
//
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -841,6 +841,10 @@ public class PathEntryManager implements IPathEntryStoreListener, IElementChange
|
||||||
if (celement instanceof IOpenable) {
|
if (celement instanceof IOpenable) {
|
||||||
try {
|
try {
|
||||||
((IOpenable)celement).close();
|
((IOpenable)celement).close();
|
||||||
|
// Make sure we clear the cache on the project too
|
||||||
|
if (!(celement instanceof ICProject)) {
|
||||||
|
celement.getCProject().close();
|
||||||
|
}
|
||||||
} catch (CModelException e) {
|
} catch (CModelException e) {
|
||||||
// ignore.
|
// ignore.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue