]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/SheetFactory.java
Multiple reader thread support for db client
[simantics/platform.git] / bundles / org.simantics.spreadsheet.ui / src / org / simantics / spreadsheet / ui / SheetFactory.java
index 4669fdf4da1d4078372665d510a0f35effd354da..7edd2e81661c80c741f8162074b9f56ac572d890 100644 (file)
@@ -76,11 +76,11 @@ public class SheetFactory implements ElementFactory {
             }
 
             @Override
-            public void execute(AsyncReadGraph graph, final Resource sheet) {
+            public void execute(AsyncReadGraph g, final Resource sheet) {
 
                 if (sheet != null) {
 
-                    graph.asyncRequest(new ReadRequest() {
+                    g.asyncRequest(new ReadRequest() {
 
                         @Override
                         public void run(ReadGraph graph) throws DatabaseException {
@@ -138,7 +138,7 @@ public class SheetFactory implements ElementFactory {
                             // This is called too early as backend.load is
                             // definitely not complete at this time, but right now that is
                             // acceptable from the implementation point-of-view.
-                            procedure.execute(graph, element);
+                            procedure.execute(g, element);
 
                         }