1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

Fix for the CElementContentProvider, we were not checking

for IBinary/IArchive
This commit is contained in:
Alain Magloire 2004-09-02 19:17:03 +00:00
parent 043f79d100
commit e809560687

View file

@ -171,6 +171,10 @@ public class BaseCElementContentProvider implements ITreeContentProvider {
} }
return getTranslationUnitChildren(tu); return getTranslationUnitChildren(tu);
} }
} else if (element instanceof IBinary) {
return ((IBinary)element).getChildren();
} else if (element instanceof IArchive) {
return ((IArchive)element).getChildren();
} else if (element instanceof ISourceReference && element instanceof IParent) { } else if (element instanceof ISourceReference && element instanceof IParent) {
return ((IParent)element).getChildren(); return ((IParent)element).getChildren();
} else if (element instanceof IProject) { } else if (element instanceof IProject) {