]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/TypicalUtil.java
Remove usage of deprecated SimanticsUI-methods
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / typicals / TypicalUtil.java
index 3016311ff9c0411be3eb22cb8b11ab6a440ad960..a92d7b62643d713ac3095f1d7df58966e8cb80f2 100644 (file)
@@ -260,7 +260,7 @@ public class TypicalUtil {
             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);