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