]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.simulation/src/org/simantics/simulation/data/VariableHandle.java
Simulator toolkit enhancements
[simantics/platform.git] / bundles / org.simantics.simulation / src / org / simantics / simulation / data / VariableHandle.java
index d501dbecd5317cafceaf90a76edc67c6f2c98cb3..360ea96fc2db48b3e3a031d67212d54888cafeef 100644 (file)
@@ -36,6 +36,12 @@ public interface VariableHandle {
         */
        Object getValue() throws AccessorException;
 
+       /**
+        * @return current value associated with this handle within the given Datasource
+        * @throws AccessorException if value cannot be retrieved
+        */
+       Object getValue(Datasource datasource) throws AccessorException;
+       
        /**
         * Frees any resource related to this handle.
         */