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=refs%2Fchanges%2F62%2F1062%2F1;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