]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.simulator.toolkit/src/org/simantics/simulator/toolkit/StandardNodeManagerSupport.java
Remove unnecessary System.out print from DynamicExperimentThread
[simantics/platform.git] / bundles / org.simantics.simulator.toolkit / src / org / simantics / simulator / toolkit / StandardNodeManagerSupport.java
1 package org.simantics.simulator.toolkit;
2
3 import java.util.Map;
4
5 import org.simantics.databoard.binding.Binding;
6 import org.simantics.simulator.variable.NodeManager;
7 import org.simantics.simulator.variable.exceptions.NodeManagerException;
8
9 /**
10  * This interface is a simplified version of {@link NodeManager} that only
11  * provides node structure retrieval and property value getting and setting
12  * without regard to realms or listeners.
13  * 
14  * This used to exist in org.simantics.db.layer0 in earlier versions but was
15  * moved here to make it DB-independent.
16  * 
17  * @author Antti Villberg
18  * @since 1.34.0
19  * @param <Node>
20  */
21 public interface StandardNodeManagerSupport<Node> {
22
23         Object getEngineValue(Node node) throws NodeManagerException;
24         Binding getEngineBinding(Node node) throws NodeManagerException;
25         void setEngineValue(Node node, Object value) throws NodeManagerException;
26         String getName(Node node);
27         Map<String,Node> getChildren(Node node);
28         Map<String,Node> getProperties(Node node);
29
30 }