mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +02:00
do ADDED for C Project also.
This commit is contained in:
parent
1e9cf4ea12
commit
0ec0d60184
1 changed files with 2 additions and 2 deletions
|
@ -265,9 +265,8 @@ public class DeltaProcessor {
|
||||||
elementRemoved(element, delta);
|
elementRemoved(element, delta);
|
||||||
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
|
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
|
||||||
rootInfo.setNonCResources(null);
|
rootInfo.setNonCResources(null);
|
||||||
} else {
|
|
||||||
fCurrentDelta.closed(element);
|
|
||||||
}
|
}
|
||||||
|
fCurrentDelta.closed(element);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -284,6 +283,7 @@ public class DeltaProcessor {
|
||||||
// treat project opening as addition
|
// treat project opening as addition
|
||||||
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
|
CModelInfo rootInfo = (CModelInfo)CModelManager.getDefault().getCModel().getElementInfo();
|
||||||
rootInfo.setNonCResources(null);
|
rootInfo.setNonCResources(null);
|
||||||
|
fCurrentDelta.added(element);
|
||||||
}
|
}
|
||||||
fCurrentDelta.opened(element);
|
fCurrentDelta.opened(element);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue