]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/base/ModuleUpdaterBase.java
Allow module updaters to customise applyRules
[simantics/platform.git] / bundles / org.simantics.structural.synchronization / src / org / simantics / structural / synchronization / base / ModuleUpdaterBase.java
index f7a20768fb4ac8e9e0b77d829f984b23e3f6ae61..048691c6bc4209fef4f3f71e57e803b41770292d 100644 (file)
@@ -61,7 +61,7 @@ abstract public class ModuleUpdaterBase<T extends ComponentBase<T>> {
     
     abstract public CommandBuilder createUpdateCommandBuilder(String name);
     
-    private void applyRules(ModuleUpdateContext<T> context, boolean inCreate,
+    protected void applyRules(ModuleUpdateContext<T> context, boolean inCreate,
             Collection<SerializedVariable> properties, Collection<Connection> connections) {
         THashMap<String, Variant> propertyMap = new THashMap<String, Variant>(properties.size());
         Map<String, Collection<String>> connectionMap = connections.isEmpty()