From: Hannu Niemistö Date: Mon, 2 Oct 2017 05:23:16 +0000 (+0300) Subject: (refs #7522) Added isPersistent to Simantics/DB X-Git-Tag: v1.31.0~158 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=de6ca001c169e87055e8e66f450baf4f6119110e;p=simantics%2Fplatform.git (refs #7522) Added isPersistent to Simantics/DB Change-Id: Ib7e405641d30380d668ed9d618776eca3e15adab --- diff --git a/bundles/org.simantics.scl.db/scl/Simantics/DB.scl b/bundles/org.simantics.scl.db/scl/Simantics/DB.scl index a35092bd9..a97d573a3 100644 --- a/bundles/org.simantics.scl.db/scl/Simantics/DB.scl +++ b/bundles/org.simantics.scl.db/scl/Simantics/DB.scl @@ -20,6 +20,8 @@ importJava "org.simantics.db.Resource" where @JavaName getResourceId resourceId :: Resource -> Long + isPersistent :: Resource -> Boolean + importJava "org.simantics.db.ReadGraph" where data ReadGraphX