]> gerrit.simantics Code Review - simantics/platform.git/blob
e03169fd4b9f0f72bb92d01747662591bac53051
[simantics/platform.git] /
1 package org.simantics.spreadsheet.graph.synchronization;
2
3 import org.simantics.structural.synchronization.base.CommandBuilder;
4 import org.simantics.structural.synchronization.base.ModuleUpdaterBase;
5
6 public class NullUpdater extends ModuleUpdaterBase<SheetLineComponent> {
7         
8         public NullUpdater(String typeId) {
9                 super(typeId);
10                 isComposite = true;
11         }
12
13         @Override
14         public CommandBuilder createAddCommandBuilder(String name) {
15                 return new NullCommandBuilder();
16         }
17
18         @Override
19         public CommandBuilder createUpdateCommandBuilder(String name) {
20                 return new NullCommandBuilder();
21         }
22         
23 }