The final restructured version for automatic build using maven tycho
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / model / components / atomic / ModelNotGate.java
diff --git a/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelNotGate.java b/net.mograsim.logic.model/src/net/mograsim/logic/model/model/components/atomic/ModelNotGate.java
deleted file mode 100644 (file)
index 8f3849f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-package net.mograsim.logic.model.model.components.atomic;
-
-import net.mograsim.logic.core.components.gates.CoreNotGate;
-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 ModelNotGate extends SimpleRectangularModelGate
-{
-       public ModelNotGate(LogicModelModifiable model, int logicWidth)
-       {
-               this(model, logicWidth, null);
-       }
-
-       public ModelNotGate(LogicModelModifiable model, int logicWidth, String name)
-       {
-               super(model, "NotGate", "1", true, logicWidth, name, false);
-               setInputCount(1);
-               init();
-       }
-
-       static
-       {
-               LogicCoreAdapter.addComponentAdapter(new SimpleGateAdapter<>(ModelNotGate.class, (t, p, o, i) -> new CoreNotGate(t, p, i[0], o)));
-               IndirectModelComponentCreator.setComponentSupplier(ModelNotGate.class.getCanonicalName(),
-                               (m, p, n) -> new ModelNotGate(m, p.getAsInt(), n));
-       }
-}
\ No newline at end of file