X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.simulation%2Fsrc%2Forg%2Fsimantics%2Fsimulation%2Fdata%2FVariableHandle.java;fp=bundles%2Forg.simantics.simulation%2Fsrc%2Forg%2Fsimantics%2Fsimulation%2Fdata%2FVariableHandle.java;h=360ea96fc2db48b3e3a031d67212d54888cafeef;hp=d501dbecd5317cafceaf90a76edc67c6f2c98cb3;hb=14a4f7a9d486fba5be815e511fb2a497fca4eb70;hpb=751ee12501d220832b672dd433655a4d65806fd9 diff --git a/bundles/org.simantics.simulation/src/org/simantics/simulation/data/VariableHandle.java b/bundles/org.simantics.simulation/src/org/simantics/simulation/data/VariableHandle.java index d501dbecd..360ea96fc 100644 --- a/bundles/org.simantics.simulation/src/org/simantics/simulation/data/VariableHandle.java +++ b/bundles/org.simantics.simulation/src/org/simantics/simulation/data/VariableHandle.java @@ -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. */