]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/utils/PropertyUpdateRule.java
Required changes in Spreadsheet
[simantics/platform.git] / bundles / org.simantics.structural.synchronization / src / org / simantics / structural / synchronization / utils / PropertyUpdateRule.java
1 package org.simantics.structural.synchronization.utils;
2
3 import java.util.Collection;
4 import java.util.Map;
5
6 import org.simantics.databoard.binding.mutable.Variant;
7
8
9 public interface PropertyUpdateRule<T extends ComponentBase<T>> {
10
11     String getPropertyName();    
12     void apply(ModuleUpdateContext<T> context, boolean isCreating, 
13             Map<String, Variant> propertyMap,
14             Map<String, Collection<String>> connectionMap,
15             Variant value);
16
17 }