SimpleRectangularSubmodelComponent now supports pin names
[Mograsim.git] / net.mograsim.logic.ui / src / net / mograsim / logic / ui / examples / JsonExample.java
index 9cc65b3..793f0f7 100644 (file)
@@ -26,8 +26,8 @@ public class JsonExample
                protected TestComponent(ViewModelModifiable model)
                {
                        super(model, 1, "Test");
-                       setInputCount(1);
                        setSubmodelScale(.4);
+                       setInputPins("Test input pin");
                        GUICustomComponentCreator.create(submodelModifiable, "HalfAdder.json");
                }
        }