{
public GUIfulladder(ViewModelModifiable model)
{
- super(model, 1, "GUIfulladder");
+ this(model, null);
+ }
+
+ public GUIfulladder(ViewModelModifiable model, String name)
+ {
+ super(model, 1, "GUIfulladder", name);
setSubmodelScale(.4);
setInputPins("A", "B", "C");
setOutputPins("Y", "Z");
static
{
- IndirectGUIComponentCreator.setComponentProvider(GUIfulladder.class.getCanonicalName(), (m, p) -> new GUIfulladder(m));
+ IndirectGUIComponentCreator.setComponentSupplier(GUIfulladder.class.getCanonicalName(), (m, p, n) -> new GUIfulladder(m, n));
}
}
\ No newline at end of file