public void remove(int id);
- public void addSubprocess(String name);
+ public void addSubprocess(String name, String subprocessType);
public void includeSubprocess(String parentName, String subprocessName);
public <T> T getConcreteSolver();
package org.simantics.structural.synchronization.base;
-import gnu.trove.map.hash.THashMap;
-import gnu.trove.set.hash.THashSet;
-
import java.util.ArrayDeque;
import java.util.Collection;
import java.util.Collections;
import org.simantics.structural.synchronization.protocol.SynchronizationEventHandler;
import org.simantics.structural.synchronization.protocol.SynchronizationException;
+import gnu.trove.map.hash.THashMap;
+import gnu.trove.set.hash.THashSet;
+
/**
* Handles synchronization events by updating the simulator designated by the
* provided {@link Solver} instance.
parentSolverComponentName,
getSubprocessName(name, properties));
try {
- solver.addSubprocess(subprocessName);
+ solver.addSubprocess(subprocessName, updater.subprocessType);
} catch(Exception e) {
reportProblem("Exception while adding subprocess.", e);
}