Renamed core components to have the common prefix Core
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / model / components / atomic / GUIOrGate.java
index 65031a6..6a6ba0f 100644 (file)
@@ -1,6 +1,6 @@
 package net.mograsim.logic.model.model.components.atomic;
 
-import net.mograsim.logic.core.components.gates.OrGate;
+import net.mograsim.logic.core.components.gates.CoreOrGate;
 import net.mograsim.logic.model.model.ViewModelModifiable;
 import net.mograsim.logic.model.modeladapter.ViewLogicModelAdapter;
 import net.mograsim.logic.model.modeladapter.componentadapters.SimpleGateAdapter;
@@ -15,13 +15,13 @@ public class GUIOrGate extends SimpleRectangularGUIGate
 
        public GUIOrGate(ViewModelModifiable model, int logicWidth, String name)
        {
-               super(model, "\u22651", false, logicWidth, name);// ">=1"
+               super(model, "GUIOrGate", "\u22651", false, logicWidth, name);// ">=1"
                setInputCount(2);
        }
 
        static
        {
-               ViewLogicModelAdapter.addComponentAdapter(new SimpleGateAdapter<>(GUIOrGate.class, OrGate::new));
+               ViewLogicModelAdapter.addComponentAdapter(new SimpleGateAdapter<>(GUIOrGate.class, CoreOrGate::new));
                IndirectGUIComponentCreator.setComponentSupplier(GUIOrGate.class.getCanonicalName(),
                                (m, p, n) -> new GUIOrGate(m, p.getAsInt(), n));
        }