From 1ae3cacae664befed5dfafbb51d337d209d206d7 Mon Sep 17 00:00:00 2001 From: Antti Villberg Date: Mon, 14 Oct 2019 08:29:46 +0300 Subject: [PATCH] Allow module updaters to customise applyRules gitlab #395 Change-Id: I2c0579cf2e805e1fa88e9f4e1b8dfeb0c8845c1f --- .../structural/synchronization/base/ModuleUpdaterBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.47.1