]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/synchronization/NullUpdater.java
Improved exception message
[simantics/platform.git] / bundles / org.simantics.spreadsheet.graph / src / org / simantics / spreadsheet / graph / synchronization / NullUpdater.java
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 }