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

do ADDED for C Project also.

This commit is contained in:
Alain Magloire 2004-08-26 15:27:06 +00:00
parent 1e9cf4ea12
commit 0ec0d60184

View file

@ -265,9 +265,8 @@ public class DeltaProcessor {
elementRemoved(element, delta);
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
rootInfo.setNonCResources(null);
} else {
fCurrentDelta.closed(element);
}
fCurrentDelta.closed(element);
}
/**
@ -284,6 +283,7 @@ public class DeltaProcessor {
// treat project opening as addition
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
rootInfo.setNonCResources(null);
fCurrentDelta.added(element);
}
fCurrentDelta.opened(element);
}