]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
New graph compiler -generated Resource classes committed where getInstance(Session...
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 21 Aug 2013 11:07:56 +0000 (11:07 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 21 Aug 2013 11:07:56 +0000 (11:07 +0000)
Please update your graph compilers to 1.1.13.201308191458.

refs #4393

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27765 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.jfreechart.ontology/src/org/simantics/sysdyn/JFreeChartResource.java
org.simantics.sysdyn.ontology/src/org/simantics/sysdyn/SysdynResource.java

index 543c17dde055f5b4f9612ae1a12b9aba29cb40e6..88ccbc8380fb9273d832a831da6ff217d033f96d 100644 (file)
@@ -1,5 +1,6 @@
 package org.simantics.sysdyn;\r
 \r
+import org.simantics.db.RequestProcessor;\r
 import org.simantics.db.Resource;\r
 import org.simantics.db.ReadGraph;\r
 import org.simantics.db.request.Read;\r
@@ -423,7 +424,7 @@ public class JFreeChartResource {
         return ret;\r
     }\r
     \r
-    public static JFreeChartResource getInstance(Session session) throws DatabaseException {\r
+    public static JFreeChartResource getInstance(RequestProcessor session) throws DatabaseException {\r
         JFreeChartResource ret = session.peekService(JFreeChartResource.class);\r
         if(ret == null) {\r
             ret = session.syncRequest(new Read<JFreeChartResource>() {\r
index ad3b3f543f69bbc5dcaa4e22e0f1f8a3b85d0813..dd5bebb89d9046cf578945dcdfd4188c9410a792 100644 (file)
@@ -1,5 +1,6 @@
 package org.simantics.sysdyn;\r
 \r
+import org.simantics.db.RequestProcessor;\r
 import org.simantics.db.Resource;\r
 import org.simantics.db.ReadGraph;\r
 import org.simantics.db.request.Read;\r
@@ -2232,7 +2233,7 @@ public class SysdynResource {
         return ret;\r
     }\r
     \r
-    public static SysdynResource getInstance(Session session) throws DatabaseException {\r
+    public static SysdynResource getInstance(RequestProcessor session) throws DatabaseException {\r
         SysdynResource ret = session.peekService(SysdynResource.class);\r
         if(ret == null) {\r
             ret = session.syncRequest(new Read<SysdynResource>() {\r