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:
parent
043f79d100
commit
e809560687
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue