]> gerrit.simantics Code Review - simantics/platform.git/blob
3fa3379aa9b2c3fa5b9e27c62dba4ce5f18c0541
[simantics/platform.git] /
1 package org.simantics.spreadsheet.graph.synchronization;
2
3 import org.simantics.structural.synchronization.utils.CommandBuilder;
4 import org.simantics.structural.synchronization.utils.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 }