if (excludedComponents != null && excludedComponents.contains(component))
continue;
try {
- String renamed = ComponentNamingUtil.findFreshInstanceName(graph, SimanticsUI.getProject(), configurationRoot, typicalCompositeInstance, component);
+ String renamed = ComponentNamingUtil.findFreshInstanceName(graph, Simantics.getProject(), configurationRoot, typicalCompositeInstance, component);
if (DEBUG)
System.out.println("Typicals: renamed " + entry.getKey() + " -> " + renamed);
graph.claimLiteral(entry.getValue(), L0.HasName, L0.NameOf, renamed, Bindings.STRING);