1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

revert alain changes for now

This commit is contained in:
David Inglis 2004-08-26 16:34:31 +00:00
parent 0ec0d60184
commit 469ac36812

View file

@ -265,8 +265,9 @@ public class DeltaProcessor {
elementRemoved(element, delta);
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
rootInfo.setNonCResources(null);
} else {
fCurrentDelta.closed(element);
}
fCurrentDelta.closed(element);
}
/**
@ -281,11 +282,15 @@ public class DeltaProcessor {
if (element.getElementType() == ICElement.C_PROJECT) {
// treat project opening as addition
if (hasCNature(delta.getResource())) {
elementAdded(element, delta);
}
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
rootInfo.setNonCResources(null);
fCurrentDelta.added(element);
} else {
fCurrentDelta.opened(element);
}
fCurrentDelta.opened(element);
}
/*