From 504e69c326d7b68192aed76d0f0c270eea1fd170 Mon Sep 17 00:00:00 2001 From: lempinen Date: Mon, 1 Mar 2010 17:18:04 +0000 Subject: [PATCH] New configurations have name "Configuration" as default git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@14496 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/ui/project/SysdynProject.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProject.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProject.java index 9cf036a7..062cffb2 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProject.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProject.java @@ -9,7 +9,6 @@ import org.simantics.db.WriteGraph; import org.simantics.db.common.uri.URIToResource; import org.simantics.db.exception.DatabaseException; import org.simantics.db.service.LifecycleSupport; -import org.simantics.layer0.utils.direct.GraphUtils; import org.simantics.project.ProjectElementType; import org.simantics.project.ProjectElements; import org.simantics.project.ProjectKeys; @@ -62,7 +61,7 @@ public class SysdynProject extends AbstractProjectFeature { Builtins b = g.getBuiltins(); SysdynResource sr = SysdynResource.getInstance(g); Resource model = g.newResource(); - g.claimValue(model, b.HasName, GraphUtils.findFreshName(g, "Configuration", library)); + g.claimValue(model, b.HasName, "Configuration"); g.claim(model, b.InstanceOf, sr.Configuration); g.claim(model, b.PartOf, library); g.claimValue(model, sr.HasStartTime, 0.0); -- 2.47.1