From: villberg Date: Mon, 7 Jun 2010 12:04:54 +0000 (+0000) Subject: More support for Variable handling. X-Git-Tag: simantics-1.2.0~226 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=17ed64e7cfcbdaf08d90077e02b79abaeb53d4e2;p=simantics%2Fsysdyn.git More support for Variable handling. git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@16068 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProjectLifeCycle.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProjectLifeCycle.java index d0127081..85c9d6e7 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProjectLifeCycle.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProjectLifeCycle.java @@ -86,7 +86,7 @@ public class SysdynProjectLifeCycle implements IProjectLifeCycle{ // System.out.println("A1"); - Builtins b = session.getBuiltins(); + final Builtins b = session.getBuiltins(); ActivationManager activationManager = session.getService(ActivationManager.class); if (activationManager != null) { activationManager.activate(processor, projectResource); @@ -112,7 +112,7 @@ public class SysdynProjectLifeCycle implements IProjectLifeCycle{ public void run() { try { // System.out.println("A5 " + model); - graph.register(new ValuationVirtualGraph(session, model)); + graph.register(new ValuationVirtualGraph(session, model, b.Valuation)); } catch (DatabaseException e) { e.printStackTrace(); }