mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Rely on the store to fire the delta
This commit is contained in:
parent
41201a534a
commit
2ef688cd80
1 changed files with 0 additions and 6 deletions
|
@ -18,7 +18,6 @@ import java.util.HashSet;
|
|||
import java.util.Iterator;
|
||||
|
||||
import org.eclipse.cdt.core.model.CModelException;
|
||||
import org.eclipse.cdt.core.model.ICElementDelta;
|
||||
import org.eclipse.cdt.core.model.ICProject;
|
||||
import org.eclipse.cdt.core.model.IPathEntry;
|
||||
import org.eclipse.core.resources.IProject;
|
||||
|
@ -55,11 +54,6 @@ public class SetPathEntriesOperation extends CModelOperation {
|
|||
PathEntryManager mgr = PathEntryManager.getDefault();
|
||||
hasModifiedResource = true;
|
||||
mgr.saveRawPathEntries(cproject, newRawEntries);
|
||||
IPathEntry[] newResolvedEntries = mgr.getResolvedPathEntries(cproject);
|
||||
ICElementDelta[] deltas = mgr.generatePathEntryDeltas(cproject, oldResolvedEntries, newResolvedEntries);
|
||||
for (int i = 0; i < deltas.length; i++) {
|
||||
addDelta(deltas[i]);
|
||||
}
|
||||
done();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue