The final restructured version for automatic build using maven tycho
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / model / components / atomic / ModelOrGate.java
diff --git a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelOrGate.java b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelOrGate.java
deleted file mode 100644 (file)
index c09569e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-package net.mograsim.logic.model.model.components.atomic;
-
-import net.mograsim.logic.core.components.gates.CoreOrGate;
-import net.mograsim.logic.model.model.LogicModelModifiable;
-import net.mograsim.logic.model.modeladapter.LogicCoreAdapter;
-import net.mograsim.logic.model.modeladapter.componentadapters.SimpleGateAdapter;
-import net.mograsim.logic.model.serializing.IndirectModelComponentCreator;
-
-public class ModelOrGate extends SimpleRectangularModelGate
-{
-       public ModelOrGate(LogicModelModifiable model, int logicWidth)
-       {
-               this(model, logicWidth, null);
-       }
-
-       public ModelOrGate(LogicModelModifiable model, int logicWidth, String name)
-       {
-               super(model, "OrGate", "\u22651", false, logicWidth, name, false);// ">=1"
-               setInputCount(2);
-               init();
-       }
-
-       static
-       {
-               LogicCoreAdapter.addComponentAdapter(new SimpleGateAdapter<>(ModelOrGate.class, CoreOrGate::new));
-               IndirectModelComponentCreator.setComponentSupplier(ModelOrGate.class.getCanonicalName(),
-                               (m, p, n) -> new ModelOrGate(m, p.getAsInt(), n));
-       }
-}
\ No newline at end of file