]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Reviewed realization code.
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 27 Aug 2010 13:31:24 +0000 (13:31 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 27 Aug 2010 13:31:24 +0000 (13:31 +0000)
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

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

index ba87681684ec93ab665c01a2b5f55e20ebc2c16b..115c867141d0a2f311b122e89308c04526655255 100644 (file)
@@ -24,10 +24,10 @@ public class DefaultRealizationVirtualGraph extends RealizationVirtualGraph {
                Resource defaultsResource = graph.newResource();\r
                int modelNode = context.getIndex(model);\r
                int defaultsNode = context.getIndex(defaultsResource);\r
-               graph.claim(model, b.ConsistsOf, null, defaultsResource);\r
-               graph.claim(model, b.HasBaseRealization, null, defaultsResource);\r
+               graph.claim(model, L0.ConsistsOf, null, defaultsResource);\r
+               graph.claim(model, L0.HasBaseRealization, null, defaultsResource);\r
                \r
-               undiscovered.put(defaultsNode, new ResourceData(modelNode, configuration, b.Realization, "BaseRealization", null, null));\r
+               undiscovered.put(defaultsNode, new ResourceData(modelNode, configuration, L0.Realization, "BaseRealization", null, null));\r
                \r
        }\r
        \r