Simple...HardcodedModelComponent now has a constructor without callInit
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 12 Sep 2019 09:21:37 +0000 (11:21 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 12 Sep 2019 09:22:20 +0000 (11:22 +0200)
net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/SimpleRectangularHardcodedModelComponent.java

index d47b44d..8971285 100644 (file)
@@ -38,6 +38,11 @@ public abstract class SimpleRectangularHardcodedModelComponent extends ModelComp
 
        // creation and destruction
 
+       public SimpleRectangularHardcodedModelComponent(LogicModelModifiable model, String id, String name, String centerText)
+       {
+               this(model, id, name, centerText, true);
+       }
+
        public SimpleRectangularHardcodedModelComponent(LogicModelModifiable model, String id, String name, String centerText, boolean callInit)
        {
                super(model, name, false);