import org.simantics.db.common.uri.URIToResource;\r
import org.simantics.db.exception.DatabaseException;\r
import org.simantics.db.service.LifecycleSupport;\r
-import org.simantics.layer0.utils.direct.GraphUtils;\r
import org.simantics.project.ProjectElementType;\r
import org.simantics.project.ProjectElements;\r
import org.simantics.project.ProjectKeys;\r
Builtins b = g.getBuiltins();\r
SysdynResource sr = SysdynResource.getInstance(g);\r
Resource model = g.newResource();\r
- g.claimValue(model, b.HasName, GraphUtils.findFreshName(g, "Configuration", library));\r
+ g.claimValue(model, b.HasName, "Configuration");\r
g.claim(model, b.InstanceOf, sr.Configuration);\r
g.claim(model, b.PartOf, library);\r
g.claimValue(model, sr.HasStartTime, 0.0);\r