mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
CView was not refreshing when close project.
This commit is contained in:
parent
55aa4e1abf
commit
223e4b652a
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-03-30 Alain Magloire
|
||||
|
||||
Fix in the CView was not refreshing.
|
||||
* src/org/eclipse/cdt/internal/ui/BaseCElementContentProvider.java
|
||||
|
||||
2004-03-30 Alain Magloire
|
||||
|
||||
Change the icons of the Namespace, folks found it
|
||||
|
|
|
@ -359,11 +359,17 @@ public class BaseCElementContentProvider implements ITreeContentProvider {
|
|||
// folder we have to exclude it as a normal child.
|
||||
if (o instanceof IFolder) {
|
||||
IFolder folder = (IFolder)o;
|
||||
boolean found = false;
|
||||
for (int j = 0; j < roots.length; j++) {
|
||||
if (roots[j].getPath().equals(folder.getFullPath())) {
|
||||
continue;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
// it is a sourceRoot skip it.
|
||||
if (found) {
|
||||
continue;
|
||||
}
|
||||
} else if (o instanceof IFile){
|
||||
boolean found = false;
|
||||
for (int j = 0; j < binaries.length; j++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue