X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.spreadsheet%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fsynchronization%2FNullUpdater.java;fp=bundles%2Forg.simantics.spreadsheet%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fsynchronization%2FNullUpdater.java;h=f4e1cac54154074daf715461a69494e5b27681cc;hb=f56d8b5c5225ef421009dadca4cec0ac56aef019;hp=0000000000000000000000000000000000000000;hpb=89b915a237d980f62d9ffe2caeb8a69170e0ce56;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.spreadsheet/src/org/simantics/spreadsheet/synchronization/NullUpdater.java b/bundles/org.simantics.spreadsheet/src/org/simantics/spreadsheet/synchronization/NullUpdater.java new file mode 100644 index 000000000..f4e1cac54 --- /dev/null +++ b/bundles/org.simantics.spreadsheet/src/org/simantics/spreadsheet/synchronization/NullUpdater.java @@ -0,0 +1,24 @@ +package org.simantics.spreadsheet.synchronization; + +import org.simantics.spreadsheet.solver.SheetLineComponent; +import org.simantics.structural.synchronization.base.CommandBuilder; +import org.simantics.structural.synchronization.base.ModuleUpdaterBase; + +public class NullUpdater extends ModuleUpdaterBase { + + public NullUpdater(String typeId) { + super(typeId); + isComposite = true; + } + + @Override + public CommandBuilder createAddCommandBuilder(String name) { + return new NullCommandBuilder(); + } + + @Override + public CommandBuilder createUpdateCommandBuilder(String name) { + return new NullCommandBuilder(); + } + +} \ No newline at end of file