]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21751 ac1ea38d-2e2b...
authormelander <melander@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 16 Aug 2011 06:29:05 +0000 (06:29 +0000)
committermelander <melander@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 16 Aug 2011 06:29:05 +0000 (06:29 +0000)
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/Model.java

index 0ff5841195e7cfed4e43166f834f0b4489d12cda..1d50d2f1d3b19199e76b45ab0228467956427c90 100644 (file)
@@ -22,7 +22,7 @@ import org.simantics.db.common.primitiverequest.PossibleObject;
 import org.simantics.db.exception.DatabaseException;\r
 import org.simantics.db.layer0.variable.Variable;\r
 import org.simantics.db.layer0.variable.Variables;\r
-import org.simantics.layer0.Layer0;\r
+import org.simantics.operation.Layer0X;\r
 import org.simantics.sysdyn.ui.browser.nodes.ConfigurationNode;\r
 import org.simantics.sysdyn.ui.browser.nodes.ExperimentsFolder;\r
 import org.simantics.sysdyn.ui.browser.nodes.FunctionsFolder;\r
@@ -36,7 +36,7 @@ public class Model  extends ViewpointContributor<ModelNode> {
     throws DatabaseException {\r
         ArrayList<AbstractNode<Resource>> result = new ArrayList<AbstractNode<Resource>>();\r
         \r
-        Layer0 l0 = Layer0.getInstance(graph);\r
+        Layer0X L0X = Layer0X.getInstance(graph);\r
         Resource baseRealization = graph.syncRequest(new PossibleObject(model.data, L0X.HasBaseRealization));\r
         if (baseRealization != null) {\r
                try {\r