]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
More support for Variable handling.
authorvillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 7 Jun 2010 12:04:54 +0000 (12:04 +0000)
committervillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 7 Jun 2010 12:04:54 +0000 (12:04 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@16068 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProjectLifeCycle.java

index d012708175fde720182cefccf4b576849d5a0008..85c9d6e7bda8532c03ab46e418b0f20f41830547 100644 (file)
@@ -86,7 +86,7 @@ public class SysdynProjectLifeCycle implements IProjectLifeCycle{
 \r
 //                System.out.println("A1");\r
 \r
-                Builtins b = session.getBuiltins();\r
+                final Builtins b = session.getBuiltins();\r
                 ActivationManager activationManager = session.getService(ActivationManager.class);\r
                 if (activationManager != null) {\r
                     activationManager.activate(processor, projectResource);\r
@@ -112,7 +112,7 @@ public class SysdynProjectLifeCycle implements IProjectLifeCycle{
                             public void run() {\r
                                 try {\r
 //                                  System.out.println("A5 " + model);\r
-                                    graph.register(new ValuationVirtualGraph(session, model));\r
+                                    graph.register(new ValuationVirtualGraph(session, model, b.Valuation));\r
                                 } catch (DatabaseException e) {\r
                                     e.printStackTrace();\r
                                 }\r