From fc4f927d00c8530d0794f0aed69cf9f1ead7f1f2 Mon Sep 17 00:00:00 2001 From: lehtonen Date: Fri, 27 Aug 2010 13:31:24 +0000 Subject: [PATCH] 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 --- .../sysdyn/ui/project/DefaultRealizationVirtualGraph.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); } -- 2.47.1