From: Antti Villberg Date: Mon, 14 Oct 2019 05:29:46 +0000 (+0300) Subject: Allow module updaters to customise applyRules X-Git-Tag: v1.43.0~136^2~56 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=1ae3cacae664befed5dfafbb51d337d209d206d7;p=simantics%2Fplatform.git Allow module updaters to customise applyRules gitlab #395 Change-Id: I2c0579cf2e805e1fa88e9f4e1b8dfeb0c8845c1f --- diff --git a/bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/base/ModuleUpdaterBase.java b/bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/base/ModuleUpdaterBase.java index f7a20768f..048691c6b 100644 --- a/bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/base/ModuleUpdaterBase.java +++ b/bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/base/ModuleUpdaterBase.java @@ -61,7 +61,7 @@ abstract public class ModuleUpdaterBase> { abstract public CommandBuilder createUpdateCommandBuilder(String name); - private void applyRules(ModuleUpdateContext context, boolean inCreate, + protected void applyRules(ModuleUpdateContext context, boolean inCreate, Collection properties, Collection connections) { THashMap propertyMap = new THashMap(properties.size()); Map> connectionMap = connections.isEmpty()