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