From: lehtonen Date: Fri, 27 Aug 2010 13:31:24 +0000 (+0000) Subject: Reviewed realization code. X-Git-Tag: simantics-1.2.0~68 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=fc4f927d00c8530d0794f0aed69cf9f1ead7f1f2;p=simantics%2Fsysdyn.git Reviewed realization code. Added equals/hashcode in Realization implementations. Builtins->Layer0. git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@17665 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/DefaultRealizationVirtualGraph.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/DefaultRealizationVirtualGraph.java index ba876816..115c8671 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/DefaultRealizationVirtualGraph.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/DefaultRealizationVirtualGraph.java @@ -24,10 +24,10 @@ public class DefaultRealizationVirtualGraph extends RealizationVirtualGraph { Resource defaultsResource = graph.newResource(); int modelNode = context.getIndex(model); int defaultsNode = context.getIndex(defaultsResource); - graph.claim(model, b.ConsistsOf, null, defaultsResource); - graph.claim(model, b.HasBaseRealization, null, defaultsResource); + graph.claim(model, L0.ConsistsOf, null, defaultsResource); + graph.claim(model, L0.HasBaseRealization, null, defaultsResource); - undiscovered.put(defaultsNode, new ResourceData(modelNode, configuration, b.Realization, "BaseRealization", null, null)); + undiscovered.put(defaultsNode, new ResourceData(modelNode, configuration, L0.Realization, "BaseRealization", null, null)); }