X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui.am2900%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fui%2Fmodel%2Fcomponents%2Fmi%2Fnandbased%2Fam2901%2FGUIAm2901ALUInclSourceDecodeInclFunctionDecode.java;h=12da51c0480a8629af59c72cbd80bf6b67a1273c;hb=5ece0acf049bf9af2933f513fe0206565681f622;hp=784e200e09b9bcf9c743cee29ac300f7472806cc;hpb=2fd5bc7536c065766aaa59113697d5c2ea690962;p=Mograsim.git diff --git a/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUInclSourceDecodeInclFunctionDecode.java b/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUInclSourceDecodeInclFunctionDecode.java index 784e200e..12da51c0 100644 --- a/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUInclSourceDecodeInclFunctionDecode.java +++ b/net.mograsim.logic.ui.am2900/src/net/mograsim/logic/ui/model/components/mi/nandbased/am2901/GUIAm2901ALUInclSourceDecodeInclFunctionDecode.java @@ -14,7 +14,12 @@ public class GUIAm2901ALUInclSourceDecodeInclFunctionDecode extends SimpleRectan { public GUIAm2901ALUInclSourceDecodeInclFunctionDecode(ViewModelModifiable model) { - super(model, 1, "GUIAm2901ALUInclSourceDecodeInclFunctionDecode"); + this(model, null); + } + + public GUIAm2901ALUInclSourceDecodeInclFunctionDecode(ViewModelModifiable model, String name) + { + super(model, 1, "GUIAm2901ALUInclSourceDecodeInclFunctionDecode", name); setSubmodelScale(.25); setInputPins("I5", "I4", "I3", "I2", "I1", "I0", "Cn", "D1", "D2", "D3", "D4", "A1", "A2", "A3", "A4", "B1", "B2", "B3", "B4", "Q1", "Q2", "Q3", "Q4"); @@ -141,7 +146,7 @@ public class GUIAm2901ALUInclSourceDecodeInclFunctionDecode extends SimpleRectan static { - IndirectGUIComponentCreator.setComponentProvider(GUIAm2901ALUInclSourceDecodeInclFunctionDecode.class.getCanonicalName(), - (m, p) -> new GUIAm2901ALUInclSourceDecodeInclFunctionDecode(m)); + IndirectGUIComponentCreator.setComponentSupplier(GUIAm2901ALUInclSourceDecodeInclFunctionDecode.class.getCanonicalName(), + (m, p, n) -> new GUIAm2901ALUInclSourceDecodeInclFunctionDecode(m, n)); } } \ No newline at end of file