- * Creates a {@link SubmodelComponent} from the {@link SubmodelComponentParams}, specified at the given path. The returned
- * SubmodelComponent can also be e.g. a {@link SimpleRectangularSubmodelComponent}, depending on what the
- * {@link SubmodelComponentParams} describe.
+ * Like {@link #create(ViewModelModifiable, String, String)}, but using the default name.
+ */
+ public static SubmodelComponent create(ViewModelModifiable model, String path)
+ {
+ return create(model, path, null);
+ }
+
+ /**
+ * Creates a {@link SubmodelComponent} from the {@link SubmodelComponentParams} located at the given path as a JSON file. The returned
+ * SubmodelComponent is a {@link DeserializedSubmodelComponent}.