1 package org.simantics.graph.compiler.internal.procedures;
\r
3 import org.simantics.graph.store.GraphStore;
\r
4 import org.simantics.graph.store.IdentityStore;
\r
6 public class PropagateNewMarks implements Runnable {
\r
7 IdentityStore identities;
\r
9 public PropagateNewMarks(GraphStore store) {
\r
10 this.identities = store.identities;
\r
13 private void propagateNewMarks(int resource) {
\r
14 for(int child : identities.getChildren(resource))
\r
15 if(identities.markNew(child))
\r
16 propagateNewMarks(child);
\r
21 for(int resource : identities.getNewResources())
\r
22 propagateNewMarks(resource);
\r