From: Marko Luukkainen Date: Wed, 1 Nov 2017 13:55:54 +0000 (+0200) Subject: UpdateNode / UpdateOp may have a Resource X-Git-Tag: v1.31.0~2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=820c9ca2c316976594e0a855e6e79563b0502845;p=simantics%2Finterop.git UpdateNode / UpdateOp may have a Resource --- diff --git a/org.simantics.interop.update/scl/Interop/Update.scl b/org.simantics.interop.update/scl/Interop/Update.scl index d405033..e850b05 100644 --- a/org.simantics.interop.update/scl/Interop/Update.scl +++ b/org.simantics.interop.update/scl/Interop/Update.scl @@ -115,7 +115,7 @@ importJava "org.simantics.interop.update.model.UpdateNode" where data UpdateNode @JavaName getResource - getNodeResource :: UpdateNode -> Resource + getNodeResource :: UpdateNode -> Maybe Resource @JavaName getStatus getNodeStatus :: UpdateNode -> UpdateStatus @@ -163,6 +163,9 @@ importJava "org.simantics.interop.update.model.UpdateOp" where @JavaName isChange opIsChange :: UpdateOp -> Boolean + @JavaName getResource + getOpResource :: UpdateOp -> Maybe Resource + importJava "org.simantics.interop.update.model.UpdateNode3" where data UpdateNode3